create new tag
, view all tags
Just noticed this when trying to edit ModPerl here - for some reason I get Document Contains No Data on hitting Preview button, in both Firebird 0.7 and IE5.5 (different error message) on Windows 2000.

Editing other pages is fine, including extant and new pages. I don't have any proxies in the way, and this problem happened earlier today on ModPerl but not on other pages...

-- RichardDonkin - 03 Feb 2004

I had this again on TWiki.TWikiInstallationGuide - on a PC running Windows XP, Firebird 0.7 and IE 6.0 had this problem - the error comes back very quickly on Firebird and IE. Cancelling the edit and redoing it, hitting Refresh, or restarting both browsers did not help, but doing the exact same edit from a second PC (same one as in the 03 Feb report) on IE or Firebird worked. TWiki.org was pingable on the original PC while this was happening. As before, only one page on TWiki.org was affected - this page remained editable, for example.

-- RichardDonkin - 16 Feb 2004

This is happening again on ModPerl, on the same Windows XP PC as before. Rebooting the PC did not help, and Firebird's 'Live HTTP Headers' extension shows that there are no HTTP headers sent or received on hitting the Preview button - somehow the browser decides that the 'document contains no data' without actually requesting it!

This seems to happen on large pages only, so perhaps there is something in the HTML that is prompting this issue, but only on Windows XP and on this particular PC, and on both IE and Firebird? I have swept the PC for spyware and viruses and it's clean.

Quite perplexing - any suggestions are very welcome...

-- RichardDonkin - 24 Feb 2004

I'm having issues similar to this too. FreeBSD 5.2-RELEASE, Apache 1.3, Perl 5.8.2, ModPerl 1.28. I'm running view out of Apache::Registry and everything else out of PerlHandler. Sometimes when the "Preview Changes" button is clicked, I get a 404 error page. Hit refresh, and I get the "Document contains no Data" error. Hit back button, hit preview, hit save, works fine. I'm also getting intermittent errors on view - pages will be displayed and contain nothing more than "l>" (as in L + a closing bracket - end of html?) but I'm not sure if these things are connected. They're both intermittent (although persistent) errors but I'm not a strong enough perl hacker to be able to fix them. TWiki is unusable without mod_perl (on our machine) so I put up with the bizarre behavior sometimes.

-- DavidBlundell - 25 Feb 2004

A standard mod_perl debugging technique for this is to make the webserver singlethreaded. e.g. running httpd -X. What might be happening is that the error is only happening on one of the threads of execution. Making it singlethreaded will make it easier to track down

-- KevinTam - 22 Apr 2004

The main wiki install at the University of Minnesota Morris (csci.mrs.umn.edu) is having this problem as well. The main UMM wiki is quite large and has more than a few large pages, and the DocumentContainsNoData problem has been reported by many of our users who use a wide variety of OSs and Browsers. The main wiki is the September 2nd 2004 release. It runs on a debian linux server on top of Apache 1.3.33 with a mod_perl of 1.29. We have not been able to resolve the problem, and since many professors and students make use of our main wiki for classwork, it is tantamount to our wiki's continuing survival for the problem to be resolved in the next couple of days. Some interesting things that we have noticed in our attempts to solve the problem are:

Firstly, every time one of these errors occurs, the following message is generated:

view: print() on closed filehandle FILE at ../lib/TWiki/Store.pm line 667.
Secondly, one of our professors has a stand-alone wiki install called Sutherland running on the same server (csci.mrs.umn.edu/Sutherland). What's interesting is that in terms of configuration files, the two wikis are largely identical. However, the Sutherland wiki does not have any problems whatsoever in the previewing of large pages. The only definitively odd difference we've been able to find between the configuration of the two wikis is that in the Sutherland wiki's .htaccess file, the line:
SetHandler cgi-script
is commented out, whereas in the main wiki it is not. However, commenting that line out for the main wiki results in a return of a "Server Configuration Error" when attempting to edit a page.

-- WayneManselle - 17 Jan 2005

Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r8 - 2005-06-02 - WillNorris
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.