Home Menu

Menu


Reply
Thread Tools Display Modes
  #1  
Old Oct 10, 2001, 10:48 PM
daveg daveg is offline
Junior Member
 
Member Since: Jul 2001
Posts: 9
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 Thanks!!

[Wed Oct 10 23:43:55 2001] pod.cgi: Name "main:od_usequery" used only once: possible typo at /www/cgi-bin/pod.cgi line 75.
[Wed Oct 10 23:43:55 2001] pod.cgi: Name "main:od_cgi_cat" used only once: possible typo at /www/cgi-bin/pod.cgi line 360.
[Wed Oct 10 23:43:55 2001] pod.cgi: Name "main:od_medtable" used only once: possible typo at /www/cgi-bin/pod.cgi line 321.
[Wed Oct 10 23:43:55 2001] pod.cgi: Name "main:od_modperl" used only once: possible typo at /www/cgi-bin/pod.cgi line 44.
[Wed Oct 10 23:43:55 2001] pod.cgi: Name "main:od_expire_in" used only once: possible typo at /www/cgi-bin/pod.cgi line 102.
[Wed Oct 10 23:43:55 2001] pod.cgi: Name "main:od_editortable" used only once: possible typo at /www/cgi-bin/pod.cgi line 225.
[Wed Oct 10 23:43:55 2001] pod.cgi: Name "main:od_headersuppress" used only once: possible typo at /www/cgi-bin/pod.cgi line 119.
[Wed Oct 10 23:43:55 2001] pod.cgi: Name "main:od_shortname" used only once: possible typo at /www/cgi-bin/pod.cgi line 209.
[Wed Oct 10 23:43:55 2001] pod.cgi: Name "main:od_titlestyle" used only once: possible typo at /www/cgi-bin/pod.cgi line 172.
[Wed Oct 10 23:43:55 2001] pod.cgi: Name "main:od_name" used only once: possible typo at /www/cgi-bin/pod.cgi line 172.
[Wed Oct 10 23:43:55 2001] pod.cgi: Name "main:od_useragent" used only once: possible typo at /www/cgi-bin/pod.cgi line 470.
[Wed Oct 10 23:43:55 2001] pod.cgi: Name "main:od_addtable" used only once: possible typo at /www/cgi-bin/pod.cgi line 200.
[Wed Oct 10 23:43:55 2001] pod.cgi: Name "main:od_cgi_all" used only once: possible typo at /www/cgi-bin/pod.cgi line 357.
[Wed Oct 10 23:43:55 2001] pod.cgi: Name "main:od_myhome" used only once: possible typo at /www/cgi-bin/pod.cgi line 209.
[Wed Oct 10 23:43:55 2001] pod.cgi: Name "main:od_faqtext" used only once: possible typo at /www/cgi-bin/pod.cgi line 199.
[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.


advertisement
  #2  
Old Oct 16, 2001, 02:53 PM
DocJohn's Avatar
DocJohn DocJohn is offline
Founder & Your Host
Community Support Team
Chat Leader
 
Member Since: May 2001
Location: Greater Boston, MA
Posts: 13,794
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  
Old Oct 16, 2001, 08:32 PM
splash's Avatar
splash splash is offline
Member
 
Member Since: May 2001
Location: Massachusetts, USA
Posts: 176
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  
Old Oct 29, 2001, 09:53 PM
Mik Mik is offline
New Member
 
Member Since: Oct 2001
Location: Scotland
Posts: 5
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
__________________

...footprints">Mik@
...footprints
in the sands of time
  #5  
Old Oct 30, 2001, 08:35 PM
daveg daveg is offline
Junior Member
 
Member Since: Jul 2001
Posts: 9
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
Views: 537

attentionThis is an old thread. You probably should not post your reply to it, as the original poster is unlikely to see it.



Similar Threads
Thread Thread Starter Forum Replies Last Post
writing him off... Psychotherapy 19 Apr 23, 2007 01:39 AM
lOST WHAT i WAS WRITING wisewoman Depression 5 Oct 07, 2006 09:32 PM
Writing about sex Lexicon78 Self Injury 4 Nov 17, 2004 12:05 AM


All times are GMT -5. The time now is 05:42 PM.
Powered by vBulletin® — Copyright © 2000 - 2025, Jelsoft Enterprises Ltd.




 

My Support Forums

My Support Forums is the online community that was originally begun as the Psych Central Forums in 2001. It now runs as an independent self-help support group community for mental health, personality, and psychological issues and is overseen by a group of dedicated, caring volunteers from around the world.

 

Helplines and Lifelines

The material on this site is for informational purposes only, and is not a substitute for medical advice, diagnosis or treatment provided by a qualified health care provider.

Always consult your doctor or mental health professional before trying anything you read here.