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.
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)
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?
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.
It was a MySQL permission problem, my database user didn't have ALTER TABLE permissions.
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?