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.

Customising the CMS

Dev/Build hangs on Page


Reply

3 Posts   884 Views

Avatar
selfsimilar

10 June 2010 at 2:04am Community Member, 3 Posts

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

Avatar
mark_s

10 June 2010 at 2:36pm Community Member, 78 Posts

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

Avatar
selfsimilar

11 June 2010 at 8:32am Community Member, 3 Posts

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

Thanks for the reply.