ID: 48402
Updated by: [email protected]
Reported By: aaron dot chmelik at gmail dot com
-Status: Open
+Status: Feedback
Bug Type: PHP options/info functions
Operating System: Mac OSX 10.5.6
PHP Version: 5.2.9
New Comment:
Check your display_errors and error_log settings too.
Previous Comments:
------------------------------------------------------------------------
[2009-05-27 02:20:03] aaron dot chmelik at gmail dot com
Description:
------------
PHP has ceased reporting any errors. I recently installed the GD libs,
but haven't made any changes to the error reporting in the php.ini file,
any changes to httpd.conf for error reporting or .htaccess at all
(recently). I am running PHP 5.2.9 on Mac OSX 10.5.6 with Apache 2.2.9.
I would provide a URL for replicating the issue, but I am running PHP on
a local system, and am ignoring all outside requests to apache.
I ran phpinfo(), the error_reporting value is 6143 (E_ALL)
Reproduce code:
---------------
<?php
require("dbconnect.php"); //this file does not exist
$test = mysql_query("SELECT * FROM applicants WHERE this = 'test'");
//again, does not exist
if(!$test){
echo "Error";
}
while($testdisp = mysql_fetch_array($test)){
echo $testdisp['this'];
}
?>
Expected result:
----------------
It should give me an error that the file doesn't exist. I have tested
this with a number of errors, both non-fatal and fatal, and have
received NO results
Actual result:
--------------
If I don't comment out the require line, I get the word "Error" echoed
from my scripted error checking. If I don't comment out the require
line, I get a blank page. I don't get any errors from PHP.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=48402&edit=1