Menu

document contains no data error

Help
2003-10-15
2003-10-16
  • Marvin McNett

    Marvin McNett - 2003-10-15

    A long shot, but perhaps someone here has encountered this problem.  I get a popup stating "The document contains no data" when trying to upload a paper using Mozilla on a RH9 machine (from $ConfSitePATH/Author/UploadPaper.php).  This is not a problem when using IE (or even Mozilla) on a Windows machine.  Any ideas why the Mozilla/Linux client fails?  Here are the setup details:

    CRP Oct-12-2003 release
    Apache/2.0.40 (Red Hat Linux 9.0)
    Client: Mozilla 1.4 on Red Hat Linux 9.0

     
    • Marvin McNett

      Marvin McNett - 2003-10-16

      Problem solved.  It wasn't a Mozilla/Linux problem.  Windows just wan't complaining when it couldn't upload the entire file.  Anyway, the problem was due to trying to upload a file that was too large for my server settings.  I figured out that Red Hat 9 installation configuration is slightly different from the installation directions on the web page.  Here's the diff:

      1. Turn asp_tags on in /etc/php.ini, not php.conf.
      2. In /etc/httpd/conf.d/php.conf, increase     LimitRequestBody if you want to upload something larger than 524288 bytes.  (this was the key to my problem).
      3. I also had to increase 'post_max_size' and 'memory_limit' in /etc/php.ini to get larger uploads to work.  Tune to your taste.

      That's it.  If you're referring to this for your RH setup, keep in mind that these are only diffs from the web page installation instructions.

       

Log in to post a comment.

MongoDB Logo MongoDB