Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » /db/build doesn't work

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

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

Page: 1
Go to End
Author Topic: 1966 Views
  • MichaelFincham
    Avatar
    Community Member
    5 Posts

    /db/build doesn't work Link to this post

    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?

  • MichaelFincham
    Avatar
    Community Member
    5 Posts

    Re: /db/build doesn't work Link to this post

    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.

  • MichaelFincham
    Avatar
    Community Member
    5 Posts

    Re: /db/build doesn't work Link to this post

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

  • Sigurd
    Avatar
    Forum Moderator
    628 Posts

    Re: /db/build doesn't work Link to this post

    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?

    1966 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.