Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Fatal Error when going to /admin

Our old forums are still available as a read-only archive.

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

Page: 1
Go to End
Author Topic: 1262 Views
  • Bietenfm
    Avatar
    Community Member
    3 Posts

    Fatal Error when going to /admin Link to this post

    Hi,
    I'm design a website with Silverstripe as CMS. But now i've got some problems.
    When i went to /admin i get the following Fatal Error:

    Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 51896 bytes) in /storage/mijndomein/users/091374/public/sites/www.bouwbedrijflok.nl/sapphire/core/Requirements.php on line 220

    But when i go to /admin/assets everything works fine but when i click on Content i get the again the Error.
    The front-end site (http://www.bouwbedrijflok.nl/nieuwpage) works fine without problems, but with the Back-end i get the Errors.

    I hope someone can help me.

    Grtz,
    Dennis

  • Willr
    Avatar
    Forum Moderator
    5464 Posts

    Re: Fatal Error when going to /admin Link to this post

    that error is because your server does not have enough memory to process the page. Assets probably uses less memory then the main one.

    See if you can up the php memory limit on your server - its set in the php.ini file on your server

  • Bietenfm
    Avatar
    Community Member
    3 Posts

    Re: Fatal Error when going to /admin Link to this post

    Thanks for your answer.
    I use a hosting provider. And the can't change the memory for me.
    So is it possible to change max. use of the memory. So not everything will load.

    Grtz,
    Dennis

  • Willr
    Avatar
    Forum Moderator
    5464 Posts

    Re: Fatal Error when going to /admin Link to this post

    No there is no way (well that doesnt involve rewriting a heap of code) to make the system use less memory. You could try overload your hosting providers settings by setting

    ini_set("memory_limit", "64M");

    at the top of sapphire/main.php

  • Bietenfm
    Avatar
    Community Member
    3 Posts

    Re: Fatal Error when going to /admin Link to this post

    Thanks, but it didn't work.
    I think i have to change from hosting provider. Or switch to an other CMS.

    Thanks for your help.

    Grtz,
    Dennis

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