Jump to:

5540 Posts in 1738 Topics by 1224 members

Customising the CMS

SilverStripe Forums » Customising the CMS » Dev/Build hangs on Page

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

Page: 1
Go to End
Author Topic: 872 Views
  • selfsimilar
    Avatar
    Community Member
    3 Posts

    Dev/Build hangs on Page Link to this post

    I created a new page type for a form I'm working on. I inherited from Page for the new page class, but accidentally inherited from ContentController for the controller class, instead of PageController as I should have. Now when I update the new controller class to inherit from the proper controller, dev/build hangs at "Page". How can I fix this properly? Do I need to go in and hand-edit the SQL table?

    Thanks,
    Colin

  • mark_s
    Avatar
    Community Member
    78 Posts

    Re: Dev/Build hangs on Page Link to this post

    Hi.

    No, don't edit the database. The controller class should have no bearing on the database, only on how the page is displayed.

    Have you tried doing dev/build?flush=all ?

    Mark

  • selfsimilar
    Avatar
    Community Member
    3 Posts

    Re: Dev/Build hangs on Page Link to this post

    My mistake - I was missing an underscore in the parent class I was trying to inherit from.

    Thanks for the reply.

    872 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.