Two other lines to look for in your php.ini file:

display_errors = On
log_errors = Off

If display_errors is on the error will be displayed on the web page, if 
log_errors is on the error will be logged--assuming you're using Linux 
check /var/log/messages, but you can change this with the 
error_log = ... option.

-Steve


On Wednesday, January 2, 2002, at 05:11  AM, [@-!-%] wrote:

>
> Hello everyone!
>
> I'm having issues with my php pages. When I have errors, Instead of
> crashing or showing  errors, the browser shows a blank page.
>
> For example, if I leave the left bracket in my if statement, like
>
> if(blah blah)
>    <---missing left bracket '{'
>
> do this
>
> }else {
>  do that
> }
>
> or, I leave the semiconlon at the end of a line, like
>
> $myvar= " this is my line"     <-- missing ';'
>
> PHP does not report the error.
>
> My php.ini is configured as
>
> error_reporting =
> E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR|E_USER_ERROR|E_USER_WARNING|E_USER_NOTICE
>
> My system has
> PHP 4.0.6, MySQL 3.23.46-nt, Win2000
>
> Anyone knows why it's doing that?
>
> -john
>
> __________John Monfort_________________
> _+-----------------------------------+_
>      P E P I E  D E S I G N S
>        www.pepiedesigns.com
> "The world is waiting, are you ready?"
> -+___________________________________+-
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to