![]() |
FAQ/Help |
Calendar |
Search |
#1
|
|||
|
|||
I need to stop POD from writing errors to my servers error_log .. is there any way to do this?
After being assessed a couple hundred dollars in "storage" fees last month due to large log files, my host helped me turn off all logging via an httpd.conf file. Despite this, the POD script continues to write a massive error log (in the server's normal error_log spot) of what seems to be nonsense (since it works fine). I pasted the log error below just for reference, but I really need to stop the logging ASAP before I get charged too much more ![]() [Wed Oct 10 23:43:55 2001] pod.cgi: Name "main: ![]() [Wed Oct 10 23:43:55 2001] pod.cgi: Name "main: ![]() [Wed Oct 10 23:43:55 2001] pod.cgi: Name "main: ![]() [Wed Oct 10 23:43:55 2001] pod.cgi: Name "main: ![]() [Wed Oct 10 23:43:55 2001] pod.cgi: Name "main: ![]() [Wed Oct 10 23:43:55 2001] pod.cgi: Name "main: ![]() [Wed Oct 10 23:43:55 2001] pod.cgi: Name "main: ![]() [Wed Oct 10 23:43:55 2001] pod.cgi: Name "main: ![]() [Wed Oct 10 23:43:55 2001] pod.cgi: Name "main: ![]() [Wed Oct 10 23:43:55 2001] pod.cgi: Name "main: ![]() [Wed Oct 10 23:43:55 2001] pod.cgi: Name "main: ![]() [Wed Oct 10 23:43:55 2001] pod.cgi: Name "main: ![]() [Wed Oct 10 23:43:55 2001] pod.cgi: Name "main: ![]() [Wed Oct 10 23:43:55 2001] pod.cgi: Name "main: ![]() [Wed Oct 10 23:43:55 2001] pod.cgi: Name "main: ![]() [Wed Oct 10 23:43:55 2001] pod.cgi: Use of uninitialized value at /www/cgi-bin/pod.cgi line 83. [Wed Oct 10 23:43:55 2001] pod.cgi: Use of uninitialized value at /www/cgi-bin/pod.cgi line 84. [Wed Oct 10 23:43:55 2001] pod.cgi: Use of uninitialized value at /www/cgi-bin/pod.cgi line 428. |
#2
|
||||
|
||||
I'm no perl guru, but I suspect that your ISP has perl running in taint mode automatically (check to ensure that the first line of your doesn't have perl -T on it).
I'm not exactly certain what the solution is, but you might try putting the word "my" in front of when the variable is first defined in podvars.pm, such as: my $pod_usequery = 1; I have no idea if this will change anything, but it's worth a shot. John
__________________
Don't throw away your shot. |
#3
|
||||
|
||||
hi daveg,
a couple hundred dollars??! ouch! i know nothing about perl, just java, and even that's a little sketchy, but i do like to try to solve problems. here's a <A target="_blank" HREF=http://www.oreilly.com/openbook/cgi/ch12_01.html>link to a page on O'Reilly.com</A> that may provide some help. good luck. splash |
#4
|
|||
|
|||
Hi Daveg
Do you really need the error log? I was having a problem with mine as well. I ended up with 150 e-mails in my inbox. It has something to do with the way the script pulls the pages seemingly from your own site. I think that you could possibly overide this by using .htaccess in the pod directory but I don't know how to do it .... yet I just turned off the mail option in my error script. Mik@ ![]() ...footprints in the sands of time |
#5
|
|||
|
|||
Hey,
I've been busy just trying to move to a new hosting company. I switched to tera-byte and then found out they don't have HTTP or LWP installed and won't help me install it either (so POD can't run). But make sure that even with e-mails off you don't wind up with a bill for storage. My error log from POD alone was over 500MB in one month. |
Reply |
|
![]() |
||||
Thread | Forum | |||
writing him off... | Psychotherapy | |||
lOST WHAT i WAS WRITING | Depression | |||
Writing about sex | Self Injury |