http://www.perlmonks.org?node_id=770050


in reply to Re^2: Weird error log message
in thread Weird error log message

As for the Carp module i'm already using it in all my perl files, including index.pl, so i dont have to log to cpanel every time to check the error log.

Carp is a different module. I'm assuming you mean CGI::Carp and more specifically, its fatalsToBrowser functionality.

it seems to me though that the runtime of index.pl never reaches the stage of carp module.

use statements are executed as soon as they are compiled, so the "runtime of index.pl" is moot.

So i still dont see why iam gettign these error messages, which as you say are safe to ignore,

Because the browser was told to look for those files and they don't exist.

so then why it aint producing perl error messages? Does the script try to run at all?

All I know is that your browser isn't logging everything it should. It should have logged an error message even if your script had died instantly (saying it couldn't find the CGI headers).

Replies are listed 'Best First'.
Re^4: Weird error log message
by Nik on Jun 09, 2009 at 19:39 UTC
    All I know is that your browser isn't logging everything it should. It should have logged an error message even if your script had died instantly (saying it couldn't find the CGI headers).

    Yes with Carp(short) i mean CGI::Carp qw/FatalsToBrowser/
    Perl is up and running ok in remote host just checkes again so i cant think of anything on why it doesnt work by means of producing human perl error messages. error_log doesn't help and support aint also

    i tried the simplest test cgi script with just a print "hello world!"; t see if ti runs and still get the same page missing errors which leaves me clueless as to what the real problem is. Server as i said run Perl ok though as it states in up ad runnign services.

    So what now? what can i do? iam willing to give access credentials to any of you if you want to see something i dont. I must upload the web page to remote server, locally it does work.

      print "hello world!" is not a valid CGI script. Assuming the web server even knows that should be executed using perl (due to the absence of a shebang line), it does not generate output in the format required by CGI.

      A reply falls below the community's threshold of quality. You may see it by logging in.