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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Customising the CMS /

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

Dev/Build hangs on Page


Go to End


3 Posts   1340 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.