Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re^4: Weird error log message

by Nik
on Jun 09, 2009 at 19:39 UTC ( #770071=note: print w/replies, xml ) Need Help??

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

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.

Replies are listed 'Best First'.
Re^5: Weird error log message
by ikegami (Pope) on Jun 09, 2009 at 19:55 UTC

    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.

      i meant with CGI use of course and other use statement, i just stated the main code, shich still doesnt work.

        It's been loads of fun guessing what you mean. I'm not going to bother guessing if you're script is actually correct. Because it is, of course.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://770071]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2018-05-27 03:54 GMT
Find Nodes?
    Voting Booth?