PDA

View Full Version : Merge Users help


krimesis
10-20-2009, 05:12 PM
I want to merge two user's profiles and it gives me this error:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 7183984 bytes) in /var/www/vhosts/xxxxx.info/httpdocs/forum/includes/class_core.php on line 1930

or

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 23549786 bytes) in /var/www/vhosts/xxxxx.info/httpdocs/forum/includes/class_core.php on line 1930

:confused:

Lynne
10-20-2009, 05:16 PM
Out of memory error:
That error indicates that your php doesn't have enough memory allocated to complete the operation. You can either increase your memory_limit setting in php.ini to xxM or to temporarily up your limits edit your includes/config.php file and add this line right under the <?php line:

ini_set('memory_limit', xx * 1024 * 1024);

xx being the next step up in size... if you are currently set to 8MB, up it to 16. If you are set at 16, up it to 32, etc.

krimesis
10-20-2009, 06:47 PM
As you see I had already increased the memory now the port to 128. Thanks

Lynne
10-20-2009, 08:07 PM
Try disabling your modifications/plugins and see if you still have this problem.
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

define('DISABLE_HOOKS', true);

krimesis
10-20-2009, 09:09 PM
Reboot done and all ok :up:
(128 MB)