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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

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

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

_config.php file got deleted now install screen shows up


Go to End


1386 Views

Avatar
fostahgix

Community Member, 9 Posts

27 March 2009 at 8:58am

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',
));