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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

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

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

Fatal Error on Admin Side


Go to End


2 Posts   1500 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
bummzack

Community Member, 904 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.