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.

Archive /

Our old forums are still available as a read-only archive.

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

/db/build doesn't work


Go to End


4 Posts   2803 Views

Avatar
MichaelFincham

Community Member, 5 Posts

6 March 2007 at 1:17pm

Edited: 06/03/2007 1:17pm

Hello... I'm trying to add a new page type to a relatively fresh install of SilverStripe, but running db/build?flush=1 gives me this:

(normal output, then)
SiteTreeERROR:
Error

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

I've added some debugging code to the singleton function and it gets as far as the return, but it never returns to the function in DatabaseAdmin...

If you don't know of a fix, is there some way I can turn on better debugging output to fix it myself?

Avatar
MichaelFincham

Community Member, 5 Posts

6 March 2007 at 1:17pm

Incidentally, it continues to do this despite me moving my new pagetype php file out of the mysite/code folder. Looks like it's not a bug in my pagetype.

Avatar
MichaelFincham

Community Member, 5 Posts

6 March 2007 at 1:23pm

Edited: 06/03/2007 1:38pm

It was a MySQL permission problem, my database user didn't have ALTER TABLE permissions.

Avatar
Sigurd

Forum Moderator, 628 Posts

13 March 2007 at 6:58pm

Edited: 13/03/2007 7:02pm

Thanks, we'll ensure a more informative error occurs if you don't have such permissions :)

I've added this to trac #853

Tell me, how did you get the system to install with ALTER permission? Did you remove that permission after installation, perhaps? Or is this at the installation stage?