Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re: help with an error 500 messge...

by davido (Cardinal)
on Oct 08, 2003 at 22:42 UTC ( #297763=note: print w/replies, xml ) Need Help??

in reply to help with an error 500 messge...

Once again, Nik, your enthusiasm is exceeding the level of care in your methodology.

First, in developing a CGI script, you surely, by now, understand that there is an error log file on your webserver that will contain a more detailed description of the problem. 500 server errors should be seen as simply a flag telling you that you ought to look at the error logs to find out why your script is failing. What is the error log telling you? We need to know to help.

Better yet, use the CGI::Carp module (documentation on how to use it is provided along with this core module). With Carp you can send the "fatals" (error messages that result in program termination) to the browser so you don't have to go digging through an error log. Then tell us what fatal message is getting sent to the browser.

Next, this being your umpteenth (ok, 23rd or so) post, and having already graced the "Worst Nodes of the Week" list a couple of times, by now you should understand that for us to help we need real, concrete specifics. If you found Abigail II's quip unhelpful consider the reason; the question was similarly unhelpful. We know nothing about your script. We know nothing about the environment in which it is running (other than the fact that it's Apache 2.0.40 for Red Hat Linux), and we don't know what mistake you made any more than you do if we aren't given better clues. Just as we can't read your mind, we can't read your server's error log for you.

You are getting this error because you've instructed the server to do something it can't. That's as much as I can tell you without more information.

Come back and tell us what the error log says. Give us an example of the code that causes the error (not the whole thing, narrow it down). Then maybe we can begin to provide suggestions that assist YOU in hunting down the problem.


"If I had my life to do over again, I'd be a plumber." -- Albert Einstein

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://297763]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (9)
As of 2021-03-01 22:00 GMT
Find Nodes?
    Voting Booth?
    My favorite kind of desktop background is:

    Results (26 votes). Check out past polls.