User tests: Successful: Unsuccessful:
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
Status | New | ⇒ | Ready to Commit |
Status | Ready to Commit | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2014-02-13 08:04:02 |
BTW: I think that this will also provide an error message for #2604 - should be tested.