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


Reply


3 Posts   908 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, 5513 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!