Re: Error Reporting help
| From: | Luke | Date: | Mon, 19 Jan 2004 00:29:54 +0000 |
| Subject: | Re: Error Reporting help | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-174984@lists.php.net to get a copy of this message | ||
Are you using output buffering? that will stop it from being displayed (it
does on mine, if thre is an error and output buffering, nothing at all shows
up)
So try turning output buffering off, or at the beggining somewhere put
while(@ob_end_flush);
--
Luke
"Chris Edwards" <chrisaedwards@earthlink.net> wrote in message
news:20040118171456.84751.qmail@pb1.pair.com...
> My hosting company recently upgraded to PHP 4.3.0. Since doing this I no
> longer get syntax type errors, from my typo's inside my PHP scripts. These
> use to come up in my browser when that page was requested and the script
> run.
>
> I have spent hours going through the online help, trying to set a number
of
> the error reporting levels and parameters but cannot get to where it will
> report on a syntax error.
>
> For example if I code
>
> echo "This is a syntax error because of the double quote start and the
> single quote end ';
>
> I just get a blank screen.
>
> I have 14 pages of PHP settings printed out, so for any kind person that
can
> help, I can respond with their values quickly.
>
> Thanks
> Chris Edwards