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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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   1914 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