My website was running correctly before 2-3 weeks and now it gives me an error like: joomla fatal error class 'JError' not found . when i am typing the URL it shows the following error message... Fatal error: Class 'JError' not found in /home/dcmops/public_html/gu/libraries/joomla/factory.php on line 565
I am even not able to see the admin tab, it also shows the same error. Can anybody guide me regarding this issue...??
the code @ line 565 is as follows
if ( JError::isError($db) ) {
header('HTTP/1.1 500 Internal Server Error');
jexit('Database Error: ' . $db->toString() );
}
if ($db->getErrorNum() > 0) {
JError::raiseError(500 , 'JDatabase::getInstance: Could not connect to database <br />' . 'joomla.library:'.$db->getErrorNum().' - '.$db->getErrorMsg() );
}
$db->debug( $debug );
return $db;
Thanks & Regards, Rahul
JErrorclass file is included in this file? - Yogesh SutharJoomla. And its having lots of inter file communication. You can ask this question to someJoomlaexpert here chat.stackoverflow.com/rooms/11/php - Yogesh Suthar