#19260 [NEW]: PHP does not report parse error, just white screen
| From: | kumar at chicagomodular dot com | Date: | Fri, 06 Sep 2002 05:06:16 +0000 |
| Subject: | #19260 [NEW]: PHP does not report parse error, just white screen | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-18555@lists.php.net to get a copy of this message | ||
From: kumar@chicagomodular.com
Operating system: Open BSD 3.1
PHP version: 4.2.2
PHP Bug Type: Scripting Engine problem
Bug description: PHP does not report parse error, just white screen
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 bug report at http://bugs.php.net/?id=19260&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=19260&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=19260&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=19260&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=19260&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=19260&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=19260&r=support
Expected behavior: http://bugs.php.net/fix.php?id=19260&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=19260&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=19260&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=19260&r=globals