Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-6842

Resource frameset error in IE6

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.6.1, 1.6.2
    • Fix Version/s: 1.6.3, 1.7
    • Component/s: Resource
    • Labels:
      None
    • Environment:
      Interenet Explorer 6 Windows XP SP2
    • Affected Branches:
      MOODLE_16_STABLE
    • Fixed Branches:
      MOODLE_16_STABLE, MOODLE_17_STABLE

      Description

      See this discussion:

      http://moodle.org/mod/forum/discuss.php?d=52004

      This will fix the error:

      RCS file: /cvsroot/moodle/moodle/mod/resource/type/file/resource.class.php,v
      retrieving revision 1.37.2.1
      diff -u -r1.37.2.1 resource.class.php
      — mod/resource/type/file/resource.class.php 16 Jun 2006 09:41:41 -0000 1.37.2.1
      +++ mod/resource/type/file/resource.class.php 5 Oct 2006 10:08:40 -0000
      @@ -351,6 +351,7 @@
      $frameset = optional_param( 'frameset','' );
      if (empty($frameset) and !$embedded and !$inpopup and ($resource->options == "frame")) {
      $encoding = current_charset();
      + @header('Content-Type: text/html; charset=' . $encoding);
      echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Frameset//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd\">\n";
      echo "<html dir=\"ltr\">\n";
      echo '<head>';

        Attachments

          Activity

            People

            • Assignee:
              skodak Petr Skoda
              Reporter:
              chrisf Chris Fryer
              Tester:
              Ken Wilson
              Participants:
              Component watchers:
              Adrian Greeve, Mihail Geshoski, Peter Dias
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                10/Oct/06