?
Referenced as Pull Request for: # 8820
avatar robbykotulla
robbykotulla
22 Dec 2015

In the current Joomla package is /bin/keychain.php file includet.
This file defines in line 14 a ../libraries/import.php dependencies, which is not included in the package.
If you call the file via browser, you get a fatal error (incl. indication of the absolute server path)

Step By Step

  • Activate the Error-Reporting
  • Call: your-joomla-domain.com/bin/keychain.php width any Browser
  • Get the Fatal Error Message
Fatal error: Class 'Joomla\Application\AbstractApplication' not found in /libraries/joomla/application/base.php on line 23
avatar robbykotulla robbykotulla - open - 22 Dec 2015
avatar bertmert
bertmert - comment - 22 Dec 2015

This file defines in line 14 a ../libraries/import.php dependencies, which is not included in the package.

It's included! If you speak German: Why the error occurs was discussed yesterday in a German forum:
http://www.joomlaportal.de/joomla-3-x-installation/323446-fatal-error-class-joomla-application-abstractapplication-not-found.html#post1610912

I could reproduce the explanation by debugging and the guy is right.

But if the file is still needed I don't know.

avatar photodude
photodude - comment - 22 Dec 2015

I don't believe you call the keychain file directly, which is why your getting an error. Most Joomla php files are not intended to be called directly. Keychain is a library class definition file which gets called by another file to implement and use the methods. Keychain "provides is a way to load data from, and store data to an encrypted data source."

https://groups.google.com/forum/#!searchin/joomla-dev-platform/keychain/joomla-dev-platform/4y32Q8VlhCA/FxepGpNB408J

https://github.com/eBaySF/joomla-platform/wiki/Keychain

avatar robbykotulla
robbykotulla - comment - 22 Dec 2015

I am aware that the file should not be called directly. The problem is that
they can be called directly! And outputs may a Fatal Error!

avatar photodude
photodude - comment - 22 Dec 2015

They why are you asking for the file to be removed? I suggest changing your issue title to reflect your issue.

avatar robbykotulla
robbykotulla - comment - 22 Dec 2015

Thanks for your answer. I think the file is no longer needed for Joomla.
The Class Keychain is to my knowledge fully integrated into the platform.
Am 22.12.2015 19:55 schrieb "photodude" notifications@github.com:

They why are you asking for the file to be removed? I suggest changing
your issue title to reflect your issue.


Reply to this email directly or view it on GitHub
#8765 (comment).

avatar photodude
photodude - comment - 22 Dec 2015

Keychain "provides is a way to load data from, and store data to an encrypted data source." It is absolutely needed anytime the application, or a 3rd party extension needs to load or store data to an encrypted data source.

As far as I can tell the CMS does not currently utilize JKeychain from the framework, but there are 3rd party extensions which do.

avatar photodude
photodude - comment - 22 Dec 2015

Tested following the supplied steps, I can confirm this issue. (error listed in the server error logs)

PHP Fatal error:  Class 'Joomla\Application\AbstractApplication' not found in /libraries/joomla/application/base.php on line 23

Seems that in this instance the library application base class is failing to load the Joomla\Application\AbstractApplication namespace and class. I think it's likely accessing the bin/keychain.php file directly results in the application losing track of the root path and it's looking in the wrong place to find the library files.

avatar mbabker
mbabker - comment - 22 Dec 2015

The JKeychain class is integrated in the platform. The bin/keychain.php
file is a CLI utility to work with keychain objects. So the file is still
useful and probably just needs updated with the proper CLI bootstrap for
the CMS.

On Tuesday, December 22, 2015, Robby Kotulla notifications@github.com
wrote:

Thanks for your answer. I think the file is no longer needed for Joomla.
The Class Keychain is to my knowledge fully integrated into the platform.
Am 22.12.2015 19:55 schrieb "photodude" >:

They why are you asking for the file to be removed? I suggest changing
your issue title to reflect your issue.


Reply to this email directly or view it on GitHub
<#8765 (comment)
.


Reply to this email directly or view it on GitHub
#8765 (comment).

avatar brianteeman brianteeman - change - 31 Dec 2015
Status New Closed
Closed_Date 0000-00-00 00:00:00 2015-12-31 17:23:55
Closed_By brianteeman
avatar brianteeman brianteeman - close - 31 Dec 2015
avatar brianteeman brianteeman - close - 31 Dec 2015
avatar brianteeman
brianteeman - comment - 31 Dec 2015

Closed please see #8860


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8765.

avatar photodude
photodude - comment - 31 Dec 2015

@brianteeman did you mean #8820 ? I can't seem to find an 8860 in the tracker.

avatar brianteeman
brianteeman - comment - 31 Dec 2015

Oops
On 31 Dec 2015 5:50 pm, "photodude" notifications@github.com wrote:

@brianteeman https://github.com/brianteeman did you mean #8820
#8820 ? I can't seem to find
an #8860 in the tracker.


Reply to this email directly or view it on GitHub
#8765 (comment).

avatar brianteeman
brianteeman - comment - 31 Dec 2015

See #8820


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8765.

Add a Comment

Login with GitHub to post a comment