Jump to:

23491 Posts in 18996 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » File manager memory error

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

Page: 1
Go to End
Author Topic: 362 Views
  • codemonkey88
    Avatar
    Community Member
    13 Posts

    File manager memory error Link to this post

    The file manager isn't loading and shows the following error;

    <code>
    Fatal error: Out of memory (allocated 56098816) (tried to allocate 17152 bytes) in /framework/filesystem/GD.php on line 32
    </code>

    I've had a look on the forums, and the closest I could find was someone saying they had trouble saving pages. They managed to fix it by setting a memory rule in htaccess, but I get a 500 error when I try this.

    Is there anything I can do, or is it one for the hosting guys?

  • swaiba
    Avatar
    Forum Moderator
    1792 Posts

    Re: File manager memory error Link to this post

    Hi,

    [i/framework/filesystem/GD.php on line 32

    GD is the graphics library and it is more than likely that it is a problem with the image itself. I've had this when there are either really really large images being turned into thumbnails, or when the uploaded image is corrupt itself.

  • codemonkey88
    Avatar
    Community Member
    13 Posts

    Re: File manager memory error Link to this post

    Great, thanks.

    Is there any way you can set file validation for the file manager without making your own extention? The documentation seems a bit vauge on this front.

    362 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.