White Screen of Death

Right now some situations (parse errors, undefined function call, no more memory) in PHP result in fatal error – which means the engine can not continue with the request beyond this point. From the user point of view, this often results in a blank page. I wonder if it would be possible to have standard recovery mechanism that would allow the PHP engine on fatal error to enter some kind of “recovery mode” when it would output some very basic page saying “ok, I have some problems here, but don’t panic and just tell my programmer to fix the code”. It won’t give much info probably but it would allow production sites display nice message to the users instead of the boring snowfield panorama it displays now (that is if the administrator was smart enough to set display_errors to off).

Maybe it should allow only fixed HTML, or maybe some kind of “request recovery” mode which would create some “recovery mode” sub-request when it would allow to do more – like send emails to webmaster. This may need some creative thinking but the main idea is to move away from the snowfield thing.

Advertisements

3 responses to “White Screen of Death

  1. I got what you destine, thanks for putting up. Woh I am glad to pronounce this website finished google. Thanks For Share White Screen of Death STUFF LIES.

  2. I?m impressed, I need to say. Actually rarely do I encounter a weblog that?s both educative and entertaining, and let me tell you, you’ve got hit the nail on the head. Your idea is outstanding; the issue is something that not sufficient people are talking intelligently about. I’m very happy that I stumbled across this in my seek for one thing regarding this.

    • Thanks Orval, Its just an beginning, later you will find many interesting post both as you said educative and interesting on this web log…. Happy to hear from you about this weblog…!!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: