- The full stack trace is printed only because debug mode is turned on in your WebEngine configuration.
- Turn debug mode off on the live site so visitors only see a generic error.
- If credentials were already shown publicly, change the SQL login password.
- Keep debug mode for local testing only.
WebEngine shows a PDOException with my SQL Server host, user and password on screen when the database is down. How do I hide it?
Osoba, która zgłosiła problem, potwierdziła, że to go naprawiło.
W zgłoszeniu, 2017-08-10 (oryginalne słowa)Oryginalne słowa (angielski)
“You have debug mode enable, that's why the website shows all error messages.”