TinyMCE together with CKK - memory issues when memory_limit = 8MB in php.ini

Last modified: February 19, 2008 - 05:18

If you use the TinyMCE module together with CKK module and have memory_limit = 8MB set in php.ini you might get an error like the one below. This will happen if you enable all CKK modules and at the same time have TinyMCE module enabled. You might not see this error on the screen so look in your error_log for apache if you see a blank screen after you have enabled those modules. Test by clicking on the "Admin" node in the administration to see if this problem occurs.

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 14592 bytes) in /var/www/html/intranet/themes/garland/page.tpl.php on line 34

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 4261 bytes) in /var/www/html/intranet/includes/database.inc on line 192

Solution: Increase memory_limit = 16MB; in your php.ini file. It is actually recommended in the Drupal System Requirements to have a memory_limit set to 16 - 24MB.

 
 

Drupal is a registered trademark of Dries Buytaert.