From:             aaron dot chmelik at gmail dot com
Operating system: Mac OSX 10.5.6
PHP version:      5.2.9
PHP Bug Type:     PHP options/info functions
Bug description:  PHP stopped reporting errors

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 bug report at http://bugs.php.net/?id=48402&edit=1
-- 
Try a CVS snapshot (PHP 5.2):        
http://bugs.php.net/fix.php?id=48402&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):        
http://bugs.php.net/fix.php?id=48402&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):        
http://bugs.php.net/fix.php?id=48402&r=trysnapshot60
Fixed in CVS:                        
http://bugs.php.net/fix.php?id=48402&r=fixedcvs
Fixed in CVS and need be documented: 
http://bugs.php.net/fix.php?id=48402&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=48402&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=48402&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=48402&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=48402&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=48402&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=48402&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=48402&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=48402&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=48402&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=48402&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=48402&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=48402&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=48402&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=48402&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=48402&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=48402&r=mysqlcfg

Reply via email to