Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Fatal Error on Admin Side


Reply


2 Posts   894 Views

Avatar
breandano

Community Member, 7 Posts

8 May 2009 at 1:07am

Hi There,

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?

Regards

Breandan

Avatar
banal

Community Member, 901 Posts

8 May 2009 at 1:38am

Edited: 08/05/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.