|
|
Re: Upgrade from 2.3.8 to 2.5.0 fails [message #11317 is a reply to message #11316] |
Thu, 26 June 2003 14:29 |
ftanner
Messages: 35 Registered: May 2003 Location: Phoenix, AZ
Karma: 0
|
Member |
|
|
prottoss wrote on Thu, 26 June 2003 10:15 | Yup It's called memory_limit php ini setting, you need to raise it.
|
I adjusted my memory limit to 128M and the script STILL fails. It shouldn't need even THAT much to do the upgrade from 2.5.0RC6. What gives?
Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to allocate 1538991 bytes) in /www/html/neutron.intranet.net/FUDforum2/upgrade.php on line 442
AFTER the upsizing of memort_limit in php.ini thusly...
;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;
max_execution_time = 30 ; Maximum execution time of each script, in seconds
memory_limit = 128M ; Maximum amount of memory a script may consume (8MB)
Oh yeah....And I did an apachectl restart after the changes just to be safe.
[Updated on: Thu, 26 June 2003 14:35] Report message to a moderator
|
|
|
Re: Upgrade from 2.3.8 to 2.5.0 fails [message #11318 is a reply to message #11317] |
Thu, 26 June 2003 14:36 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Did you restart Apache after raising the limit?
The script clearly fails when it says that it cannot increase php's memory footprint to just under 21 megs, so the 128 meg limit is clearly not being used.
FUDforum Core Developer
|
|
|
Re: Upgrade from 2.3.8 to 2.5.0 fails [message #11319 is a reply to message #11318] |
Thu, 26 June 2003 14:41 |
ftanner
Messages: 35 Registered: May 2003 Location: Phoenix, AZ
Karma: 0
|
Member |
|
|
prottoss wrote on Thu, 26 June 2003 10:36 | Did you restart Apache after raising the limit?
The script clearly fails when it says that it cannot increase php's memory footprint to just under 21 megs, so the 128 meg limit is clearly not being used.
|
Yes, thus the line at the end that says I ran an apachectl restart. apachectl is Apache's own stop/start/restart script.
[Updated on: Thu, 26 June 2003 14:41] Report message to a moderator
|
|
|
Re: Upgrade from 2.3.8 to 2.5.0 fails [message #11320 is a reply to message #11319] |
Thu, 26 June 2003 14:43 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Perphaps you have another place that sets this limit, vhost for example.
Try doing:
<?php var_dump(ini_get("memory_limit")); ?>
to see what the actual memory limit is.
FUDforum Core Developer
|
|
|
|
|
Re: Upgrade from 2.3.8 to 2.5.0 fails [message #11326 is a reply to message #11325] |
Thu, 26 June 2003 15:54 |
ftanner
Messages: 35 Registered: May 2003 Location: Phoenix, AZ
Karma: 0
|
Member |
|
|
prottoss wrote on Thu, 26 June 2003 11:41 | That would imply that there no memory limit, have you tried to disable it all together?
|
Disable which? the memory limit? No. I will remark out that line and see what happens.Same error with it remarked out in php.ini. After a stop and restart of Apache.
[Updated on: Thu, 26 June 2003 15:58] Report message to a moderator
|
|
|
|
Re: Upgrade from 2.3.8 to 2.5.0 fails [message #11344 is a reply to message #11337] |
Thu, 26 June 2003 17:26 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Are you certain you are editing the correct php.ini? Look at your phpinfo() to see which ini file is actually being read.
FUDforum Core Developer
|
|
|
|
Re: Upgrade from 2.3.8 to 2.5.0 fails [message #11356 is a reply to message #11355] |
Thu, 26 June 2003 18:01 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Ok, I found the cause for the problem. The upgrade/install had a line (near the top) which said:
ini_get('memory_limit', '20M');
either remove it and change it to a higher value. That should fix the problem.
FUDforum Core Developer
|
|
|
|
|
|
|
|
|
|
Re: Upgrade from 2.3.8 to 2.5.0 fails [message #11406 is a reply to message #11315] |
Fri, 27 June 2003 09:40 |
Denmike
Messages: 1 Registered: June 2003
Karma: 0
|
Junior Member |
|
|
When upgrading from 2.3.8
Parse error: parse error in /mnt/win/ftp/forum/upgrade.php(893) : eval()'d code on line 1
Failed to parse GLOBALS.php at "/mnt/win/ftp/forum/GLOBALS.php" correctly
Apache 2.0.46 PHP 4.3.2 RedHat Linux 9.0
Forum is work properly from version 2.3.0, 2.3.1 ..... 2.3.8
MD5SUM is OK
[Updated on: Fri, 27 June 2003 11:18] Report message to a moderator
|
|
|
Re: Upgrade from 2.3.8 to 2.5.0 fails [message #11423 is a reply to message #11406] |
Fri, 27 June 2003 23:24 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Denmike wrote on Fri, 27 June 2003 05:40 | When upgrading from 2.3.8
Parse error: parse error in /mnt/win/ftp/forum/upgrade.php(893) : eval()'d code on line 1
Failed to parse GLOBALS.php at "/mnt/win/ftp/forum/GLOBALS.php" correctly
Apache 2.0.46 PHP 4.3.2 RedHat Linux 9.0
Forum is work properly from version 2.3.0, 2.3.1 ..... 2.3.8
MD5SUM is OK
|
Make sure your GLOBALS.php is valid, it is and you still experience the problem e-mail me the GLOBALS.php file.
FUDforum Core Developer
|
|
|
|