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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

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


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