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

/dev/build not running

Go to End

5 Posts   3735 Views


Community Member, 2 Posts

11 February 2011 at 5:25am

Edited: 12/02/2011 4:22am

Hi! I have been asked to setup Silverstripe on our Windows 2003 Server to host a website that a developer created under the Linux version of Silverstripe and apparently a slightly older one. They did a tar backup of the file and basically dumped it in my lap. Naturally, because of the OS and version differences, I"m having some trouble integrating the two.

The Windows Silverstripe installer installed Silverstripe 2.4.5 successfully. I did an import of the existing MySQL database, did some php.ini and _config.php tweaking, found a missing priority field in sitetree and sitetree live which lead me to the point where it is asking me to do a /dev/build, but no matter what I try I just cant seem to get this command to run. (")

Any help would be appreciated, I've exhausted any ideas I've had to get this to work properly.

Test website is at:
IIS 6.0 Web Server Homedirectory is set to c:/inetpub/wwwroot/
PHP is latest version



global $project;
$project = 'mysite';

global $database;
$database = 'wwwmack_mackie';

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

// setup so I can fix build of database

// Sites running on the following servers will be
// run in development mode. See
// for a description of what dev mode does.



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

// enable nested URLs for this site (e.g. page/sub-page/)

.htaccess file:

<Files *.ss>
Order deny,allow
Deny from all
Allow from

<Files web.config>
Order deny,allow
Deny from all

ErrorDocument 404 /assets/error-404.html
ErrorDocument 500 /assets/error-500.html

<IfModule mod_alias.c>
RedirectMatch 403 /silverstripe-cache(/|$)

<IfModule mod_rewrite.c>
RewriteEngine On

RewriteCond %{REQUEST_URI} ^(.*)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .* sapphire/main.php?url=%1&%{QUERY_STRING} [L]


Forum Moderator, 1849 Posts

12 February 2011 at 12:07am

ok, maybe if you explain what exactly happens when you type in www.yoursite/dev/build it might help give you some suggestions...


Community Member, 2 Posts

12 February 2011 at 4:21am

Duh. Sorry. I'm getting a Page not Found 404 error.


Forum Moderator, 5521 Posts

12 February 2011 at 2:55pm

skwok - perhaps you don't have any rewriting enabled? (mod_rewrite for apache) perhaps try


Community Member, 2 Posts

16 July 2011 at 8:21pm

Hello everyone.

I am a S_S newbie; and like many of you, in attempting to 'run' my .../dev/build command on my domain; I too would end up with 404 errors.

What the instructions forget to mention (or at least in my circumstances) is that it is to activate the dev build commands, it is not the URL the instructions promote of when working with S_S.

The URL I used and found it to work for me ( just added the blog module) is;


Now when I use that VERSION of what intended as /dev/build - I get results.

Give it a try - if adding in the /index.php/ in front of the /dev/build works at your domain - please post after this so others know it works at more than one domain/server.

Thanks - Enjoy S_S everyone!