Re: Premature end of script headers: syncscript.pl

2011-04-15 Thread Agnello George
>> >> >> i even tried the following : >> >> >> sub some_sub { >>  $DBH_local = DBI->connect("DBI:mysql::192.168.1.26", "all_user", >> "all_passwd") || return 0  ; >> >>  } ; >> >> } >> >> >> but this too doesn't work . gives me the same error "Internal server error " >> >> Please help me with this

Re: Premature end of script headers: syncscript.pl

2011-04-15 Thread Doug
er error > and the apache logs gives me Premature end of script headers: > syncscript.pl   , But if i am able to connect to the remote host  then > my code works fine > > > print "Content-type: text/html\n\n"; > : > : > : > sub some_sub { > eval{ >

Premature end of script headers: syncscript.pl

2011-04-15 Thread Agnello George
Hi All In my code i am trying to connect to a db if it fails it should return 0 , this a web based script and it throws me internal server error and the apache logs gives me Premature end of script headers: syncscript.pl , But if i am able to connect to the remote host then my code works fine

Re: Premature end of script headers

2005-02-08 Thread John W. Krahn
vishwas bhakit wrote: hello, Hello, I am getting following error. Premature end of script headers Can anybody plz tell me what is the cause of this. perldoc perldiag [snip] Premature end of script headers See Server error. [snip] Server error This is the

Re: Premature end of script headers

2005-02-08 Thread Lawrence Statton
> --0-533587995-1107883018=:92269 > Content-Type: text/plain; charset=iso-8859-1 > Content-Transfer-Encoding: 8bit > > hello, > > I am getting following error. > > Premature end of script headers > > Can anybody plz tell me > what is the cause of this. &g

Premature end of script headers

2005-02-08 Thread vishwas bhakit
hello, I am getting following error. Premature end of script headers Can anybody plz tell me what is the cause of this. Thnx in advance Yahoo! India Matrimony: Find your life partneronline.

Re: CGI: Premature end of script headers

2004-01-15 Thread Wiggins d Anconia
> I've installed AM Lite on an HP-UX 11.0 system running Apache 2 with PERL > 5.8.0. When accessing http://root/cgi-bin/amadmin.pl, I get the following > error: > > Server error! > Error message: > Premature end of script headers: /opt/apache2/lib/htdocs/cgi-bin/amadmin

CGI: Premature end of script headers

2004-01-15 Thread PerlDiscuss - Perl Newsgroups and mailing lists
I've installed AM Lite on an HP-UX 11.0 system running Apache 2 with PERL 5.8.0. When accessing http://root/cgi-bin/amadmin.pl, I get the following error: Server error! Error message: Premature end of script headers: /opt/apache2/lib/htdocs/cgi-bin/amadmin.pl If you think this is a server

Re: Premature end of script headers

2003-02-06 Thread toplijst.org
That's it ! thanks, Martin - Original Message - From: "Rob Dixon" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 06, 2003 3:28 PM Subject: Re: Premature end of script headers > Zegdatwel wrote: > > hi, > > > > &q

Re: Premature end of script headers

2003-02-06 Thread Rob Dixon
Zegdatwel wrote: > hi, > > "Premature end of script headers" > > what can this mean...it's in the error log. When does this happen? I > got error 500 when executing script. Check the permission settings on your script. try chmod 755. HTH, Rob -- To unsu

Premature end of script headers

2003-02-06 Thread zegdatwel
hi, "Premature end of script headers" what can this mean...it's in the error log. When does this happen? I got error 500 when executing script. Martin

Re: Perplexing server error (premature end of script headers)

2002-02-14 Thread zentara
On Wed, 13 Feb 2002 15:54:16 -0500, [EMAIL PROTECTED] (Peter Cline) wrote: >I am getting a premature end of script headers error when running a >particular script from a browser. It runs fine the command line, printing >the proper header and all. Just out of curiosity I tried to

Re: Perplexing server error (premature end of script headers)

2002-02-14 Thread zentara
On Wed, 13 Feb 2002 15:54:16 -0500, [EMAIL PROTECTED] (Peter Cline) wrote: >I am getting a premature end of script headers error when running a >particular script from a browser. It runs fine the command line, printing >the proper header and all. The first thing to do is check t

Perplexing server error (premature end of script headers)

2002-02-13 Thread Peter Cline
I am getting a premature end of script headers error when running a particular script from a browser. It runs fine the command line, printing the proper header and all. I use the CGI.pm module to print the header, and do not print anything prior to the header. I do not understand why this

Premature end of script headers FRUSTRATION

2001-11-01 Thread SAWMaster
Hello again group. I've been stareing at this for ages trying to figure out why it's not working, I can't see why it's not. Am I blind? I think my trouble is in the very last section. What I'm trying to do is when a user hits "back" after clicking an item to put in his/her cart, the button is

Re: Premature end of script headers

2001-09-19 Thread Randal L. Schwartz
>>>>> "Brett" == Brett W McCoy <[EMAIL PROTECTED]> writes: Brett> On Wed, 19 Sep 2001, SAWMaster wrote: >> What is wrong with this line? >> >> print qq~\n~; >> >> >> Some reserved word in there? >> >> The erro

Re: Premature end of script headers

2001-09-19 Thread Brett W. McCoy
On Wed, 19 Sep 2001, SAWMaster wrote: > #!c:\perl\bin\perl -w > > use DBI; > $dbh = DBI->connect('dbi:ODBC:gallery'); > print "Content-type: text/html\n\n"; > print qq~ TYPE="text/css">~; > print qq~\n~; > print qq~\nOnline Gallery\n\n~; > $sqlstatement="SELECT pid, name, description, picture, op

Re: Premature end of script headers

2001-09-19 Thread Brett W. McCoy
On Wed, 19 Sep 2001, SAWMaster wrote: > What is wrong with this line? > > print qq~\n~; > > > Some reserved word in there? > > The error is "Premature end of script headersif that helps. > > If I take that line out it works fine (CGI wise, not HTML wise)

Premature end of script headers

2001-09-19 Thread SAWMaster
What is wrong with this line? print qq~\n~; Some reserved word in there? The error is "Premature end of script headersif that helps. If I take that line out it works fine (CGI wise, not HTML wise) Can someone help me? -Dave

Re: Premature End of Script Headers

2001-08-17 Thread [EMAIL PROTECTED]
Are you sending the correct HTTP headers? print "Content-type: text/html\n\n"; # without CGI.pm print header(); # When using CGI.pm > I have been unable to get a .cgi script to work on my website. I accessed > the error log and saw the following errors: "Premature En

Premature End of Script Headers

2001-08-17 Thread Jonathan M. Morgan
I have been unable to get a .cgi script to work on my website. I accessed the error log and saw the following errors: "Premature End of Script Headers" and "Client Sent Malformed Host Header". Can someone please tell me what these errors mean and how I can fix them? Thus fa