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.

Upgrading SilverStripe

Ask questions about upgrading SilverStripe to the latest version.

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

db flush error


Reply

2 Posts   1859 Views

Avatar
redcirce

27 February 2009 at 6:12pm (Last edited: 27 February 2009 6:16pm), Community Member, 22 Posts

Hi, I've upgraded my local copy of SilverStripe from 2.2.3 (I deleted the 2.2.3 versions of cms, jsparty & sapphire and replaced the folders with the 2.3 versions) and everything *appears* to have worked. The site still works, admin's fine, too. But when I try to flush the db, it starts building the db and creating db records, but then stops and I get an error:

Website Error

There has been an error

The website server has not been able to respond to your request.

Also, SilverStripe now seems slow, which is odd as it's only installed locally.

Can anyone help, please.

Many thanks in advance.

Avatar
Hamish

27 February 2009 at 8:04pm Community Member, 712 Posts

Set your environment to "dev" and see if you get a more useful error.

Ie, in _config.php, add:

Director::set_environment_type("dev");