FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Installation Issues » Errors when I try to install 2.50rc5 upgrade
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Errors when I try to install 2.50rc5 upgrade [message #10993] Mon, 16 June 2003 04:23 Go to next message
Oliver is currently offline  Oliver   United States
Messages: 8
Registered: June 2003
Location: Friday Harbor WA
Karma: 0
Junior Member
I have 2.3.8 running just fine on my local test machine (OSX/Apache) and when I try to install the upgrade by running 'upgrade.php' I get the following error:

Notice: Undefined offset: 1 in /Library/WebServer/Documents/upgrade.php on line 881

Warning: strpos() [function.strpos]: Offset not contained in string. in /Library/WebServer/Documents/upgrade.php on line 886

Parse error: parse error, unexpected '*' in /Library/WebServer/Documents/upgrade.php(887) : eval()'d code on line 1
Failed to parse GLOBALS.php at "" correctly


As far as installing on my production machine (hosted server) it won't run because it says it doesn't have permissions to write to the /forum/ folder. Permissions on this folder are Apache/Apache and 777.

Any ideas?
Re: Errors when I try to install 2.50rc5 upgrade [message #10995 is a reply to message #10993] Mon, 16 June 2003 11:39 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
The upgrade script you are using is corrupt.

FUDforum Core Developer
Re: Errors when I try to install 2.50rc5 upgrade [message #11037 is a reply to message #10993] Tue, 17 June 2003 04:55 Go to previous messageGo to next message
Oliver is currently offline  Oliver   United States
Messages: 8
Registered: June 2003
Location: Friday Harbor WA
Karma: 0
Junior Member
Ok, I've now fixed an error on line 975 which changes the ',' to a ':'. The install script runs until it gets to line 443 with the following error:

Loading Archive /home/httpd/vhosts/iSawYou.com/httpdocs/upgrade.php to memory
Archive /home/httpd/vhosts/iSawYou.com/httpdocs/upgrade.php loaded
Disable the forum
Forum is now disabled
Check if SQL permissions to perform the upgrade are avaliable
Beginning the file upgrade process
Begining to decompress the archive

Warning: gzuncompress(): data error in /home/httpd/vhosts/iSawYou.com/httpdocs/upgrade.php on line 443
Failed decompressing the archive

Any ideas? I really would like to upgrade but it doesn't seem to want to go.

Thanks
Re: Errors when I try to install 2.50rc5 upgrade [message #11041 is a reply to message #11037] Tue, 17 June 2003 12:48 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
The reason you get the error is because your archive is corrupt. Somewhere along the line something converted unix line endings to windows ones (most common cause) and that what causes the problem.

The change on line 957 seems weird since the upgrade.php passes through php -l with flying colors here.


FUDforum Core Developer
Re: Errors when I try to install 2.50rc5 upgrade [message #11246 is a reply to message #10993] Tue, 24 June 2003 18:20 Go to previous messageGo to next message
Oliver is currently offline  Oliver   United States
Messages: 8
Registered: June 2003
Location: Friday Harbor WA
Karma: 0
Junior Member
I don't dispute that the code checks out on your end but somehow between the download of the archive, decompressing, uploading and installing, things get screwed up.

I'm using Mac OS X 10.2, Transit (ftp program), Adobe Golive and the server is a FreeBSD based server from a commercial hosting company.

I would appreciate any more ideas to help troubleshoot my problems. I'm still not able to upgrade at all without the described errors. I've tried many different combinations of programs, transfers (binary vs. text), platforms and decompression utilities, still nothing seems to work.

Re: Errors when I try to install 2.50rc5 upgrade [message #11247 is a reply to message #11246] Tue, 24 June 2003 18:43 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
The 1st thing to do would be confirm the md5 checksum of the downloaded archive. Once that is done, decompress and check it's md5 you can send me that md5 and I could compare it to a proper archive to see at which the archive became corrupt.

I suspect the ftp program you are using may have converted the \n line endings to \r line endings in the upgrade.php/install.php you have uploaded.

If that is the case, the solution is to upload the compressed arechive to the server and decompress it there.


FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: My category disappear
Next Topic: PostgreSQL errors when creating topic
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 24 00:45:37 GMT 2024

Total time taken to generate the page: 0.02286 seconds