New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect HTTP status code when db has gone away #9758

jeabakker opened this Issue Apr 21, 2016 · 1 comment


None yet
3 participants

jeabakker commented Apr 21, 2016

When for some reason the connection to the database could not be established you get a generic error page with the HTTP status code 200 OK.

This should be something out of the 5xx range.

at least there should be a status code 500 here

but why don't i get the errors as defined here

Using Elgg 2.0.3
steps to reproduce:

  • change you db username to a non-existing username (eg. add 'xxx')

This comment has been minimized.

Show comment
Hide comment

mrclay commented Apr 21, 2016

PR #9760

@jdalsem jdalsem closed this Apr 22, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment