Welcome Guest, Not a member yet? Register   Sign In
catch compression related errors
#1

[eluser]Unknown[/eluser]
Hello,

Our production server has
Code:
compression_output
set to
Code:
true
. Now we've run in to instances where developers have pushed code to the production server with print_r or echo by mistake. This is causing the webserver to display a "white screen of death" with error message such as
Code:
Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the connection without sending any data.


Is it possible to somehow catch that? so we can show a much friendlier error page?




Theme © iAndrew 2016 - Forum software by © MyBB