Skip to content

update page404() to respond with 404 code and other#567

Merged
Netrilix merged 6 commits intouserfrosting:hotfix-0.3.1.16from
frostbitten:master
Jul 9, 2016
Merged

update page404() to respond with 404 code and other#567
Netrilix merged 6 commits intouserfrosting:hotfix-0.3.1.16from
frostbitten:master

Conversation

@frostbitten
Copy link
Copy Markdown
Contributor

Also, use 503 for pageDatabaseError(). See individual commits for more detail

This renders the 404 page via slim's halt() method. It also fixes the issue of unexpected 200 response codes with erroneous (mostly typo ridden) ajax requests.
Seems like the `pageDatabaseError()` is a good place to do this as well.
both work, but this makes more sense.
@Netrilix Netrilix merged commit 0a5824d into userfrosting:hotfix-0.3.1.16 Jul 9, 2016
@alexweissman
Copy link
Copy Markdown
Member

Has this been tested with the installer? You'll notice the comment:

// If we can't connect to the DB, then we can't create an authenticated user. That's ok if we're in installation mode.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants