Follow this Blog!

Jul 29, 2012

f Comment

Joomla 2.5 Fatal error: Class 'JConfig' not found in framework.php

First take a look at my Joomla version
Amazon The following is information shown by going to Site -> System Information.

PHP Built OnLinux ip-10-1-2-3 4.5.6-7-ec2 #18-Ubuntu SMP Mon Oct 18 21:00:20 UTC 2010 i686
Database Version5.1.61-0ubuntu0.10.04.1
Database Collationutf8_general_ci
PHP Version5.3.2-1ubuntu4.14
Web ServerApache/2.2.14 (Ubuntu)
WebServer to PHP Interfaceapache2handler
Joomla! VersionJoomla! 2.5.4 Stable [ Ember ] 2-April-2012 14:00 GMT
Joomla! Platform VersionJoomla Platform 11.4.0 Stable [ Brian Kernighan ] 03-Jan-2012 00:00 GMT
User AgentMozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.168 Safari/535.19

As you can see I use Joomla 2.5.4, but this tutorial applies to every previous version of Joomla. If not let me know!

The Problem
I encountered this strange error after uninstalling a bunch of Joomsef modules. Here's a screenshot:

Fatal error: Class

Solution
Look at your configuration.php and see if class name has been changed to

class c {
If so change it back to

class JConfig {
And everything should be back to working again!

So why would Joomsef tinker with configuration.php and change my innocent JConfig class to some letter 'c'? I have no idea.

To properly uninstall Joomsef simply log into backend admin panel and go to Extensions -> Extension Manager -> Manage and search for SEF. Remove the extension with name 'SEF' and Author 'ARTIO s.r.o'.

Any questions? Let me know!
Please leave a comment here!
One Minute Information - by Michael Wen
Find Michael on Google or Facebook
ADVERTISING WITH US - Direct your advertising requests to Michael