Re: PHP Doesn't Crash but show blank page

From: Date: Thu, 03 Jan 2002 16:10:51 +0000
Subject: Re: PHP Doesn't Crash but show blank page
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-79332@lists.php.net to get a copy of this message
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: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net


« previous php.general (#79332) next »