2012-09-29

Author: rhellem

Subject: 4.1.5: Fatal error: Allowed memory size of..._misc.funcs.php
Posted: Sat Sep 29, 2012 14:20 (GMT -5)

When trying to add a picture to a post I open the pop-up window "Add/Link-files", then navigate to the folder where I have the picture files. B2 fails to render the whole page reporting

Code:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 7680 bytes) in /public_html/blog/inc/_core/_misc.funcs.php(616) : runtime-created function on line 1

Removing the recent uploaded picture from the folder, and it renders as intended.

Found a workaround - by editing _advanced.php, increasing the memory from 32 to 33MB

Code:

ini_set( 'memory_limit', '33M' );

the page renders perfectly.

PHP version 5.3.10

Show more