>>
>>
>> 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
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{
>
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
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
> --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
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.
> 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
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
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
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
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
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
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
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
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
>>>>> "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
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
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)
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
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
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
21 matches
Mail list logo