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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

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

Selecting Image Folder gives "Error getting files"?

Go to End

19 Posts   6521 Views


Community Member, 32 Posts

9 April 2010 at 12:30am

Server Error log has the following:

[Thu Apr 08 12:28:29 2010] [error] [client XXXXXXXXXX] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 17152 bytes) in /var/www/vhosts/ on line 22, referer:

(IP address removed)


Community Member, 32 Posts

9 April 2010 at 1:45am

Edited: 09/04/2010 1:47am

The solution (for me at least) was to increase the memory limit in the php.ini file.

For anyone else having the same problem look for the line "memory_limit = " I had to set this to memory_limit = 128M (I tried 32M and 64M and neither worked - it may be possible to do it somewhere between 64M and 128M).

You'll need to restart apache after making the change.


Community Member, 40 Posts

9 April 2010 at 1:52am

You beat me to it, was just going to point out the min server requirements and see if you are meeting them but you had to increase further.

Extract from system requirements.
Set the maximum memory to at least 48 mb. SilverStripe can be resource hungry for some intensive operations. Note: You can sometimes increase the maximum memory by adding a “ini_set(”memory_limit”,”48M”);” line to sapphire/main.php

Go to Top