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.

Installing SilverStripe /

Getting SilverStripe up and running on your computer and on your web server.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Fatal Database Error

Go to End

3 Posts   2379 Views


Community Member, 2 Posts

12 February 2009 at 1:36pm

Edited: 12/02/2009 2:31pm

What's the deal?

(See attached image)

Here's the error:

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 C:\HostingSpaces\totailus\\wwwroot\adminedit/mysite/_config.php
# Creating '.htaccess' file...
# Creating C:\HostingSpaces\totailus\\wwwroot\adminedit/.htaccess
# Building database schema...

Warning: $project isn't set in C:\HostingSpaces\totailus\\wwwroot\adminedit\sapphire\core\ManifestBuilder.php on line 154

Fatal error: DB::connect: Not passed a valid database config in C:\HostingSpaces\totailus\\wwwroot\adminedit\sapphire\core\model\DB.php on line 53

Attached Files

Forum Moderator, 5523 Posts

13 February 2009 at 2:09pm

You are missing your _config file (which contains the $project / database config). This should have been created when you installed but heres what it should look like -


Community Member, 2 Posts

13 February 2009 at 7:00pm

Hi Will,

I didn't even install it yet - I got this error when I was trying to install it.

I can't find the _config file you're referring to.