Steven Zhu ([EMAIL PROTECTED]) said something to this effect:
> 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 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't help, but I was getting the same dialog box when
accessing directories, but that was using HTML::Mason.
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 commands directly, and see what the response is; that
might give you some insight.
I am always careful to not call die or return until I have sent the header,
since that can cause the situation you are seeing.
darren
--
If only God would give me some clear sign! Like making a large
deposit in my name in a Swiss bank.
-- Woody Allen