I got two for you wizzies:
1. I've written this cgi perl program. It worked great and everything. I made several changes, all of which valid. I've uploaded the program with the new changes, and suddenly it stopped working, giving me (with cgi::carp and fatalstobrowser) this error: Execution of /path-to/downloads.pl aborted due to compilation errors.
The debugger gives no errors nor warnings. The script is chmoded 755 and the perl path is correct. I've uploaded the script to 2 of the other servers my site uses and it works there. What might cause such a problem?!
2. I've written another script. This one is kinda simple Photo Album script. It's still under developement. Anyway I haven't used CGI.pm's functions and object's with it so I decided to go through all the script and change it to use CGI.pm's object capabilities. I haven't used CGI.pm's HTML shortcuts cause they really confuse me (The same goes to why I don't use strict). I use CGI::Carp with fatalsToBrowser to catch error message. Perl path is correct, script is chmoded 755, no error messages nor warning using perl debugger. Before changes, the script worked, now I don't even get the CGI::Carp error messages, just that darned 500 error message. If anyone can please check and tell me what might cause this, I will be very gratefull. I've put it on a text file here: http://www.bnei-yehoda.co.il/coranto/picturecg.txt
Thanks again guys
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.