|
Posted by Rik on 08/02/07 04:51
<http://nl3.php.net/results.php?q=3Dauto_globals_jit+&p=3Dmanual&l=3Den>=
Doesn't the manual state display_errors shouldn't be enabled on producti=
on =
severs somewhere?
[For people reading this after some fix has been applied:]
Warning: =
file_get_contents(http://www.php.net/ws.php?profile=3Dmanual&q=3Dauto_gl=
obals_jit+&lang=3Den&results=3D10&start=3D1&mirror=3Dnl3.php.net): =
failed to open stream: Connection refused in =
/var/www/mirror/domeinen/nl3.php.net/website/results.php on line 32
Warning: Cannot modify header information - headers already sent by =
(output started at =
/var/www/mirror/domeinen/nl3.php.net/website/results.php:32) in =
/var/www/mirror/domeinen/nl3.php.net/website/include/layout.inc on line =
81
Warning: Cannot modify header information - headers already sent by =
(output started at =
/var/www/mirror/domeinen/nl3.php.net/website/results.php:32) in =
/var/www/mirror/domeinen/nl3.php.net/website/include/layout.inc on line =
82
<snip more crap>
[/quote]
Well, it's a perfect illustration why this shouldn't be enabled on =
production servers, and why one has to allow for a somewhat graceful =
degrade if something fails (and one should check wether something fails)=
- Am I, as a visitor, in any way helped by this output? Far from it.
- Has my view of the website in question changed? Yes, to the negative.
- Would my view of the website been better if they had a nice error page=
=
stating 'they're sorry, something went wrong, we'll fix it a soon as =
possible, be sure to visit us in the near future'? Certainly, if I didn'=
t =
know it was an automated script I'd almost feel proud that I, a humble =
visitor, warranted their personal attention.
- Am I likely to visit it again? Well, for now I'll make an exception, a=
s =
a regular visitor I'll allow for some misconduct, don't push me to far =
though.
This concludes my waking moments in the very early morning....
-- =
Rik Wasmus
[Back to original message]
|