#21199 [Opn]: errors are output to the Apache error log as well as the page
| From: | ari at alienhosting dot com | Date: | Fri, 27 Dec 2002 18:52:20 +0000 |
| Subject: | #21199 [Opn]: errors are output to the Apache error log as well as the page | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-28488@lists.php.net to get a copy of this message | ||
ID: 21199
User updated by: ari@alienhosting.com
Reported By: ari@alienhosting.com
Status: Open
Bug Type: Output Control
Operating System: Red Hat Linux 7.3
-PHP Version: 4.3.0RC4
+PHP Version: 4.3.0
New Comment:
This still happens in 4.3.0.
Previous Comments:
------------------------------------------------------------------------
[2002-12-26 10:40:49] ari@alienhosting.com
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 this bug report at http://bugs.php.net/?id=21199&edit=1