? Success

User tests: Successful: Unsuccessful:

avatar elkuku
elkuku
8 Feb 2014

This tries to "mask" a long standing bad behavior of the Joomla! CMS when a database connection can not be established.
The root cause are some bad designed exception handlers and wrong return values.
The effect is the following unhelpful message on a blank screen:

Error displaying the error page: Application Instantiation Error

The solution here is a very simple "fix" that only adds the first exception message to the final error output:

Example:

Error displaying the error page: Application Instantiation Error: Could not connect to MySQL.

So, at least one might have a clue what's going on ?

Test instructions:
Change the database credentials in configuration.php to something invalid and reload the page.

Good ol' joomlacode tracker: http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=33251

avatar elkuku elkuku - open - 8 Feb 2014
avatar elkuku
elkuku - comment - 10 Feb 2014

BTW: I think that this will also provide an error message for #2604 - should be tested.

avatar elkuku elkuku - change - 10 Feb 2014
Status New Ready to Commit
avatar infograf768 infograf768 - change - 13 Feb 2014
Status Ready to Commit Closed
Closed_Date 0000-00-00 00:00:00 2014-02-13 08:04:02
avatar infograf768 infograf768 - close - 13 Feb 2014
avatar infograf768 infograf768 - reference | 103ed5b - 13 Feb 14
avatar infograf768 infograf768 - merge - 13 Feb 2014
avatar infograf768 infograf768 - close - 13 Feb 2014
avatar Bakual Bakual - reference | b5077ba - 12 May 14

Add a Comment

Login with GitHub to post a comment