Community AlphaAlpha MUADMINS
ENEnglish
Sign in
On MuADMINSConfig ScannerDrop your files zip: rates, drops, spots, limitsOpenOn MuADMINSMeet us on DiscordAsk for help, share what you are building and talk MU with other server owners.Open
← All solutions
Websiteany

WebEngine shows a PDOException with my SQL Server host, user and password on screen when the database is down. How do I hide it?

✓ Confirmed in the issue
  1. The full stack trace is printed only because debug mode is turned on in your WebEngine configuration.
  2. Turn debug mode off on the live site so visitors only see a generic error.
  3. If credentials were already shown publicly, change the SQL login password.
  4. Keep debug mode for local testing only.

“You have debug mode enable, that's why the website shows all error messages.”

In the issue, 2017-08-10 (original words)
Did this help?

Still stuck? Search MuGPS Ask the MU Assistant

MuADMINS Community Alpha: free and community made, in active development.