5099 Posts in 1519 Topics by 1116 members
|Go to End|
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?
10 June 2010 at 2:36pm
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 ?
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.
|Go to Top|