[Curiosity] Errors in the bible.... an illustration.

[Curiosity] Errors in the bible.... an illustration.

am 02.08.2007 06:51:25 von luiheidsgoeroe

=


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

[/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

Re: [Curiosity] Errors in the bible.... an illustration.

am 02.08.2007 06:54:11 von luiheidsgoeroe

On Thu, 02 Aug 2007 06:51:25 +0200, Rik wro=
te:
> file_get_contents(http://www.php.net/ws.php?profile=3Dmanual &q=3Dauto_=
globals_jit+&lang=3Den&results=3D10&start=3D1&mirror=3Dnl3.p hp.net): =

> This concludes my waking moments in the very early morning....

Well, not before stating that relying on an external include of a =

serialized variable as seems to be at the page referenced above is a bad=
=

thing too, 'mkay?
-- =

Rik Wasmus

Re: [Curiosity] Errors in the bible.... an illustration.

am 02.08.2007 10:37:53 von Toby A Inkster

Rik wrote:

>
>
> Doesn't the manual state display_errors shouldn't be enabled on production
> severs somewhere?

It may well be just nl3.php.net which has it on, rather than all the
php.net mirrors, as the mirrors are each hosted by different companies.

--
Toby A Inkster BSc (Hons) ARCS
[Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
[OS: Linux 2.6.12-12mdksmp, up 42 days, 12:11.]

PHP Encryption Class
http://tobyinkster.co.uk/blog/2007/08/01/php-encryption-clas s/