By peter chen on
Hi Drupal folks,
I've a bit of a problem, when I look at my logs on my site (http://peterchen.members.grokthis.net) I've noticed that each of the logs (from watchdog.module) shows an identical IP address for each event, regardless of where they are actually coming from.
This is duplicated in my forms records (each form appears to come from the same address), but is preventing my polls.module working correctly.
I'm using 4.6 on a LAMP config (have a look if this is useful at the config for php - http://peterchen.members.grokthis.net/node/15)
Any ideas?
Thanks,
Peter
Comments
Compare it with a log analyser
Thought of comparing with any log analyser like Awstats or Analog? Maybe there's nothing wrong with watchdog, but likely a proxy or related problem.
--
Duplika
Apache logs
Or look directly at your Apache logs ... I bet it is proxy-related.
Thanks for this
Thanks for this quick feedback, I'll look at this ASAP. If it is a proxy issue, I gues my provider is the person to talk too, right - I've never seen a drupal config for this type of stuff (or am I wrong?)
Regards,
Peter
_ ___________________ _
Peter Chen
(+61) 0431 994 205
peterjohnchen@yahoo.com
http://peterchen.members.grokthis.net/
hmm, no luck there
The log file is showing the Apache is logging the unique hostnames, but watchdog is not. The address it keeps logging is the server the account is hosted on, but the provider says no to a proxy issue - any more ideas?
Peter
_ ___________________ _
Peter Chen
(+61) 0431 994 205
peterjohnchen@yahoo.com
http://peterchen.members.grokthis.net/
Ah!
This thread http://drupal.org/node/20471 discusses a patch for this problem.
I'm now getting more information in the log (e.g "xxx.xxx.xxx.xxx from proxy.xxx.etc.") so here is the problem, but its not giving drupal enough to run the poll.module properly.
If anyone's got a work around, i'd be thankful,
Cheers,
P
_ ___________________ _
Peter Chen
(+61) 0431 994 205
peterjohnchen@yahoo.com
http://peterchen.members.grokthis.net/