Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
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.


Dave


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

In reply to Re: help with an error 500 messge... by davido
in thread help with an error 500 messge... by Nik

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others avoiding work at the Monastery: (3)
    As of 2021-03-01 00:41 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found

      Notices?