Jump to:

4937 Posts in 16241 Topics by 1489 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » /dev/build not running

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

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

Page: 1
Go to End
Author Topic: 2788 Views
  • skwok
    Community Member
    2 Posts

    /dev/build not running Link to this post

    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. (http://test.mackieconsult.com/dev/build")

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

    Test website is at: http://test.mackieconsult.com
    IIS 6.0 Web Server Homedirectory is set to c:/inetpub/wwwroot/mackieconsult.com/silverstripe
    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
    // http://doc.silverstripe.com/doku.php?id=devmode
    // for a description of what dev mode does.



    // This line set's the current theme. More themes can be
    // downloaded from http://www.silverstripe.org/themes/

    // 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]

  • swaiba
    Forum Moderator
    1788 Posts

    Re: /dev/build not running Link to this post

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

  • skwok
    Community Member
    2 Posts

    Re: /dev/build not running Link to this post

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

  • Willr
    Forum Moderator
    5497 Posts

    Re: /dev/build not running Link to this post

    skwok - perhaps you don't have any rewriting enabled? (mod_rewrite for apache) perhaps try http://test.mackieconsult.com/index.php/dev/build

  • k0diak
    Community Member
    2 Posts

    Re: /dev/build not running Link to this post

    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 domain-name.com/dev/build 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!

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.