# Disabling error docref stuff by default

- Thread: https://externals.io/message/4
- Original archive: https://news-web.php.net/php.internals/4
- Started by Rasmus Lerdorf on 2003-03-13T09:10:10+00:00
- Messages: 4
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #4 — Rasmus Lerdorf — 2003-03-13T09:10:10+00:00

URL: https://externals.io/message/4#4

Could we disable these error links by default?  As people are slowly
migrating to 4.3, it is becoming very clear that all sorts of people are
getting confused about these.  Especially when a spam web site spews one
of these and irate users trying to unspam themselves end up blaming
webmaster@php.net for their troubles.  Or just people following a link
from one of these and emailing us about some error on some website out
there that we have nothing to do with.

I never really bought into the usefulness of this feature, but I figured
it couldn't hurt.  Now I see how it does actually hurt.

-Rasmus

---

## #20 — Jon Parise — 2003-03-13T16:49:49+00:00

URL: https://externals.io/message/4#20 · In reply to: #4

> Could we disable these error links by default?  As people are slowly
> migrating to 4.3, it is becoming very clear that all sorts of people are
> getting confused about these.  Especially when a spam web site spews one
> of these and irate users trying to unspam themselves end up blaming
> webmaster@php.net for their troubles.  Or just people following a link
> from one of these and emailing us about some error on some website out
> there that we have nothing to do with.
 
I'm inclined to agree.  What if it were made (bu default) on the
error_reporting level?  `E_ALL` would use the docrefs but "lower" levels
would not (e.g. E_FATAL).

Or a new INI option (docref_errors or docref_enable)?

-- 
Jon Parise (jon@php.net) :: The PHP Project (http://www.php.net/)

---

## #24 — Jani Taskinen — 2003-03-13T17:39:15+00:00

URL: https://externals.io/message/4#24 · In reply to: #20

>
>
> > […]
> 
>I'm inclined to agree.  What if it were made (bu default) on the
>error_reporting level?  `E_ALL` would use the docrefs but "lower" levels
>would not (e.g. E_FATAL).
>
>Or a new INI option (docref_errors or docref_enable)?

    NO MORE INI OPTIONS!!
    There are so many options now that it's getting a hell
    to QA anything anymore..for example those session.bug_compat_42 and
    session.bug_compat_warn options.
    
    And what's wrong with 'display_errors=off' ???
    No production website should have that set to 'ON' anyway.

    --Jani

---

## #25 — Derick Rethans — 2003-03-13T17:46:12+00:00

URL: https://externals.io/message/4#25 · In reply to: #20

> 
> 
> > […]
>  
> I'm inclined to agree.  What if it were made (bu default) on the
> error_reporting level?  `E_ALL` would use the docrefs but "lower" levels
> would not (e.g. E_FATAL).

I like this magic, but it isn't really our problem I think. People who 
have error messages on production boxes... yuck.

> Or a new INI option (docref_errors or docref_enable)?

hmm, don't think that's a good idea, it adds another ini-setting...

Derick

-- 
                                        "my other box is your windows PC"
-------------------------------------------------------------------------
 Derick Rethans                                 http://derickrethans.nl/ 
 PHP Magazine - PHP Magazine for Professionals       http://php-mag.net/
