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:

Archive /

Our old forums are still available as a read-only archive.

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

Changed name of class and controller, now can't login to cms: fatal error


Go to End


2 Posts   1821 Views

Avatar
dio5

Community Member, 501 Posts

27 September 2007 at 3:08am

I changed the name of a class and page_controller

instead of 'Profile' I renamed it to 'ProfilePage' and 'Profile_Controller' to 'ProfilePage_Controller'

flushed the db and now I get:

Fatal error: Class 'Profile' not found in D:\htdocs\silv21rc\cms\code\CMSMain.php on line 361

Avatar
dio5

Community Member, 501 Posts

27 September 2007 at 3:16am

Fixed - I cleared the session cookies in my browser and it worked... :-S