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   894 Views

Avatar
selfsimilar

Community Member, 3 Posts

10 June 2010 at 2:04am

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

Community Member, 78 Posts

10 June 2010 at 2:36pm

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

Community Member, 3 Posts

11 June 2010 at 8:32am

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

Thanks for the reply.