Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Installation error - Dreamhost

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: 2242 Views
  • moca
    Avatar
    Community Member
    4 Posts

    Installation error - Dreamhost Link to this post

    Hi,

    I recently successfully installed SilverStripe on a site hosted on Lunarpages....but I ran into a problem installing on a DreamHost site. Hopefully somebody can help me, I found other references to this error, but not quite the same problem. I've tried this on two different Dreamhost sites with the same result.

    After clicking "Install", I get this:

    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...
    ERROR:
    Error

    The website server has not been able to respond to your request.

  • moca
    Avatar
    Community Member
    4 Posts

    Re: Installation error - Dreamhost Link to this post

    Ok, I learned from these forums how to turn on the debug output, so here is some additional info that displays. The database passed the pre-install check, so not sure what needs to happen to get a valid db config.

    Thanks!

    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 'tutorial/_config.php'...
    # Creating '.htaccess' file...
    # Building database schema...

    Notice: Undefined offset: 1 in xxxxxxxxxx/sapphire/old main.php on line 51

    Notice: Undefined variable: databaseConfig in xxxxxxxxxx/sapphire/old main.php on line 90

    FATAL ERROR: DB::connect: Not passed a valid database config
    At line 51 in xxxxxxxxxx/sapphire/core/model/DB.php

    user_error(DB::connect: Not passed a valid database config,256)
    line 51 of DB.php

    DB::connect()
    line 90 of old main.php

    include_once(xxxxxxxxxx/sapphire/old main.php)
    line 308 of ManifestBuilder.php

    ManifestBuilder::allClasses(Array)
    line 178 of ManifestBuilder.php

    ManifestBuilder::compileManifest()
    line 656 of install.php

    Installer->install(Array)
    line 70 of install.php
    Context
    Debug (Debug::showError() in line 149 of Debug.php)

    * databaseConfig =

  • Wojtek
    Avatar
    Community Member
    149 Posts

    Re: Installation error - Dreamhost Link to this post

    What is your php_memory_limit?

    The new silverstripe release needs more than 32 mb so that may be the cause of your problem...

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