webtvitaly
Member
Posted 8 months ago #
Receiving this error
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 7680 bytes) in /home6/webtvita/public_html/wp-includes/kses.php(1006) : runtime-created function on line 1
on every backend dashboard page. Have been searching and unable to find any solutions... any solutions, tips or fixes would be most appreciated!
TapeBoy929
Member
Posted 8 months ago #
The error normally occurs when PHP tries to process a big database records or when importing or exporting. To change the memory allocation limit permanently for all PHP scripts running on the server, modify the PHP.INI configuration file of the server (location depending on your OS and installation method). Search for memory_limit after opening the file in an editor. If the memory_limit doesn’t exist, add the following line. If it’s there, modify the value of the memory_limit:
memory_limit = 12M
...or whatever your site requires. Good luck.
[signature moderated Please read the Forum Rules]
Asif2BD
Member
Posted 4 months ago #
I does not work after i even changed the php.inf, i placed that file correctly as now i have higher database size limit. But Still i cant even import 700KB DB. Using WP 2.8.1
Regards
Asif2Bd
http://Asif2BD.info
Check out this thread (specifically the post by 'parse'). That fixed this problem for me. The problem reappeared after upgrading to Wordpress 2.8.2 and I had to go back and change the value to 64 again (the file appears to have been overwritten during the update).
http://forums.shopplugin.net/topic/activating-shopp-plugin-disables-most-items-on-dashboardt
Good luck.
usedwigs
Member
Posted 2 weeks ago #
before you attempt the php.inf fix, just try this, worked for me:
For fixing the "Allowed memory size"-problem, go to your wp-settings.php and change to the following at the WP_MEMORY_LIMIT directive (You probably have 32 there):
define('WP_MEMORY_LIMIT', '64M');