FUDforum - خوراک RDF
http://fudforum.org/forum/index.php
Upgrade from 2.3.8 to 2.5.0 fails
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=11315&th=2392#msg_11315
==========================================================
Loading Archive /var/www/html/forum/upgrade.php to memory
Archive /var/www/html/forum/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
Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to allocate 1538991 bytes) in /var/www/html/forum/upgrade.php on line 442
=============================================================
Seen anything like this before??
Regards,
Dave
]]>davew2003-06-26T14:08:57-00:00Re: Upgrade from 2.3.8 to 2.5.0 fails
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=11316&th=2392#msg_11316
It's called memory_limit php ini setting, you need to raise it.]]>Ilia2003-06-26T14:15:02-00:00Re: Upgrade from 2.3.8 to 2.5.0 fails
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=11317&th=2392#msg_11317
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...
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.]]>ftanner2003-06-26T14:29:18-00:00Re: Upgrade from 2.3.8 to 2.5.0 fails
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=11318&th=2392#msg_11318
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.]]>Ilia2003-06-26T14:36:52-00:00Re: Upgrade from 2.3.8 to 2.5.0 fails
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=11319&th=2392#msg_11319
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.]]>ftanner2003-06-26T14:41:03-00:00Re: Upgrade from 2.3.8 to 2.5.0 fails
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=11320&th=2392#msg_11320
Try doing:
<?php var_dump(ini_get("memory_limit")); ?>
to see what the actual memory limit is.]]>Ilia2003-06-26T14:43:47-00:00Re: Upgrade from 2.3.8 to 2.5.0 fails
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=11323&th=2392#msg_11323
prottoss wrote on Thu, 26 June 2003 10:43
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.
I'm not vhosted. This is on my LAN intranet.
Your test php script doesn't display anything.]]>ftanner2003-06-26T14:58:44-00:00Re: Upgrade from 2.3.8 to 2.5.0 fails
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=11325&th=2392#msg_11325
Ilia2003-06-26T15:41:35-00:00Re: Upgrade from 2.3.8 to 2.5.0 fails
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=11326&th=2392#msg_11326
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.]]>ftanner2003-06-26T15:54:33-00:00Re: Upgrade from 2.3.8 to 2.5.0 fails
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=11337&th=2392#msg_11337
ftanner2003-06-26T16:47:50-00:00Re: Upgrade from 2.3.8 to 2.5.0 fails
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=11344&th=2392#msg_11344
Ilia2003-06-26T17:26:07-00:00Re: Upgrade from 2.3.8 to 2.5.0 fails
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=11355&th=2392#msg_11355
prottoss wrote on Thu, 26 June 2003 13:26
Are you certain you are editing the correct php.ini? Look at your phpinfo() to see which ini file is actually being read.
There is only one php.ini file on my system. It's /etc/php.ini.]]>ftanner2003-06-26T17:52:13-00:00Re: Upgrade from 2.3.8 to 2.5.0 fails
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=11356&th=2392#msg_11356
ini_get('memory_limit', '20M');
either remove it and change it to a higher value. That should fix the problem.]]>Ilia2003-06-26T18:01:46-00:00Re: Upgrade from 2.3.8 to 2.5.0 fails
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=11359&th=2392#msg_11359
prottoss wrote on Thu, 26 June 2003 14:01
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.
Worked like a champ. Thanks.]]>ftanner2003-06-26T18:35:44-00:00Re: Upgrade from 2.3.8 to 2.5.0 fails
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=11368&th=2392#msg_11368
I've tried lowering the limit and removing it to no avail. Is there any other way round this?
Thanks in advance.
Rob]]>jrobbio2003-06-26T19:56:34-00:00Re: Upgrade from 2.3.8 to 2.5.0 fails
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=11370&th=2392#msg_11370
Ilia2003-06-26T19:58:08-00:00Re: Upgrade from 2.3.8 to 2.5.0 fails
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=11377&th=2392#msg_11377
Rob]]>jrobbio2003-06-26T20:14:49-00:00Re: Upgrade from 2.3.8 to 2.5.0 fails
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=11382&th=2392#msg_11382
Ilia2003-06-26T20:39:42-00:00Re: Upgrade from 2.3.8 to 2.5.0 fails
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=11385&th=2392#msg_11385
Rob]]>jrobbio2003-06-26T20:44:15-00:00Re: Upgrade from 2.3.8 to 2.5.0 fails
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=11393&th=2392#msg_11393
]]>davew2003-06-27T00:45:40-00:00Re: Upgrade from 2.3.8 to 2.5.0 fails
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=11406&th=2392#msg_11406
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
]]>Denmike2003-06-27T09:40:07-00:00Re: Upgrade from 2.3.8 to 2.5.0 fails
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=11423&th=2392#msg_11423
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.]]>Ilia2003-06-27T23:24:06-00:00Re: Upgrade from 2.3.8 to 2.5.0 fails
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=11439&th=2392#msg_11439
jrobbio2003-06-29T16:22:25-00:00