Fatal error: Class 'JApplication' not found in

Joomla versions 2.5, 1.7 and 1.6 are all end-of-life since December 31st 2014 and are no longer supported. Please use Joomla 3.x instead.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
pnajafi
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Sat Aug 11, 2012 12:17 am

Fatal error: Class 'JApplication' not found in

Post by pnajafi » Sat Aug 11, 2012 12:23 am

Dear All,

I just installed Joomla 2.5.6 by extracting in to HTDocs of XAMPP 1.8.0 [PHP 5.4.4]
folder. At the second last step where I was installing Joomla I hastily went ahead and deleted the installation folder because my tutorial manual said to do it for security reasons. Since I had not completed installation and did not go to Finish page, it stopped working.

So I deleted the whole Joomla folder and reextracted it from original zip file again. And this time when I try to access localhost/joomla I get the following error:
Fatal error: Class 'JApplication' not found in C:\xampp\htdocs\joomlabeta\libraries\joomla\factory.php on line 102

Do you have any ideas on how to resolve this?

Additional info: in the factory.php line 102 I have:
self::$application = JApplication::getInstance($id, $config, $prefix);

And using ctrl+f I can only see one decleration of JApplicaiton on the top but it is commented out:
abstract class JFactory
{
/**
* @var JApplication
* @since 11.1
*/
What or who modified this?
Last edited by humvee on Sun Aug 12, 2012 8:22 am, edited 1 time in total.
Reason: Marked as resolved as per OP

kulendra
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 158
Joined: Sun Jan 25, 2009 10:48 am

Re: Fatal error: Class 'JApplication' not found in

Post by kulendra » Sat Aug 11, 2012 4:04 am

Hi
I don't think your installation has gone through properly. The part that you had commented out is meant to be a comment.

JApplication class is defined in <joomlaroot>/libraries/joomla/application/application.php file. Check if that exists and if so appropriate permissions are granted for the file/folder.

pnajafi
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Sat Aug 11, 2012 12:17 am

Re: Fatal error: Class 'JApplication' not found in

Post by pnajafi » Sat Aug 11, 2012 10:48 pm

Hi This problem is resolved. I re-extracted the Joomla Zip file under htdocs and called it a different name (before was joomlabeta now I call it joomlagamma).

Thanks.

monlike
Joomla! Intern
Joomla! Intern
Posts: 71
Joined: Fri Jun 06, 2014 10:57 am
Location: sweden

Re: Fatal error: Class 'JApplication' not found in

Post by monlike » Tue Jun 23, 2015 7:27 am

JApplication class is defined in <joomlaroot>/libraries/joomla/application/application.php file. Check if that exists and if so appropriate permissions are granted for the file/folder.


Locked

Return to “Installation Joomla! 2.5”