Trying to Understand An Error Message

2007-02-06 Thread Akbar Ehsan
Hello, I have Perl/CGI script that work fine but for the fact that it logs a message in the error log file. The message is: Use of uninitialized value in concatenation (.) or string at... Despite the message, the script does what it is supposed to do. I would like to know if this message is a

Re: Trying to Understand An Error Message

2007-02-06 Thread Jonathan Mangin
- Original Message - From: Akbar Ehsan [EMAIL PROTECTED] To: beginners-cgi@perl.org Sent: Tuesday, February 06, 2007 9:26 AM Subject: Trying to Understand An Error Message Hello, I have Perl/CGI script that work fine but for the fact that it logs a message in the error log file

RE: Trying to Understand An Error Message

2007-02-06 Thread Olivier Laloux
to Understand An Error Message - Original Message - From: Akbar Ehsan [EMAIL PROTECTED] To: beginners-cgi@perl.org Sent: Tuesday, February 06, 2007 9:26 AM Subject: Trying to Understand An Error Message Hello, I have Perl/CGI script that work fine but for the fact that it logs a message

please help to solve the problem: Error message: Premature end of script headers

2004-07-09 Thread nobody
Hi all, I have received the respond from the Apache stated that: The server encountered an internal error and was unable to complete your request. Error message: Premature end of script headers: testing.cgi If you think this is a server error, please contact the webmaster. Please help me

Re: please help to solve the problem: Error message: Premature end of script headers

2004-07-09 Thread Sean Davis
from the Apache stated that: The server encountered an internal error and was unable to complete your request. Error message: Premature end of script headers: testing.cgi If you think this is a server error, please contact the webmaster. Please help me to solve this problem. PS

Re: please help to solve the problem: Error message: Premature end of script headers

2004-07-09 Thread Wiggins d Anconia
Hi all, I have received the respond from the Apache stated that: The server encountered an internal error and was unable to complete your request. Error message: Premature end of script headers: testing.cgi If you think this is a server error, please contact the webmaster

RE: The very un-useful 'premature end of script headers' error message

2003-04-02 Thread Scot Robnett
Not really. If your form allows uploads, your form allows uploads. That's where DoS comes into play. Disguising the location of your code is a start, but you still have to figure out what you're going to do if someone tries to paste rogue code into your form or hit you with an obnoxiously large

Re: The very un-useful 'premature end of script headers' error message

2003-04-01 Thread Cool Hand Luke
The answer to your question is: Be afraid, be very afraid. A wiley cracker may be able to run system commands if you allow him/her to upload code. Even without knowing that much, they could simply create a script that generates a big enough upload to cause DoS (denial of service) on your

RE: The very un-useful 'premature end of script headers' error message

2003-03-31 Thread Scot Robnett
will exit cleanly with an error message. The answer to your question is: Be afraid, be very afraid. A wiley cracker may be able to run system commands if you allow him/her to upload code. Even without knowing that much, they could simply create a script that generates a big enough upload to cause DoS

Re: The very un-useful 'premature end of script headers' error message

2003-03-31 Thread Octavian Rasnita
: http://teddy.fcc.ro/ Email: [EMAIL PROTECTED] - Original Message - From: Scot Robnett [EMAIL PROTECTED] To: Cool Hand Luke [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, March 31, 2003 10:57 PM Subject: RE: The very un-useful 'premature end of script headers' error message I was out

Re: The very un-useful 'premature end of script headers' error message

2003-03-30 Thread Cool Hand Luke
] Sent: Friday, March 28, 2003 5:44 PM Subject: Re: The very un-useful 'premature end of script headers' error message Cool == Cool Hand Luke [EMAIL PROTECTED] writes: Cool Hello All, Cool I think I figured it out, (so far). I 'm pretty sure that it has to do Cool with perl 5.003 disliking

Re: The very un-useful 'premature end of script headers' error message

2003-03-28 Thread Cool Hand Luke
script will be found in the error log. Until you can see those logs, we're just guessing. Hi just thought I'd let y'all know I've figured out how to get more effective error messages. I decided to start from scratch with the original sample script I postedhere's my error message now

RE: The very un-useful 'premature end of script headers' error message

2003-03-28 Thread Bill Burke
:44 PM To: [EMAIL PROTECTED]; Cool Hand Luke Subject: Re: The very un-useful 'premature end of script headers' error message Cool == Cool Hand Luke [EMAIL PROTECTED] writes: Cool Hello All, Cool I think I figured it out, (so far). I 'm pretty sure that it has to do Cool with perl 5.003

RE: The very un-useful 'premature end of script headers' error message

2003-03-28 Thread Bill Burke
, but not your expertise. -Original Message- From: Randal L. Schwartz [mailto:[EMAIL PROTECTED] Sent: Friday, March 28, 2003 9:29 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; Cool Hand Luke Subject: Re: The very un-useful 'premature end of script headers' error message Bill == Bill Burke

Re: Insertion of table causes syntax error-message

2002-06-04 Thread John Brooking
Vegetables?'), ... snip ... it works. Otherwise you get a Undefined subroutine main::caption called at ... error message. Is there an explanation for this? CGI.pm has two different styles, looks like you're mixing them. Basically, you've got your standard function style: use CGI qw/:standard

Re: Insertion of table causes syntax error-message

2002-06-03 Thread Richard Krause
a Undefined subroutine main::caption called at ... error message. You'll get the error as soon as yo include the caption-line or if you just write th(... (also td + Tr) instead of $q-th(... Is there an explanation for this? Richard -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Insertion of table causes syntax error-message

2002-05-31 Thread Todd Wade
Richard Krause [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi all (...) #td(['Broccoli' , 'no', 'no', 'yes']), #td(['Onions' , 'yes','yes', 'yes']) #] #) missing a comma ^

Re: Insertion of table causes syntax error-message

2002-05-30 Thread Dave K
Richard, You did take that from the 'Rat' book, but in the book use CGI qw( standard ); Allows the author to use an implicit $q- so he can write table where as you need to write $q-table, $q-Tr, $q-td etc. HTH Richard Krause [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL

Please help with error message

2001-07-03 Thread Moon, John
Can anyone explain what this error message is trying to tell me ... [03/Jul/2001:17:31:08] catastrophe (20762): for host ... trying to GET /ITP_Billing/cgi-bin/Library/JavaScripts/misc_services_menu.js, cgieng_start_ou tput reports: could not fork new process (exec() failure [Exec format error

Re: error message

2001-06-13 Thread Roger C Haslock
- - Original Message - From: Sally [EMAIL PROTECTED] To: perlcgi [EMAIL PROTECTED] Sent: Tuesday, June 12, 2001 2:34 PM Subject: error message Anyone know what this means: Premature end of script headers: I found it in my server error log, after I got an internal server error message when

error message

2001-06-12 Thread Sally
Anyone know what this means: Premature end of script headers: I found it in my server error log, after I got an internal server error message when I tried to look at a new page I'd created.

Re: error message

2001-06-12 Thread Gary Stainburn
know what this means: Premature end of script headers: I found it in my server error log, after I got an internal server error message when I tried to look at a new page I'd created. -- Gary Stainburn This email does not contain private or confidential material as it may be snooped

Re: error message

2001-06-12 Thread fliptop
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 script' to see if it compiles okay if your script compiles without

Re: error message

2001-06-12 Thread Geraint Jones
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.

Re: Re: error message

2001-06-12 Thread Mark Bergeron
Or maybe you could write a simple sub that catches any anomolies at run time and produces an Error message of your choosing. There is a good example of this in Chap. 5 of CGI Programming with Perl. You can also find the example from the chapter here: http://examples.oreilly.com/cgi2/ Good