You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Sherwin Daganato <wi...@email.com.ph> on 2000/08/24 15:00:30 UTC
Timeout
I have a 400+ line embperl page and i'm using it with perl DBI.
Does anyone knows why the line below appeared on top of my page?
I already tried it in IE and Netscape.
Thanks.
HTTP/1.1 200 OK Date: Thu, 24 Aug 2000 12:55:49 GMT Server: Apache/1.3.12
(Unix) (Red Hat/Linux) PHP/3.0.12 mod_perl/1.24 Content-Length: 54830
Keep-Alive: timeout=15, max=100 Connection: Keep-Alive Content-Type:
text/html; charset=iso-8859-1
Re(2): Re(2): Timeout
Posted by Sherwin Daganato <wi...@email.com.ph>.
Thank you to the ff:
olivier@akio-solutions.com
jcushman@davanita.com
and to you Gerald.
I found a print statement not in my emperl page but
in my perl module.
Thanks again.
richter@ecos.de writes:
>There is some print out before the headers, either other headers or
>something from a print.
>
>Do a (you must have install Perl's libwww)
>
>GET -e <URL>
>
>to see the full output includeing all headers
>
>Gerald
Re: Re(2): Timeout
Posted by Gerald Richter <ri...@ecos.de>.
> Thank you for responding.
>
> But i'm not using any print statement.
> I'm actually fetching 124 rows from two tables contained in two database
> and display it in embperl page. The result page is just 57kb.
>
There is some print out before the headers, either other headers or
something from a print.
Do a (you must have install Perl's libwww)
GET -e <URL>
to see the full output includeing all headers
Gerald
> sherwin
>
>
> olivier@akio-solutions.com writes:
> >Sherwin Daganato wrote:
> >
> >> I have a 400+ line embperl page and i'm using it with perl DBI.
> >> Does anyone knows why the line below appeared on top of my page?
> >> I already tried it in IE and Netscape.
> >> Thanks.
> >>
> >> HTTP/1.1 200 OK Date: Thu, 24 Aug 2000 12:55:49 GMT Server:
> >Apache/1.3.12
> >> (Unix) (Red Hat/Linux) PHP/3.0.12 mod_perl/1.24 Content-Length: 54830
> >> Keep-Alive: timeout=15, max=100 Connection: Keep-Alive Content-Type:
> >> text/html; charset=iso-8859-1
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> >> For additional commands, e-mail: embperl-help@perl.apache.org
> >
> >If you are using print in an embperl document you will have to Configure
> >apache to redirect STDOUT to the stream of emperl document...
> >
> >PerlSetEnv EMBPERL_OPTIONS 16386 #works, see HTML::Embperl doc to learn
> >more...
> >
> >Or you can : print OUT "hello";
> >
> >Hope it's help.
> >
> >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> >For additional commands, e-mail: embperl-help@perl.apache.org
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org
>
>
>
Re(2): Timeout
Posted by Sherwin Daganato <wi...@email.com.ph>.
Thank you for responding.
But i'm not using any print statement.
I'm actually fetching 124 rows from two tables contained in two database
and display it in embperl page. The result page is just 57kb.
sherwin
olivier@akio-solutions.com writes:
>Sherwin Daganato wrote:
>
>> I have a 400+ line embperl page and i'm using it with perl DBI.
>> Does anyone knows why the line below appeared on top of my page?
>> I already tried it in IE and Netscape.
>> Thanks.
>>
>> HTTP/1.1 200 OK Date: Thu, 24 Aug 2000 12:55:49 GMT Server:
>Apache/1.3.12
>> (Unix) (Red Hat/Linux) PHP/3.0.12 mod_perl/1.24 Content-Length: 54830
>> Keep-Alive: timeout=15, max=100 Connection: Keep-Alive Content-Type:
>> text/html; charset=iso-8859-1
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
>> For additional commands, e-mail: embperl-help@perl.apache.org
>
>If you are using print in an embperl document you will have to Configure
>apache to redirect STDOUT to the stream of emperl document...
>
>PerlSetEnv EMBPERL_OPTIONS 16386 #works, see HTML::Embperl doc to learn
>more...
>
>Or you can : print OUT "hello";
>
>Hope it's help.
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
>For additional commands, e-mail: embperl-help@perl.apache.org
>
Re: Timeout
Posted by Nouguier <ol...@akio-solutions.com>.
Sherwin Daganato wrote:
> I have a 400+ line embperl page and i'm using it with perl DBI.
> Does anyone knows why the line below appeared on top of my page?
> I already tried it in IE and Netscape.
> Thanks.
>
> HTTP/1.1 200 OK Date: Thu, 24 Aug 2000 12:55:49 GMT Server: Apache/1.3.12
> (Unix) (Red Hat/Linux) PHP/3.0.12 mod_perl/1.24 Content-Length: 54830
> Keep-Alive: timeout=15, max=100 Connection: Keep-Alive Content-Type:
> text/html; charset=iso-8859-1
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org
If you are using print in an embperl document you will have to Configure
apache to redirect STDOUT to the stream of emperl document...
PerlSetEnv EMBPERL_OPTIONS 16386 #works, see HTML::Embperl doc to learn
more...
Or you can : print OUT "hello";
Hope it's help.
Re: Timeout
Posted by jc...@davanita.com.
Well, I call tell you *what* is happening:: a couple of line breaks are
somehow being inserted into your headers, causing whatever comes after
them to be treated as content. Try calling your page from lwp-response
with the show headers option.
Unfortunately, I can't tell you why this is happening. I had this problem
when I used Embperl from a content handler -- that instance of Embperl
sent *it's* headers, and then the normal processing of the page sent some
more headers... Is it possible you have two layers running that both send
headers?
Sorry I have no definitive answer...
--Jack
On Thu, 24 Aug 2000, Sherwin Daganato wrote:
> I have a 400+ line embperl page and i'm using it with perl DBI.
> Does anyone knows why the line below appeared on top of my page?
> I already tried it in IE and Netscape.
> Thanks.
>
>
>
> HTTP/1.1 200 OK Date: Thu, 24 Aug 2000 12:55:49 GMT Server: Apache/1.3.12
> (Unix) (Red Hat/Linux) PHP/3.0.12 mod_perl/1.24 Content-Length: 54830
> Keep-Alive: timeout=15, max=100 Connection: Keep-Alive Content-Type:
> text/html; charset=iso-8859-1
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org
>