#21199 [NEW]: errors are output to the Apache error log as well as the page
| From: | ari at alienhosting dot com | Date: | Thu, 26 Dec 2002 16:40:49 +0000 |
| Subject: | #21199 [NEW]: errors are output to the Apache error log as well as the page | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-28411@lists.php.net to get a copy of this message | ||
From: ari@alienhosting.com
Operating system: Red Hat Linux 7.3
PHP version: 4.3.0RC4
PHP Bug Type: Output Control
Bug description: errors are output to the Apache error log as well as the page
Whenever a PHP error is output, the error seems to be output to both the
page and the global Apache error log. Under normal circumstances I
wouldn't consider this a problem, but for virtualhosts it is useless
because the error does not go to their virtualhost-specific error log.
Some examples of errors output:
/home/eurasianconcepts/public_html/car_gallery.php(62) : Warning -
getimagesize() [<a
href='http://www.php.net/function.getimagesize'>function.getimagesize</a>]:
Read error!
/home/wtfiml33t/public_html/viewarticle.php(11) : Warning - mysql_result()
[<a
href='http://www.php.net/function.mysql-result'>function.mysql-result</a>]:
Unable to jump to row 0 on MySQL result index 12
display_errors is ON, log_errors is OFF, and track_errors is OFF.
--
Edit bug report at http://bugs.php.net/?id=21199&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=21199&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=21199&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=21199&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=21199&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=21199&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=21199&r=support
Expected behavior: http://bugs.php.net/fix.php?id=21199&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=21199&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=21199&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=21199&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21199&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=21199&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=21199&r=isapi