Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re^10: Weird error log message

by Nik
on Jun 10, 2009 at 14:54 UTC ( #770362=note: print w/replies, xml ) Need Help??

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

But Apche i do use locally and apache is also runnign in the remote server. Iam not trying it only as 'perl -c' to tell me its ok, but i run it in broswer, the same thign i expect from the remote server.

So ikegami, sinc those 2 files are not the real problem what is your theory as to why the script dies instantly without producing a normal perl error? why Cgi::Carp doestn give us details for the error? does the program execution even reach the sue statements? What do you think? Support dont answer my mails cause iam in there for free and i dont know what else to think.

Replies are listed 'Best First'.
Re^11: Weird error log message
by ikegami (Pope) on Jun 10, 2009 at 15:10 UTC
    It seems that your script isn't getting executed as a Perl script (assuming the script you show is the one being executed) or isn't getting executed as a CGI script. I have no idea why.
      Is there a way to verify how the script runs -under what condiotions? maybe rename the extension to .cgi? Would that help? Is there really anything i could do to make it work?
        Yes, examine your webserver configuration and logs, and consult your webservers manual.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://770362]
[ovedpo15]: can't I use just use lib $FindBin::Bin/../ bin" asuming that p2 is in ./bin and p1 is in /config? it says "cant find" altought p2 is
[moritz]: ovedpo15 "use lib" is only for .pm files
[moritz]: if you don't have .pm file, you might to use "require" or "do" with an absolute path

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2018-03-17 20:43 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (226 votes). Check out past polls.