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 accessing Files & Images in CMS


Go to End


3 Posts   1623 Views

Avatar
Oyster

Community Member, 17 Posts

2 December 2010 at 1:09am

Got this message when trying to access the Files & Images-folder in the CMS: "Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 110411 bytes) in /home/2/k/kulturognaringsl/www/sapphire/core/Requirements.php on line 634"

What is this, and how do I fix?

Best regards
Oyster

Avatar
Willr

Forum Moderator, 5523 Posts

2 December 2010 at 3:40pm

This is simply telling you trying to load that page has exceeded the memory your PHP installation has access too. The easiest fix for this is to up your PHP memory limit. Depending on your host this can be done a number of ways, usually involves editing your php.ini file.

Avatar
Oyster

Community Member, 17 Posts

2 December 2010 at 10:06pm

Hi Willr. I did it by putting this code into mysite/config.php:

ini_set('memory_limit', '128M');

Thanks very much!