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.

Upgrading SilverStripe /

Ask questions about upgrading SilverStripe to the latest version.

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

db flush error


Go to End


2 Posts   2954 Views

Avatar
redcirce

Community Member, 22 Posts

27 February 2009 at 6:12pm

Edited: 27/02/2009 6:16pm

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

Community Member, 712 Posts

27 February 2009 at 8:04pm

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

Ie, in _config.php, add:

Director::set_environment_type("dev");