Jump to:

23360 Posts in 18124 Topics by 2862 members

General Questions

SilverStripe Forums » General Questions » _config.php file got deleted now install screen shows up

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1
Go to End
Author Topic: 650 Views
  • fostahgix
    Avatar
    Community Member
    9 Posts

    _config.php file got deleted now install screen shows up Link to this post

    Hey all,

    I completed my SS site and I was updating the tutorial/_config.php and saved, however it must of failed to save and deleted the file.

    tutorial/_config.php was deleted.

    I recreated it below, however when i visit domain its hosted on, it keeps going to the install screen now instead of my site. Nothing changed except I moved it from an IP to a domain. Am I missing something?

    global $project;
    $project = 'tutorial';

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

    // 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.
    Director::set_dev_servers(array(
       'localhost',
       '127.0.0.1',
    ));

    650 Views
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.