#28349 [Opn->Fbk]: display_errors = off is ignored
| From: | edink@php.net | Date: | Thu, 13 May 2004 17:20:33 +0000 |
| Subject: | #28349 [Opn->Fbk]: display_errors = off is ignored | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-59587@lists.php.net to get a copy of this message | ||
ID: 28349
Updated by: edink@php.net
Reported By: jonathan at nationaldirect dot net
-Status: Open
+Status: Feedback
Bug Type: Output Control
Operating System: Win2k
PHP Version: 4.3.6
New Comment:
Is phpinfo() showing thar the correct php.ini being used?
Previous Comments:
------------------------------------------------------------------------
[2004-05-10 16:56:40] jonathan at nationaldirect dot net
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 this bug report at http://bugs.php.net/?id=28349&edit=1