PHP Notices filling up the log
Hi there,
I'm still playing with beaumont and found thousands of entries like this:
[Thu Jun 22 15:36:15 2006] [error] [client 192.168.2.36] PHP Notice: Undefined index: __version__ in /home/hett/public_html/web2/includes/DataObject.class.inc on line 197, referer: http://sv25/~hett/web2/login.php
[Thu Jun 22 15:36:15 2006] [error] [client 192.168.2.36] PHP Notice: Undefined index: Query in /home/hett/public_html/web2/includes/Plugin.class.inc on line 33, referer: http://sv25/~hett/web2/login.php
[Thu Jun 22 15:36:15 2006] [error] [client 192.168.2.36] PHP Notice: Undefined index: in /home/hett/public_html/web2/includes/DataObject.class.inc on line 43, referer: http://sv25/~hett/web2/login.php
In the apache Error Log
I'm still playing with beaumont and found thousands of entries like this:
[Thu Jun 22 15:36:15 2006] [error] [client 192.168.2.36] PHP Notice: Undefined index: __version__ in /home/hett/public_html/web2/includes/DataObject.class.inc on line 197, referer: http://sv25/~hett/web2/login.php
[Thu Jun 22 15:36:15 2006] [error] [client 192.168.2.36] PHP Notice: Undefined index: Query in /home/hett/public_html/web2/includes/Plugin.class.inc on line 33, referer: http://sv25/~hett/web2/login.php
[Thu Jun 22 15:36:15 2006] [error] [client 192.168.2.36] PHP Notice: Undefined index: in /home/hett/public_html/web2/includes/DataObject.class.inc on line 43, referer: http://sv25/~hett/web2/login.php
In the apache Error Log
You can turn off notices in php.ini. For example,
error_reporting = E_ALL & ~E_NOTICE
would turn on all notifications except for notices.