What it means is:-
Your script crashed before finishing making a page. If you are using CGI.pm,
plant 'end_html;exit;' at various places through your script until it
generates something legible. The error can be located that way.
BTW, I endorse the fatalsToBrowser recommendation.
- Roger -
Luck,
Mark Bergeron
-Original Message-
From: "Geraint Jones"<[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Date: Tue Jun 12 08:23:21 PDT 2001
Subject: Re: error message
>Try putting the following at the beginning of your script, it helps a lot
>with deb
Try putting the following at the beginning of your script, it helps a lot
with debugging CGI:
use CGI::Carp qw/fatalsToBrowser/;
Instead of getting the usual Internal Server error, it displays the error in
your browser. Of course, make sure you have CGI first.
Gary Stainburn wrote:
>
> This is what you get when you run a CGI and the cgi terminated before
> generating any valid output. Usually this happens if the perl script
> doesn't compile and therefore doesn't run.
>
> try 'perl -c
This is what you get when you run a CGI and the cgi terminated before
generating any valid output. Usually this happens if the perl script
doesn't compile and therefore doesn't run.
try 'perl -c