From:             jonathan at nationaldirect dot net
Operating system: Win2k
PHP version:      4.3.6
PHP Bug Type:     Output Control
Bug description:  display_errors = off is ignored

Description:
------------
Since upgrading to 4.3.6 in PHP.ini the display_errors = off is ignored. 
I also have set error_reporting = E_ALL and log_errors = On so that any
errors or notices will be sent to a file instead of being displayed
on-screen and messing up the webpage.  If I set error_reporting = ~E_ALL
then I do not get any error mesages displayed or in the error log file.  I
have reverted back to 4.3.2 with the same php.ini file and it fixes the
issue.  I am using Win2k and IIS5 with PHP 4.3.6.  When I use phpinfo() to
view how it is running is shows display_errors = off.

Reproduce code:
---------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd";>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
</head>

<body>
The date refunded is: <?php echo $row_orderinfo['date_refunded']; ?>
</body>
</html>


Expected result:
----------------
The date refunded is:

Actual result:
--------------
The date refunded is: PHP Notice: Undefined variable: row_orderinfo in
C:\www\trial\test_2.php on line 9

-- 
Edit bug report at http://bugs.php.net/?id=28349&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=28349&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=28349&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=28349&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=28349&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=28349&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=28349&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=28349&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=28349&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=28349&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=28349&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=28349&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=28349&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28349&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=28349&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=28349&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=28349&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28349&r=float

Reply via email to