installation and upgrade script fail [message #6054] |
Tue, 01 October 2002 16:50  |
Olliver
 Messages: 443 Registered: March 2002
Karma: 0
|
Senior Member |
|
|
Hello,
I don't know whether it's an issue with FUD itself but I'm posting it here anyway. When I tried to upgrade my existing FUD 2.3.1 RC3 installation I encountered the following error:
Quote: | "Couldn't locate start of archive"
|
Obviously this happens while attempting to extract the files. Since this was a local test installation I deleted it and tried to run the setup from the scratch, but then I got the same error.
My configuration is as follows:
Apache 2.0.40 (including patches to fix problems with modules)
PHP 4.23 which I compiled with the following:
Quote: | './configure' 'i386-redhat-linux' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--prefix=/usr' '--with-config-file-path=/etc' '--enable-force-cgi-redirect' '--disable-debug' '--enable-pic' '--disable-rpath' '--enable-inline-optimization' '--with-bz2' '--with-db3' '--with-curl' '--with-dom=/usr' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-gd' '--enable-gd-native-ttf' '--with-ttf' '--with-gdbm' '--with-gettext' '--with-ncurses' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-png' '--with-pspell' '--with-regex=system' '--with-xml' '--with-expat-dir=/usr' '--with-zlib' '--with-layout=GNU' '--enable-bcmath' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-safe-mode' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-discard-path' '--enable-track-vars' '--enable-trans-sid' '--enable-wddx' '--without-oci8' '--with-pear=/usr/share/pear' '--with-mysql=shared,/usr' '--enable-memory-limit' '--enable-bcmath' '--enable-shmop' '--enable-versioning' '--enable-calendar' '--enable-dbx' '--enable-dio' '--enable-mcal' '--with-apxs2=/usr/sbin/apxs
|
It is running as Apache module and its relevant settings are:
Quote: | Safe Mode: OFF
Display Errors: ON
File Uploads: ON
Magic Quotes: ON
Register Globals: ON
Output Buffering: ON
Disabled Functions: none
|
MySQL: 3.23.52
Any hints would be greatly appreciated since it seems to be a riddle to me.
Bye
Ken
[Updated on: Tue, 01 October 2002 16:54] Report message to a moderator
|
|
|
|
|
Re: installation and upgrade script fail [message #6064 is a reply to message #6062] |
Tue, 01 October 2002 17:12   |
Olliver
 Messages: 443 Registered: March 2002
Karma: 0
|
Senior Member |
|
|
Oh btw: Since I ve just read it:
Quote: | The installation/upgrade scripts no longer depend on zlib module. Both zlib & non-zlib archives are supported. By default the non-zlib archive is distributed
|
Could this be the reason??? From time to time I encounter zip archives which I can't open on linux, mostly made on Windoze systems. Maybe my problem depends on whether the zlib is being used or not...
Bye
Ken
[Updated on: Tue, 01 October 2002 17:13] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: installation and upgrade script fail [message #6152 is a reply to message #6120] |
Fri, 04 October 2002 02:38   |
Olliver
 Messages: 443 Registered: March 2002
Karma: 0
|
Senior Member |
|
|
Hello,
after endless hours of compiling and testing I was able to track down the error of my local system. In order to make the script fail with that message u have to apply the following in ur php.ini:
magic_quotes_runtime=On
After restarting httpd it takes immediately effect. Reproducable with the apxs module on both 1.3.26 and 2.0.40. Just thought to let u know about it 
bye
Ken
[Updated on: Fri, 04 October 2002 02:39] Report message to a moderator
|
|
|
|
|
|
|
Re: installation and upgrade script fail [message #6244 is a reply to message #6215] |
Sun, 06 October 2002 22:24  |
Ilia
 Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
I believe I may see a reason why. magic_quote_runtime, which is off by default causes data that is read from databases,files,etc... be passed through addslashes() function. The affect this has on the upgrade script is that it corrupts the archive, resulting in the problem you are seeing.
I'll add some detection code to handle this parameter in the futute upgrade/install scripts.
FUDforum Core Developer
|
|
|