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

Selecting Image Folder gives "Error getting files"?


Go to End


19 Posts   7557 Views

Avatar
timcole

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/beta2.missionworship.com/httpdocs/sapphire/filesystem/GD.php on line 22, referer: http://beta2.missionworship.com/admin/

(IP address removed)

Avatar
timcole

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.

Avatar
hive.net.au

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