Errors when I try to install 2.50rc5 upgrade [message #10993] |
Mon, 16 June 2003 04:23 |
Oliver
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 #11041 is a reply to message #11037] |
Tue, 17 June 2003 12:48 |
Ilia
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 #11247 is a reply to message #11246] |
Tue, 24 June 2003 18:43 |
Ilia
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
|
|
|