?
avatar IberoMedia
IberoMedia
25 Mar 2015

I updated Joomla 2.5.28 to 3.4.1 and when running a Joomla standalone application I get error: Fatal error: Class 'Joomla\Application\AbstractApplication' not found in [ROOT]\libraries\joomla\application\base.php on line 20

I have read many post talking about the same problem indicating the update was incomplete. Hence, I installed a fresh Joomla 3.4.1 and implemented Joomla standalone application files as per this Joomla official tutorial https://docs.joomla.org/How_to_create_a_stand-alone_application_using_the_Joomla!_Platform

Even in the fresh Joomla 3.4.1 I get the same error Fatal error: Class 'Joomla\Application\AbstractApplication' not found in [ROOT]\libraries\joomla\application\base.php on line 20

Some of the posts I read talked about a path libraries/joomla/application/src hinting the AbstractApplication class would be located here. But the upgraded install I first mentioned, the fresh install I did to replicate the problem, and the files listed here in Git ( libraries/joomla/application/src ), all are missing a folder called [ROOT]/libraries/joomla/application/src

I don't know whether that folder and its content are necessary. But the fact is I am unable to get a Joomla standalone application to work, even the simple one from the Joomla official tutorial I linked to in the second paragraph.

avatar IberoMedia IberoMedia - open - 25 Mar 2015
avatar joomla-cms-bot joomla-cms-bot - change - 25 Mar 2015
Labels Added: ?
avatar mbabker
mbabker - comment - 25 Mar 2015

That page is heavily outdated.

A minimal application bootstrap can be found in our CLI scripts (https://github.com/joomla/joomla-cms/blob/3.4.1/cli/update_cron.php#L15-L34 is a good example). As long as you include the includes/defines.php, libraries/import.legacy.php, and libraries/cms.php files, you'll get mostly the same bootstrap process that the main CMS apps go through. The two libraries files will take care of getting all the CMS infrastructure loaded into place and you should be able to go from there.

avatar Bakual
Bakual - comment - 25 Mar 2015

Closing as not a core issue.

avatar Bakual Bakual - change - 25 Mar 2015
Status New Closed
Closed_Date 0000-00-00 00:00:00 2015-03-25 07:03:40
avatar Bakual Bakual - close - 25 Mar 2015
avatar Bakual Bakual - close - 25 Mar 2015
avatar alex7r
alex7r - comment - 8 Nov 2016

It's core issue.

  • I've installed J3.6.2

  • Installed some libraries with composer.

Everything is loading.

  • Updating to J3.6.4

Libraries installed with composer are not loading.

  • Composer update.

Class 'Joomla\Application\AbstractApplication' not found

avatar brianteeman
brianteeman - comment - 8 Nov 2016

Please don't comment on closed issues as they don't get seen. Please open a new issue

Add a Comment

Login with GitHub to post a comment