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.

General Questions /

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

SS wants to re-install after I made a mistake


Reply


2 Posts   561 Views

Avatar
borriej

Community Member, 267 Posts

29 April 2010 at 8:46am

In my search to get the log-in working (http://ssbits.com/security-2/)

I tryed to change a line in the _config.php

Object::add_extension('Group', 'GroupDecorator');

became:

DataObject::add_extension('Group', 'GroupDecorator');

and after a dev/build SS wants to go the install.php (which is already deleted)

How do I restore my site/db?

Avatar
Willr

Forum Moderator, 5513 Posts

29 April 2010 at 11:40pm

SS will try and redirect to install.php if it cannot connect to a database or find your database information so make sure when your editing your _config file you haven't deleted anything in it.

It might also cache the redirect to install so make sure you do a hard browser refresh.