PDA

View Full Version : Errors in logfile


gaytraffic
12th February 2010, 03:33 PM
Hi,

Come across some errors in my logs; can someone explain what they are:

[Fri Feb 12 13:20:43 2010] [error] [client 88.76.200.146] PHP Notice: Undefined index: HTTP_REFERER in /data/vhosts/xxx.com/httpdocs/in.php on line 30
[Fri Feb 12 13:20:43 2010] [error] [client 88.76.200.146] PHP Notice: Undefined index: HTTP_X_FORWARDED_FOR in /data/vhosts/xxx.com/httpdocs/in.php on line 33
[Fri Feb 12 13:20:43 2010] [error] [client 88.76.200.146] PHP Notice: Undefined index: tid in /data/vhosts/xxx.com/httpdocs/in.php on line 46
[Fri Feb 12 13:20:43 2010] [error] [client 88.76.200.146] PHP Notice: Undefined index: td in /data/vhosts/xxx.com/httpdocs/in.php on line 47
[Fri Feb 12 13:20:43 2010] [error] [client 88.76.200.146] PHP Notice: Undefined index: nofilter in /data/vhosts/xxx.com/httpdocs/cj-filter.php on line 25
[Fri Feb 12 13:20:43 2010] [error] [client 88.76.200.146] PHP Notice: Undefined index: HTTP_REFERER in /data/vhosts/xxx.com/httpdocs/cj-filter.php on line 152
[Fri Feb 12 13:20:43 2010] [error] [client 88.76.200.146] PHP Notice: Undefined index: host in /data/vhosts/xxx.com/httpdocs/cj-filter.php on line 154
[Fri Feb 12 13:20:43 2010] [error] [client 88.76.200.146] PHP Notice: Undefined variable: vtrade_id in /data/vhosts/xxx.com/httpdocs/in.php on line 181
[Fri Feb 12 13:20:43 2010] [error] [client 88.76.200.146] PHP Notice: Undefined variable: vtid in /data/vhosts/xxx.com/httpdocs/in.php on line 181


Thanks
Frank

ICEFIRE
12th February 2010, 03:39 PM
These are php notices as the log already says.

CjOverkill is a complex script and it checks lots of surfer browser provided variables. Of course, some browsers will not provide some of the variables, and some of these variables cannot exist at the same time unless it's a not a real surfer.

Under a normal php configuration you should not see these notices. If you see them, then it means that your server PHP installation is running in debug mode.

Ask your server admin to set php error reporting to:

error_reporting = E_ALL & ~E_NOTICE

That will ensure you get logs for real errors and skip the notices that generate no errors.