Answer the question
In order to leave comments, you need to log in
Error page error page - is it necessary?
Today I caught on googlemail such a charming phenomenon as the error page of the error page .
The screenshot is attached:
The point is that separate servers are responsible for returning the error page, and if an unexpected error has already occurred on them, such an “error page of the error page” is issued.
And now the question is - do you think it makes sense in not so large projects to generate error pages on separate servers, or are static pages enough?
Have you had projects where dynamic error pages were appropriate and necessary?
Answer the question
In order to leave comments, you need to log in
In my experience, the most dynamic error page contained the %page_url% insert.
And about the error on the back-end, I think that the 500th is enough.
I don’t know, of course, but personally, such a mistake would clearly cheer me up, and not spoil it (especially You Win!). And a satisfied customer... even if he didn't get what he wanted
If the framework/application uses templates/handlers/some code that can throw an exception to output errors, it is quite logical to put a top handler with code like
if (!output_started) { header("$protocol 500 Fatal Error"); }
die("Fatal Error");
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question