17452 Posts in 4473 Topics by 1971 members
|Go to End|
6 March 2007 at 1:17pm Last edited: 6 March 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)
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?
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.
6 March 2007 at 1:23pm Last edited: 6 March 2007 1:38pm
It was a MySQL permission problem, my database user didn't have ALTER TABLE permissions.
13 March 2007 at 6:58pm Last edited: 13 March 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?
|Go to Top|