22404 Posts in 6883 Topics by 2748 members
|Go to End|
8 May 2009 at 1:07am
I've just uploaded the Gallery module to the system, and from the admin side, I have recieved a :-
'Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 53022 bytes) in /var/www/vhosts/muscrai.ie/httpdocs/silverstripe-cache/.cache.var.www.vhosts.muscrai.ie.httpdocs.cms.templates.LeftAndMain.ss on line 141'
message when I try to access the backend.
Has anyone else ever gotten this message?
8 May 2009 at 1:38am Last edited: 8 May 2009 1:39am
Yes, this is a common message. It appears when SilverStripe (PHP) runs out of memory.
You should increase the memory for PHP: http://php.net/manual/en/ini.core.php#ini.memory-limit
This can be done in many ways. Either by modifying the php.ini file, or by modifying it via .htaccess
# put this in your .htaccess
php_value memory_limit 64M
Some hosting providers allow you to change this in their control-panel.
|Go to Top|