Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Fatal error while installing SilverStripe

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

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

Page: 1 2
Go to End
Author Topic: 15343 Views
  • Andi80
    Avatar
    Community Member
    3 Posts

    Fatal error while installing SilverStripe Link to this post

    The following problem appears if I try to install silverstripe on my webserver (external hosted):

    - DB check says: "These database details look all good!"
    - The other requirmenets are shown green (good) as well

    But after some seconds the following message appears:

    -----
    Installing SilverStripe...

    I am now running through the installation steps (this should take about 30 seconds)

    If you receive a fatal error, refresh this page to continue the installation
    # Creating 'mysite/_config.php'...
    # Creating '.htaccess' file...
    # Building database schema...

    Fatal error: Allowed memory size of 50331648 bytes exhausted (tried to allocate 19 bytes) in /home/mydomain/public_html/silverstripe/sapphire/core/Object.php on line 251

    -----

    If I try do refresh the page as the program says to me, the following message appears:
    -----
    Installing SilverStripe...

    I am now running through the installation steps (this should take about 30 seconds)

    If you receive a fatal error, refresh this page to continue the installation
    # Creating 'mysite/_config.php'...
    # Creating '.htaccess' file...
    # Building database schema...

    Fatal error: Allowed memory size of 50331648 bytes exhausted (tried to allocate 43790 bytes) in /home/mydomain/public_html/silverstripe/sapphire/profiler/Profiler.php on line 81

    -----

    If I try to refresh once more, the message doesn't change anymore. Keeps saying this.

    I've never had problems installing other CMS system on this server; so what could the problem be like?

    Thanks for help!

  • dio5
    Avatar
    Community Member
    501 Posts

    Re: Fatal error while installing SilverStripe Link to this post

    You're memory limit is not high enough.

    Put this in your .htaccess file:

    php_value memory_limit 64M

  • Andi80
    Avatar
    Community Member
    3 Posts

    Re: Fatal error while installing SilverStripe Link to this post

    Thanks, but 64M doesn't seems do be enough.

    It installed it but after the installation I recevied the following error:

    -----
    Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 7864320 bytes) in /var/tmp/silverstripe-cache-home-mydomain-public_html-silverstripe/cache.php on line 4
    -----

    Maybe it works better with 128M ;)

  • dio5
    Avatar
    Community Member
    501 Posts

    Re: Fatal error while installing SilverStripe Link to this post

    That would be quite a lot... Should tell the developers to keep it down before it grows outta hand.

  • Andi80
    Avatar
    Community Member
    3 Posts

    Re: Fatal error while installing SilverStripe Link to this post

    Jah, 128M would be a lot, but it really seems at it already could need 78M or more as you can see in my error log.

  • Wojtek
    Avatar
    Community Member
    149 Posts

    Re: Fatal error while installing SilverStripe Link to this post

    Jeeeezus! That's a lot! There must be something wrong with your configuration / database / or the silverstripe itself...

  • marcus.buchwald
    Avatar
    Community Member
    2 Posts

    Re: Fatal error while installing SilverStripe Link to this post

    Hi!

    I have exactly the same problem:

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 35 bytes) in C:\xampp\xampp\htdocs\silverstripe\sapphire\misc\Browscap.php on line 339

    and also no idea what to do. The interesting thing is that the excess is only 35 - 40 bytes. I´using WIN 2003, Apache 2 with PHP 5 / mySQL 5. It is not a browser issue; I tried it in FF and IE.

    The install.php sets up the database correctly with all tables but does not enter any table content.

    MOST interesting thing is that it seems to work anyway! I just entered http://localhost/silverstripe and got the login screen. Login works, I´m in.

    I´ll keep you updated!

  • kiwifellows
    Avatar
    Community Member
    10 Posts

    Re: Fatal error while installing SilverStripe Link to this post

    Hi,

    I also had this problem when installing on http://www.fullgospel.org.nz/, but anyway after installation and above memory error occured I just typed in the home page url and haven't had any problems since.

    Increased Memory size in PHP.ini on the server, but this won't do anything even after restarting apache.

    cheers,

    Ben
    http://www.fullgospel.org.nz/

    15343 Views
Page: 1 2
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.