PDA

View Full Version : serious error after upgrading to new php and mysql


legar
Fri 8th Feb '08, 3:13am
Hi guys,

im getting this error after making a post or reply, the post and reply are being posted though;

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 4864 bytes) in /var/www/vhosts/bunnybunch.nl/httpdocs/community/includes/class_dm_moderator.php on line 140

eva2000
Fri 8th Feb '08, 8:52am
1. edit php.ini and raise memory_limit from 8M to say 16M or 32M and restart apache after making php.ini changes.. if that doesn't help try

2. try disabling all plugins and any xcache/APC/eccelerator caching and see if it helps then slowly one by one enable each plugin and caching app and testing to see if there are any reoccurences of the problem

jason|xoxide
Mon 11th Feb '08, 3:07pm
Did you just upgrade to PHP 5.2.x? If so, your best bet is to scrap your old php.ini file and go with the new one. There were quite a few changes, including a new take on memory accounting which caused the default to raise from 8M to 16M.