Jump to:

130 Posts in 947 Topics by 55 members

Showcase Questions

SilverStripe Forums » Showcase Questions » Fatal Error Question?

Feedback and questions about sites in the Community Showcase.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1835 Views
  • Denny
    Avatar
    Community Member
    55 Posts

    Fatal Error Question? Link to this post

    I been trying to access the file that is responsible for causing my image upload section to say "Fatal error in memory on line 23 of a gd.php file". I tried accessing it through ht.access, and through maybe a php.ini file, but I am having no luck. I was wondering, inside the GD.php file there is this information on line 22. "Getting image size", and there isn't any memory limit listed in the file. I don't think it's hidden, but maybe there could be a different type of code used to represent the memory limit. Anyway, I need help, and I'm not a web developer. Maybe someone can give me specific instructions on how to clear this problem?

  • Willr
    Avatar
    Forum Moderator
    5508 Posts

    Re: Fatal Error Question? Link to this post

    Do you have any more information about the error (a backtrace etc) If its an Out of Memory error then the line number is no real help. You will need to up with PHP memory limit. I recommend 64mb at least, 128mb if you can.

  • Denny
    Avatar
    Community Member
    55 Posts

    Re: Fatal Error Question? Link to this post

    Hi, I want to thank you for helping me, because I am not really familiar with Silverstripe yet. Anyway, I managed to copy and paste what type of error keep popping up, and it is: (Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 16800 bytes) in /data/10/0/76/36/728362/user/743257/htdocs/bhorror/sapphire/filesystem/GD.php on line 22). Anyway, I don't think the file is hidden, but I think it may be named differently?

  • Denny
    Avatar
    Community Member
    55 Posts

    Re: Fatal Error Question? Link to this post

    I have figured out where the php file is to change the memory size. Thank you for your help.

  • vancouverWill
    Avatar
    Community Member
    121 Posts

    Re: Fatal Error Question? Link to this post

    Hey Denny

    What did you find the answer to this was?

    Thanks

    1835 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.