Moodle

HTML files will not display if >100KB and filteruploadedfiles setting is set to "HTML files only" or "All files"

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Duplicate
  • Affects Version/s: 1.8.2
  • Fix Version/s: None
  • Component/s: Filters
  • Labels:
    None
  • Environment:
    RH AS 4, Apache 2.2, PHP 5.2.4, eAccelerator 0.9.5.2
    4GB RAM
  • Database:
    MySQL
  • Affected Branches:
    MOODLE_18_STABLE

Description

Teacher reported that when linking to certain HTML files, the files would not display when clicked on. After a great deal of troubleshooting, we determined that if the HTML files were smaller than 100KB, than they would display. However, if the file is 100KB or larger, than the file will not display. Based on a hunch and after reviewing the apache logs (which did not yield any helpful information), I changed the setting in Filter Settings for filteruploadedfiles to "None" instead of "HTML files only" or "All files".

Is this a known issue?

So here is one additional relevant factor – last week, it worked just fine on a stock RH AS 4, with RH RPMs for Apache 2.0, PHP4, GD, etc, (without eaccelerator). We upgraded to this custom build LAMP because performance after upgrading to 1.8.2 with the Red Hat RPMS is abysmal (when it worked just fine with 1.6.1).

Issue Links

Activity

Hide
Sean McKay added a comment -

Sorry, forgot to mention that changing the filteruploadedfiles setting to "None" fixed the issue.

Show
Sean McKay added a comment - Sorry, forgot to mention that changing the filteruploadedfiles setting to "None" fixed the issue.
Hide
Petr Škoda (skodak) added a comment -

this is most probably a duplicate of MDL-11237, should be already fixed
please test the latest 1.8.2+ build and reopen in case it is not fixed for you

thanks for the report

Show
Petr Škoda (skodak) added a comment - this is most probably a duplicate of MDL-11237, should be already fixed please test the latest 1.8.2+ build and reopen in case it is not fixed for you thanks for the report

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: