in reply to why am i getting script error 500
However as the server responds with a "500 server error" and you do not see the error message itself, notwitstanding the use CGI::Carp qw(fatalsToBrowser);, it looks as if CGI:/Carp is not installed on this server. This is very strange since CGI:/Carp is a core-module since Perl 5.04. So either the server has a broken Perl distribution; or has a pre-5.04 Perl running; or the cause is something entirely different. Probably the latter ...
Do other of your Perl-scripts run on the server without a problem? Did you try a very simple "Hello World" type of program to see if that works? If not, perhaps you are simply not allowed to run CGI-scripts at all?
CountZero
A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: why am i getting script error 500
by ketaki (Acolyte) on Jun 22, 2008 at 07:19 UTC | |
by CountZero (Bishop) on Jun 22, 2008 at 09:50 UTC | |
by ketaki (Acolyte) on Jun 22, 2008 at 12:34 UTC | |
by ww (Archbishop) on Jun 22, 2008 at 22:14 UTC | |
by ketaki (Acolyte) on Jun 23, 2008 at 04:03 UTC | |
|