For Programmers: Free Programming Magazines  


Home > Archive > PERL CGI Beginners > November 2006 > CGI script doesnt run properly via WEB









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author CGI script doesnt run properly via WEB
gregorda

2006-11-14, 8:07 am

Hi
I need some help here.
I try to use Log::Trivial module that enable very simple log writing.
The problem is that when script invoked directly it does his job ( i.e. ./script.cgi )
but when it's running as cgi script ( i.e. HTML sends request to apache and apche runs the script ), I get the following error:
"Can't use an undefined value as a symbol reference at /usr/lib/perl5/site_perl/5.8.0/Log/Trivial.pm line 169 "
Actually I did not some special configuration on apache server.
Please help
Thanks
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com