RE: Trying to Understand An Error Message

2007-02-06 Thread Olivier Laloux
: Re: Trying to Understand An Error Message - Original Message - From: "Akbar Ehsan" <[EMAIL PROTECTED]> To: 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

Re: Trying to Understand An Error Message

2007-02-06 Thread Jonathan Mangin
- Original Message - From: "Akbar Ehsan" <[EMAIL PROTECTED]> To: 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. The mes

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 ha

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

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

2004-07-09 Thread Sean Davis
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 err

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. " P

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 upl

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 se

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

2003-03-31 Thread Octavian Rasnita
y's Center: 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-u

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

2003-03-31 Thread Scot Robnett
cript 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 caus

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

2003-03-31 Thread Cool Hand Luke
> just because you don't need to parse any binaries doesn't mean your users > won't try to submit one. > > don't forget anyone can create any kind of form that posts to your cgi. > so there's nothing stopping me from creating a form like this: > > http://coolhandlukesite/cgi-bin/script.cgi"; > enc

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

2003-03-31 Thread fliptop
On Sun, 30 Mar 2003 at 22:43, Cool Hand Luke opined: [reply cc'd to group] CHL:> and to offer one example as an answer to your question, how would you CHL:> parse a binary file uploaded to your script using your split(/[&;]/, CHL:> $submission) code? CHL: CHL:Not parsing any binaries, just simple

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

2003-03-30 Thread fliptop
On Sun, 30 Mar 2003 at 12:53, Cool Hand Luke opined: CHL:Now, why not? Also, notice that the code I used is not what you have quoted. CHL:Really am curious as to why not, though. because someone else has already written a pretty solid module for parsing query strings, and it's been tried and tes

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

2003-03-30 Thread Cool Hand Luke
uot;Cool Hand Luke" <[EMAIL PROTECTED]> 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,

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

2003-03-29 Thread Bill Burke
t: Re: The very un-useful 'premature end of script headers' error message On Fri, Mar 28, 2003 at 09:33:19PM -0500, Bill Burke ([EMAIL PROTECTED]) said something similar to: > I added a chat room at my site http://www.speakerscorner.us . You are > welcome there and we can discuss PER

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

2003-03-29 Thread Kevin Meltzer
nt to miss anything That's what IRC is for :) Cheers, Kevin > > -Original Message- > From: Randal L. Schwartz [mailto:[EMAIL PROTECTED] > Sent: Friday, March 28, 2003 8:44 PM > To: [EMAIL PROTECTED]; Cool Hand Luke > Subject: Re: The very un-useful 'p

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

2003-03-28 Thread Bill Burke
. Schwartz [mailto:[EMAIL PROTECTED] Sent: Saturday, March 29, 2003 12:34 AM To: Scot Robnett Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; Cool Hand Luke Subject: Re: The very un-useful 'premature end of script headers' error message >>>>> "Scot" == Scot Robnett <[

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

2003-03-28 Thread Randal L. Schwartz
> "Scot" == Scot Robnett <[EMAIL PROTECTED]> writes: Scot> Somebody better tell Nathan Patwardhan, Ellen Siever, & Stephen Scot> Spainhour then. I'm looking at the 2nd edition of PERL IN A Scot> NUTSHELL (and that is exactly how it's printed) right now. I don't have a copy of the book at han

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

2003-03-28 Thread Bill Burke
very un-useful 'premature end of script headers' error message Somebody better tell Nathan Patwardhan, Ellen Siever, & Stephen Spainhour then. I'm looking at the 2nd edition of PERL IN A NUTSHELL (and that is exactly how it's printed) right now. I knew the differe

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

2003-03-28 Thread Scot Robnett
From: Randal L. Schwartz [mailto:[EMAIL PROTECTED] Sent: Friday, March 28, 2003 11:18 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 <[EMAIL P

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

2003-03-28 Thread Bill Burke
ay, March 29, 2003 12:18 AM 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 <[EMAIL PROTECTED]> writes: Bill> Thanks for the edification. Yo

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

2003-03-28 Thread Randal L. Schwartz
> "Bill" == Bill Burke <[EMAIL PROTECTED]> writes: Bill> Thanks for the edification. You have been one of the most prolific Bill> contributors to the group, so I take no umbrage. Truly, you write it as Bill> perl, but the books label it PERL (Practical Extraction and Reporting Bill> Language).

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

2003-03-28 Thread Bill Burke
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 >>&g

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

2003-03-28 Thread Randal L. Schwartz
> "Bill" == Bill Burke <[EMAIL PROTECTED]> writes: Bill> I added a chat room at my site http://www.speakerscorner.us . You are Bill> welcome there and we can discuss PERL in real time. Don't quit the user Bill> group though, you won't want to miss anything And there's no such thing as "PERL".

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

2003-03-28 Thread Bill Burke
28, 2003 8: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

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

2003-03-28 Thread Randal L. Schwartz
> "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 the looping with the "my $pair" syntax. Cool> As a work around, I changed this Cool> foreach my $pai

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

2003-03-28 Thread Cool Hand Luke
> 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. > > Missing

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

2003-03-26 Thread Cool Hand Luke
nything in the error logs. Thanks! Luke - Original Message - From: "Dennis G. Wicks" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 26, 2003 7:04 PM Subject: Re: The very un-useful 'premature end of script headers' error message >

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

2003-03-26 Thread Dennis G. Wicks
gt;, [EMAIL PROTECTED] > Subject: Re: The very un-useful 'premature end of script headers' error > message > > Hi Scott, > Thanks for the reply. I tried using your code (I'm a beginner with the > cgi module so please let me know if I made any obvious errors) and

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

2003-03-26 Thread Cool Hand Luke
ser it gives me that same error message. Also, this server is using version 5.003, which I know is not a good idea because there are problems with output buffering, is this perhaps the source? Thanks, Luke #!/usr/bin/perl -w use strict; use CGI qw(:all); use CGI::Carp qw(fatalsToBrowser); #

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

2003-03-26 Thread Scot Robnett
: Cool Hand Luke [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 5:52 PM To: [EMAIL PROTECTED] Subject: Re: The very un-useful 'premature end of script headers' error message BTW, that's Stronghold/Apache version 1.3.4 if that helps... Thanks Again Luke - Original Messag

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

2003-03-26 Thread Cool Hand Luke
BTW, that's Stronghold/Apache version 1.3.4 if that helps... Thanks Again Luke - Original Message - From: "Cool Hand Luke" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 26, 2003 3:41 PM Subject: The very un-useful 'premature end of scri

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

2003-03-26 Thread Cool Hand Luke
Hi there, I am having the toughest time trying to run perl scripts on this Stronghold Apache SSL server I am working with for my company. Everything I run returns the same 'premature end of script headers' error message. This has happened with every script I've run except the m

Re: Insertion of table causes syntax error-message

2002-06-04 Thread John Brooking
rder=>undef}, >caption('When Should You Eat Your > Vegetables?'), > > ... ... > > it works. Otherwise you get a "Undefined subroutine > &main::caption called at > ..." error message. > > Is there an explanation for this? CG

Re: Insertion of table causes syntax error-message

2002-06-03 Thread Richard Krause
kfast','Lunch','Dinner']), td(['Tomatoes' , 'no', 'yes', 'yes']), td(['Broccoli' , 'no', 'no', 'yes']), td(['Onions' , 'yes','yes&#x

Re: Insertion of table causes syntax error-message

2002-05-30 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

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:[E

Insertion of table causes syntax error-message

2002-05-30 Thread Richard Krause
Hi all I'd like to generate a html page in a subroutine of my guestbook but I get a syntax error pointing to the line where $q->end_html; is written as soon as I include a table. If executed without the table, the script runs well. (the table is copied from perldoc.cgi and its content will be rep

RE: Reposting - Please help with error message

2001-07-05 Thread Moon, John
.. -Original Message- From: fliptop [mailto:[EMAIL PROTECTED]] Sent: July 05, 2001 17:37 To: Moon, John Subject: Re: Reposting - Please help with error message "Moon, John" wrote: > > -src=>'Library/JavaScripts/misc_services_menu.js'}); does

Reposting - Please help with error message

2001-07-05 Thread Moon, John
Can any one help with this error message ... What is it trying to tell me ? Any suggestions as where to look ? I found a vague ref. to LD_LIBRARY_PATH and tried setting that in BEGIN - $ENV{LD_LIBRARY_PATH} .= ':/ITP_Billing/cgi-bin/Library/JavaScripts';- to no avail ... ---

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
. - Roger - - 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

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

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: 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

Re: error message

2001-06-12 Thread Gary Stainburn
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

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.