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

IIS Install woes

Go to End

2 Posts   2219 Views

Yellow7 Jon

Community Member, 39 Posts

8 August 2009 at 4:33am

Edited: 08/08/2009 7:55am

I've followed the install instructions, It not on a local server so I don't have too much control over it.

I get to the install part, and get this error while its trying to install.

heres the page output if that helps...

# Creating 'mysite/_config.php'...
# Creating D:\Domains\mhsrv.test\wwwroot\mysite/_config.php
# Creating '.htaccess' file...
# Creating D:\Domains\mhsrv.test\wwwroot\.htaccess
# Building database schema...

[User Error] DB::connect: Not passed a valid database config POST /install.php
Line 71 in D:\Domains\mhsrv.test\wwwroot\sapphire\core\model\DB.php


* DB::connect: Not passed a valid database config Line 71 of DB.php
* DB::connect(Array) Line 786 of install.php
* Installer->install(Array) Line 123 of install.php

After some research, I found this article which got me all sorted ( goto the bootnote at the bottom )

contacted the host and got the privileges


Community Member, 89 Posts

17 August 2009 at 12:10am

Create manually a _config.php file and upload with ftp to mysite folder with all data in it, database connect .


global $project;
$project = 'mysite';

global $databaseConfig;
$databaseConfig = array(
"type" => "MySQLDatabase",
"server" => "localhost",
"username" => "username",
"password" => "password",
"database" => "DatabaseName",

// Sites running on the following servers will be
// run in development mode. See
// for a description of what dev mode does.
// Enable Translations
setlocale (LC_ALL, 'de_DE');

// This line set's the current theme. More themes can be
// downloaded from


And you have see these?