Huge amount of "PHP Notice:" -> huge logs
Hey,
For some while now I've been having this problem with a site we host. In the 'error_log' for the site I've fount MANY (as in several GB logs) PHP notices that look something like: Code:
[Tue Mar 18 11:58:25 2008] [error] [client some.ip.here] PHP Notice: Undefined index: check_3 in /var/www/vhosts/mydomain/httpdocs/somefile.php on line 150, referer: http://referer/url Code:
PHP Notice: Undefined variable: Thanks. |
change the error_reporting option in your php.ini file to not invlude E_NOTICE
Code:
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Thanks, that stopped the logs from getting bigger. But can you please tell me what was generating them, so I know what to look for?!
Thanks. |
looking at the examples, bad coding. ;-)
|
Is there a possibility that such notices are generated when PHP is looking in GET for elements that aren't there?
Anyway the log problem is solved, thanks acid_kewpie! |
All times are GMT -5. The time now is 11:12 PM. |