Postings

You can freely browse the forum and post in the community forum.
However, you need a valid license to write posts for support (own a valid commercial software license or have purchased a support membership).

Posts only show once reviewed. This is mainly preventive to keep spam away. Thank you for your understanding!

Fatal error: Class 'JControllerLegacy' not found

More
IP: 197.221.240.143 13 years 3 months ago #2783 by JeYscript
Hi guys. I recently tried upgrading my Joomla 2.5.4 JV Framework site to Joomla 2.5.14 on my local machine. I first upgraded three JComments successfully then went on to upgrade the Joomla site which was not a success. I got a message that said said the upgrade was not successful. Now I cannot log in to the backend. I get this message: "Fatal error: Class 'JControllerLegacy' not found in C:\xampp\htdocs\jeszim\administrator\components\com_cpanel\cpanel.php on line 13."
Guys, what do I do, I am so lost now? Please help!
More
IP: 207.181.228.28 13 years 3 months ago #2784 by admin
Hello,
this forum is not really the place for this kind of problem, the Joomla forum would be more appropriate for your problem.
Since Joomla 2.5.5, some core Joomla classes have been modified, for instance from JController to JControllerLegacy.
It seems like some of your Joomla files have been modified and not others. Try and replace JControllerLegacy with JController in cpanel.php and keep going in debugging this way until you get your hands back into the admin console.
Another thing you could do is manually transfer files from v2.5.14 into your system (thru FTP)

Olivier.