#19260 [Opn->Bgs]: PHP does not report parse error, just white screen

From: Date: Fri, 06 Sep 2002 05:46:18 +0000
Subject: #19260 [Opn->Bgs]: PHP does not report parse error, just white screen
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-18557@lists.php.net to get a copy of this message
ID: 19260 Updated by: derick@php.net Reported By: kumar@chicagomodular.com -Status: Open +Status: Bogus Bug Type: Scripting Engine problem Operating System: Open BSD 3.1 PHP Version: 4.2.2 New Comment: Apache doesn't know about PHP constants, do they will not work in a .htaccess files. Use the numerical values from here: http://www.php.net/manual/en/function.error-reporting.php In your case this would be 2039. Derick Previous Comments: ------------------------------------------------------------------------ [2002-09-06 00:06:16] kumar@chicagomodular.com My host has PHP error_reporting set to "3" and I have it set locally to "E_ALL & ~E_NOTICE" through a .htaccess file (the exact line in the .htaccess is : php_value error_reporting "E_ALL & ~E_NOTICE" ) the below code should produce a parse error (no commas separating the array elements -- resulting from hastily copying and pasting to expand what was once a one element array) ...but instead just leaves me with a white screen, no html, no errors. $incInit = array( "inc.db.php" "class.imageHandle.php" "class.sgImageHandle.php" ); this white screen has happened on several other strange parse errors (of which I don't have examples) and is annoying because it takes me longer to find the error. If I put <? error_reporting(E_ALL) ?> at the top of the code, it doesn't help. And if I delete the line in the .htaccess file, resorting to the master error_reporting value, it also doesn't help. configure command= './configure' '--without-db' '--with-apache=./apache' '--with-mysql=/usr/local' '--with-zlib=/usr' '--disable-debug' not sure what version of Apache, it is 1.3.x I believe ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19260&edit=1

« previous php.bugs (#18557) next »