Re: cgi and mod_perl-1.26, Apache-1.27, perl-5.8.0, FreeBSD failwith 'The document contained no data'

2003-02-04 Thread Stas Bekman
Lee Goddard wrote: I don't know: you're doing this: print "Content-type: text/plain\n\n"; print "Hello World\n"; Does it (probably not) make any difference if you do a full CRLF, as perldoc perlop: For example, most networking protocols expect and prefer a CR+LF (""\015\012"" or ""\cM\

Re: cgi and mod_perl-1.26, Apache-1.27, perl-5.8.0, FreeBSD failwith 'The document contained no data'

2003-02-04 Thread George Savvides
Hi guys, Thanks for your replies. Problem still not solved but I'll let you know if I find an answer. George. Lee Goddard wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: MD5 > > Hi Stas, > > On Tuesday, February 4, 2003 at 2:47:43 AM, you wrote: > > SB> Lee Goddard wrote: > SB> [...

Re[2]: cgi and mod_perl-1.26, Apache-1.27, perl-5.8.0, FreeBSD failwith 'The document contained no data'

2003-02-04 Thread Lee Goddard
-BEGIN PGP SIGNED MESSAGE- Hash: MD5 Hi Stas, On Tuesday, February 4, 2003 at 2:47:43 AM, you wrote: SB> Lee Goddard wrote: SB> [...] >> I don't know: you're doing this: >> >> print "Content-type: text/plain\n\n"; >> print "Hello World\n"; >> >> Does it (probably not) make any differ

Re: cgi and mod_perl-1.26, Apache-1.27, perl-5.8.0, FreeBSD failwith 'The document contained no data'

2003-02-03 Thread Stas Bekman
Lee Goddard wrote: [...] I don't know: you're doing this: print "Content-type: text/plain\n\n"; print "Hello World\n"; Does it (probably not) make any difference if you do a full CRLF, as perldoc perlop: For example, most networking protocols expect and prefer a CR+LF (""\015\012""

Re[2]: cgi and mod_perl-1.26, Apache-1.27, perl-5.8.0, FreeBSD failwith 'The document contained no data'

2003-02-03 Thread Lee Goddard
-BEGIN PGP SIGNED MESSAGE- Hash: MD5 Hi George, On Monday, February 3, 2003 at 10:47:47 PM, you wrote: GS> Hi Lee, GS> Thanks for your reply. I tried the script you sent and it failed GS> with "document contains no data". This is odd because I GS> previously found that mod_perl API sc

Re: cgi and mod_perl-1.26, Apache-1.27, perl-5.8.0, FreeBSD failwith 'The document contained no data'

2003-02-03 Thread George Savvides
anuals or newsgroups. Problem summary --- Scripts running under mod_perl fail. Netscape returns the popup 'The document contained no data' Nothing is printed in the browser window. Scripts that use the mod_perl api work OK. Example scripts --- The cgi scri

Re[2]: cgi and mod_perl-1.26, Apache-1.27, perl-5.8.0, FreeBSD failwith 'The document contained no data'

2003-02-02 Thread Lee Goddard
-BEGIN PGP SIGNED MESSAGE- Hash: MD5 Hi George, I've not seen any of this thread other than what's below, but have you had all the headers output correctly? Try running this after setting $url, and see what you get: use LWP::UserAgent; $url = "http://195.117.126.24";; $ua = LWP::UserAge

Re: cgi and mod_perl-1.26, Apache-1.27, perl-5.8.0, FreeBSD failwith 'The document contained no data'

2003-02-02 Thread George Savvides
Hi Stas, Thanks for your reply. The file perms are correct and nothing is printed to the logs. The scripts do run. If you write a script with a redirect in it for instance, the redirect is made. They just don't seem to print anything to stdout. Regards, George Savvides. Stas Bekman wrote:

Re: cgi and mod_perl-1.26, Apache-1.27, perl-5.8.0, FreeBSD failwith 'The document contained no data'

2003-01-30 Thread Stas Bekman
under mod_perl fail. Netscape returns the popup 'The document contained no data' Nothing is printed in the browser window. Scripts that use the mod_perl api work OK. Example scripts --- The cgi script below fails. #!/usr/bin/perl -w print "Content-type: text/pl

cgi and mod_perl-1.26, Apache-1.27, perl-5.8.0, FreeBSD fail with 'The document contained no data'

2003-01-30 Thread George Savvides
. Netscape returns the popup 'The document contained no data' Nothing is printed in the browser window. Scripts that use the mod_perl api work OK. Example scripts --- The cgi script below fails. #!/usr/bin/perl -w print "Content-type: text/plain\n\n"; print &q

Re: Document Contained No Data

2000-12-12 Thread Brett Paden
ipt to a mod_perl script, however when I > try to run the script I can a "Document contained no data error". I was > wondering if there are some standard causes for this kind of error. > Thanks in advance for any help. > > Joe Grastara > Project Assistant > Digital Media C

Re: Document Contained No Data

2000-12-12 Thread Stas Bekman
> I am trying to convert a cgi script to a mod_perl script, however when I > try to run the script I can a "Document contained no data error". I was > wondering if there are some standard causes for this kind of error. http://perl.apache.org/guide/debug.html#Curing_The_I

Document Contained No Data

2000-12-12 Thread Joe Grastara
I am trying to convert a cgi script to a mod_perl script, however when I try to run the script I can a "Document contained no data error". I was wondering if there are some standard causes for this kind of error. Thanks in advance for any help. Joe Grastara Project Assistant Dig

Re: document contained no data

2000-06-22 Thread Steven Zhu
This script should do sql things. After processing sql thing, it shoulld print some output. Now sql thing is correct because i can see that the data was in database, but output got this message. So i don't think that DB connection is timing out. Thanks for your reply "Erich L. Markert" wrote: >

Re: document contained no data

2000-06-22 Thread Erich L. Markert
One other thing... Make sure your DB connections are timing out. Blue wrote: > > On Wed, 21 Jun 2000, darren chamberlain wrote: > > > The problem seems to arise when your handler returns something (a status > > code) but hasn't send any data. Turning off buffering ($|) will only help > > if you

Re: document contained no data

2000-06-21 Thread Blue
On Wed, 21 Jun 2000, darren chamberlain wrote: > The problem seems to arise when your handler returns something (a status > code) but hasn't send any data. Turning off buffering ($|) will only help > if you actually send something. Try telnetting to port 80 on the web server > and issue some HTTP

Re: document contained no data

2000-06-21 Thread darren chamberlain
mes it popups a window with message > "The document contained no data Try again later, or contact the server's > administrator". It seems that the print statement does not work fine. > Any idea. > Thank in advance for your quick reply. > > Steven. This probably won&#x

Re: document contained no data

2000-06-21 Thread Steven Zhu
opups a window with > message > "The document contained no data Try again later, or contact the server's > administrator". It seems that the print statement does not work fine. > Any idea. > Thank in advance for your quick reply. > > Steven.

Re: document contained no data

2000-06-20 Thread Blue
On Tue, 20 Jun 2000, Steven Zhu wrote: > Hi, All: > We have a coffee site with apache_1.3.9, modperl_1.2.1 and mysql > database. upgrade that suff. :) > "The document contained no data Try again later, or contact the server's > administrator". It seems that the

document contained no data

2000-06-20 Thread Steven Zhu
Hi, All: We have a coffee site with apache_1.3.9, modperl_1.2.1 and mysql database. It works fine in most time. But sometimes it is strange. For instance, the same script works fine sometimes, but sometimes it popups a window with message "The document contained no data Try again late