Closed
Description
Motivation
The troubles of the hosting provider is without your control. In my case, the database server was out for some time and users saw an English message about a critical error with advice to check the configuration file. But it wasn't true, the configuration file was correct.
Proposed Solution
- if there is a live site - no debug, developer mode, not localhost or something like that, display the user some nice message about troubles on site, we are working on it
- replace file name e107_config.php similar way as other error strings - your configuration file - a person that is able to fix this knows the file name of the config file
- don't display the database name in the error message on the live site
- improve message look
- translate messages (those from lan_error.php) - site language should be cached in a file (so available without database connection)
- add main admin notification if site is down because this issue
Additional Context
It would be nice to update the legacy code too. My editor is telling me this and I really don't know if they are false errors or how it is possible that it is workin