Hi, my site has been suffering from (what I know) is refered to as the white screen of death.
I think that I have traced this to the Image module... when it is turned off, the site works... turn it back on and WSoD occurs every other page load.
I have updated the module to the recommended release but the WSoD still occurs when I turn it on.
Does anyone know of a solution to this? Could it be because my Drupal install is out of date?
My server guys have dug up these error messages if they mean anything to anyone (and how they might be linked to the Image module)?
[Thu Nov 25 11:38:07 2010] [error] [client 174.129.173.230] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 16064 bytes) in /var/www/vhosts/cosmonline.co.uk/httpdocs/includes/image.gd.inc on line 190
[Thu Nov 25 11:50:11 2010] [error] [client 174.129.173.230] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 16064 bytes) in /var/www/vhosts/cosmonline.co.uk/httpdocs/includes/image.gd.inc on line 190
[Thu Nov 25 12:04:05 2010] [error] [client 129.177.138.111] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 16064 bytes) in /var/www/vhosts/cosmonline.co.uk/httpdocs/includes/image.gd.inc on line 190
Any help is gratefully recieved!!
Thanks
The answer is there in the
The answer is there in the error message: "Allowed memory size of 33554432 bytes exhausted"
Your PHP install allows 32MB which is enough for many sites but once you start manipulating images on the fly during page requests you may need much more. 64MB or 96MB would probably be recommended in your case. Speak to your web host about upping this limit - it is often possible via .htaccess or a custom php.ini file.
4 ways
You have four ways to incrase the memory size
memory_limit = 32Mto your server's main php.ini file (recommended, if you have access)memory_limit = 32Mto a php.ini file in the Drupal rootini_set('memory_limit', '32M');in your sites/default/settings.php filephp_value memory_limit 32Min your .htaccess file in the Drupal rootvia: http://drupal.org/node/76156
Thanks guys
I'll give that a crack... thanks for your help