Re: [PHP] display_errors off and custom error pages

2006-05-02 Thread Richard Lynch
On Tue, May 2, 2006 11:50 am, IG wrote: > So to use a custom error handler do I HAVE to have display_errors set > to > 1 in my php.ini file? This would of course mean I would have to use > custom error handling across all my scripts. I'm not gonna answer this again. We've told you "No, you don't

Re: [PHP] display_errors off and custom error pages

2006-05-02 Thread IG
So to use a custom error handler do I HAVE to have display_errors set to 1 in my php.ini file? This would of course mean I would have to use custom error handling across all my scripts. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] display_errors off and custom error pages

2006-05-02 Thread Richard Lynch
On Tue, May 2, 2006 1:59 am, IG wrote: >> You do not need, nor even want probably, ob_start() just to be able >> to >> use a custom error handler. >> > > I thought I needed ob_start(), why don't I? If part of a page is > outputted then it would be impossible to output an error page as html > has al

Re: [PHP] display_errors off and custom error pages

2006-05-02 Thread Jochem Maas
IG wrote: Thanks, Chris. .. Do I have to have display_errors set to 1 if I want to display a custom error page? I'd rather have display errors set to 0 but have a custom error page displayed when an error is triggered. Is this possible? yes. display_errors merely determines whether php

Re: [PHP] display_errors off and custom error pages

2006-05-02 Thread IG
Thanks, Jochem. Jochem Maas wrote: IG wrote: I've spent the last couple of hours trying to work this out to no avail. I have recently moved over to a managed dedi server and no can ask my host to change my php.ini. I have found out that the 'display_errors' in the php.ini is set to off a

Re: [PHP] display_errors off and custom error pages

2006-05-02 Thread IG
Thanks, Chris. chris smith wrote: On 4/29/06, IG <[EMAIL PROTECTED]> wrote: I've spent the last couple of hours trying to work this out to no avail. I have recently moved over to a managed dedi server and no can ask my host to change my php.ini. I have found out that the 'display_errors' in t

Re: [PHP] display_errors off and custom error pages

2006-05-02 Thread Chris
I've spent the last couple of hours trying to work this out to no avail. I have recently moved over to a managed dedi server and no can ask my host to change my php.ini. I have found out that the 'display_errors' in the php.ini is set to off and error file logging is off. I would like to be a

Re: [PHP] display_errors off and custom error pages

2006-05-02 Thread IG
Richard Lynch wrote: On Fri, April 28, 2006 11:55 am, IG wrote: I have recently moved over to a managed dedi server and no can ask my host to change my php.ini. I have found out that the 'display_errors' in the php.ini is set to off and error file logging is off. Do they have .htaccess turned

Re: [PHP] display_errors off and custom error pages

2006-04-29 Thread Jochem Maas
IG wrote: I've spent the last couple of hours trying to work this out to no avail. I have recently moved over to a managed dedi server and no can ask my host to change my php.ini. I have found out that the 'display_errors' in the php.ini is set to off and error file logging is off. I wou

Re: [PHP] display_errors off and custom error pages

2006-04-29 Thread Richard Lynch
On Fri, April 28, 2006 11:55 am, IG wrote: > I have recently moved over to a managed dedi server and no can ask my > host to change my php.ini. > > I have found out that the 'display_errors' in the php.ini is set to > off > and error file logging is off. Do they have .htaccess turned on? Because

Re: [PHP] display_errors off and custom error pages

2006-04-28 Thread chris smith
On 4/29/06, IG <[EMAIL PROTECTED]> wrote: I've spent the last couple of hours trying to work this out to no avail. I have recently moved over to a managed dedi server and no can ask my host to change my php.ini. I have found out that the 'display_errors' in the php.ini is set to off and error f

[PHP] display_errors off and custom error pages

2006-04-28 Thread IG
I've spent the last couple of hours trying to work this out to no avail. I have recently moved over to a managed dedi server and no can ask my host to change my php.ini. I have found out that the 'display_errors' in the php.ini is set to off and error file logging is off. I would like to be