Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
There are two possibilities here:

1. The server-side end of things is messed up, and the script can't even run. If this is the case, you need to make sure that all the files are mode 755 (chmod 0755 as an FTP command should work on prohosting, if i remember right); make sure the script is in the appropriate cgi-bin directory, and so on. You could try installing Apache on your own computer, and playing around with stuff there, to see how the server-configuration end of things works. (This assumes you're using a unix-ish OS that supports the idea of file permissions.)

2. Your script doesn't work well on their server. If this is the case, do the following:

use CGI::Carp qw(fatalsToBrowser);
Now any fatal errors (i.e. die()'s) will be sent to your browser, instead of causing an internal server error. I'm guessing this might be more reliable than your errorHTML function.

In reply to Re: Script is not producing output. by Falkkin
in thread Script is not producing output. by damian1301

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



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-03-28 22:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found