Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive

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

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

Installation error - Dreamhost


Reply

3 Posts   2249 Views

Avatar
moca

11 January 2008 at 7:09am Community Member, 4 Posts

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.

Avatar
moca

11 January 2008 at 11:42am Community Member, 4 Posts

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 =

Avatar
Wojtek

11 January 2008 at 11:50am Community Member, 149 Posts

What is your php_memory_limit?

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