Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Fatal error: Allowed memory size (What happen? )

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: 8848 Views
  • lenwood
    Avatar
    Community Member
    18 Posts

    Re: Fatal error: Allowed memory size (What happen? ) Link to this post

    I did create the database. When I plug all of the appropriate info into the install page SS gives the note "These database details look all good!" in the MySQL Database section.

    When I hit http://www.site.com/db/build?flush=1 I get a 404.

    Error 404 Not Found (File does not exist: /home/htdocs/db/build)

    I'm not sure if this is related or not, but I do get a warning that SS can't tell if .htaccess, /mysite/, /tutorial/ and /assets/ are writeable. I've set the folder permissions to 777, but I don't have access to the .htaccess since this is a shared server.

    Thanks,
    Chris

  • quicked
    Avatar
    Community Member
    32 Posts

    Re: Fatal error: Allowed memory size (What happen? ) Link to this post

    if there is not a file called .htaccess on your web root then create one.

    verify you have php5 (upload a file with <?php phpinfo(); ?>)

    Try reinstall (check the box that says OK to rewrite....)

  • lenwood
    Avatar
    Community Member
    18 Posts

    Re: Fatal error: Allowed memory size (What happen? ) Link to this post

    There is an .htaccess in the root folder, with 777 permissions. That's not the one that the installer is talking about though. The installer is saying that it can't determine whether or not it has permissions for /htdocs/.htaccess.

    The server is running PHP 5.2.

    I've tried reinstall a number of times, each with the same result.

    I'm going to try installing SS on another shared account that I have to determine if this is something specific to NearlyFreeSpeech.

    Thanks very much for your help quicked.

  • lenwood
    Avatar
    Community Member
    18 Posts

    Re: Fatal error: Allowed memory size (What happen? ) Link to this post

    Well that's two strikes for me, my second attempt on another shared host (site5) halted because that server is running PHP 4.4.7. Dang.

    I just took a second look at my first install attempt (on NearlyFreeSpeech.net) and noticed that the server passes the 'memory allocation' check. Why would it pass that check and then fail with a memory size error?

    Thanks,
    Chris

  • quicked
    Avatar
    Community Member
    32 Posts

    Re: Fatal error: Allowed memory size (What happen? ) Link to this post

    htdocs is your web root

    When i got the memory error I found it had installed anyway.

    If not, other threads talk about how to increase your memory limit.

    Have you tried to install it locally?

  • lenwood
    Avatar
    Community Member
    18 Posts

    Re: Fatal error: Allowed memory size (What happen? ) Link to this post

    I've created an account over at Dreamhost. Here's hoping that once my domain name resolves I'll have SilverStripe up and running within minutes.

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