#21199 [Opn->Csd]: errors are output to the Apache error log as well as the page
| From: | helly@php.net | Date: | Sat, 26 Apr 2003 14:53:57 +0000 |
| Subject: | #21199 [Opn->Csd]: 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-38455@lists.php.net to get a copy of this message | ||
ID: 21199
Updated by: helly@php.net
Reported By: ari at alienhosting dot com
-Status: Open
+Status: Closed
Bug Type: Output Control
Operating System: Red Hat Linux 7.3
PHP Version: 4.3.0
New Comment:
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
In current CVS versions all error logging/displaying mechanismns work
as expected and doucumentd. So please update and reread the
documentation.
Previous Comments:
------------------------------------------------------------------------
[2002-12-27 12:52:19] ari at alienhosting dot com
This still happens in 4.3.0.
------------------------------------------------------------------------
[2002-12-26 10:40:49] ari at alienhosting dot 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