21492 Posts in 5783 Topics by 2621 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, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 543 Views |
-
_config.php file got deleted now install screen shows up

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',
));
| 543 Views | ||
|
Page:
1
|
Go to Top |

