I am trying to set up this
trouble ticket system and it's driving me nuts!!! I have checked, rechecked, then checked againe to ensure that variables and permissions are set correctly. In fact, with each script/library included in this package, I ran
perl -cw script-nameand aside from the "filehandle used only once" warnings I get because the person who wrote this didn't "use strict", or -w, each component passes syntax check.
Additionally, I can run the code by hand, redirect the output to an html doc, and bring it up in my browser, no problem.
For brevity's sake, I am not posting 283 lines of code, but follow the link above, and you'll find the packacge I am referring to. The specific file that is causing me problems is index.cgi. My Apache error log says,
[Fri Jun 29 21:47:17 2001] [error] (2)No such file or directory: exec
+of /var/www/cgi-bin/index.cgi failed
[Fri Jun 29 21:47:17 2001] [error] [client 127.0.0.1] Premature end of
+ script headers: /var/www/cgi-bin/index.cgi
HEELLLLPPPP!!!!
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, details, 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, summary, 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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.