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

Random bytes cause IE9 display issue with two or more custom course formats.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Deferred
    • Icon: Minor Minor
    • None
    • 2.0.7, 2.1.4, 2.2.1
    • Course, Themes
    • None
    • MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE
    • Hide

      Perform a page refresh.

      Yvonne van Esch experienced the issue and the page refresh did not work. In this case the solution in IE9 is to press F12 and manually set 'IE9 Standards' as shown in the attached screen shots.

      Show
      Perform a page refresh. Yvonne van Esch experienced the issue and the page refresh did not work. In this case the solution in IE9 is to press F12 and manually set 'IE9 Standards' as shown in the attached screen shots.
    • Hide

      Install two custom course formats of your choice, say 'Collapsed Topics' & 'Collapsed Weeks' with a Moodle installation of more than one language.

      Then one of the following in IE9:

      1. Create a course with the format and change the language with the language bar.
      2. In 'Site Administration' -> 'Language' -> 'Language Packs' install a new language.
      3. In 'Site Administration' -> 'Development' -> 'Purge all caches' perform a 'Purge all caches'.

      Then examine the source to see the prefixing odd space before the <!DOCTYPE... and press F12 to see that it has gone into 'Quirks' mode.

      Show
      Install two custom course formats of your choice, say 'Collapsed Topics' & 'Collapsed Weeks' with a Moodle installation of more than one language. Then one of the following in IE9: 1. Create a course with the format and change the language with the language bar. 2. In 'Site Administration' -> 'Language' -> 'Language Packs' install a new language. 3. In 'Site Administration' -> 'Development' -> 'Purge all caches' perform a 'Purge all caches'. Then examine the source to see the prefixing odd space before the <!DOCTYPE... and press F12 to see that it has gone into 'Quirks' mode.

      When you have two or more custom course formats installed (does not matter which) and you are using IE9, and you then change language, purge all caches or install a language pack, then the page loads with some random prefixing bytes which causes IE9 not to read the DOCTYPE line but to go into 'Quirks' mode.

      Checked with Zend Server CE version 5.1.0 with PHP 5.3.5 and Apache 2.2.16 and Zend Server CE 5.6 with Apache 2.2.21 and PHP 5.3.9.

      Mary Evans has verified this issue with WAMP Server2 on Windows 7 Moodle 2.2.1

      Discussion and lots of screen shots on http://moodle.org/mod/forum/discuss.php?d=193381

        1. conversion_solution.png
          conversion_solution.png
          60 kB
        2. moodle_2_course_format_folder.png
          moodle_2_course_format_folder.png
          2 kB
        3. pac_oddity_arrow.png
          pac_oddity_arrow.png
          102 kB
        4. pac_oddity2_arrow.png
          pac_oddity2_arrow.png
          72 kB
        5. pac_oddity5_arrow.png
          pac_oddity5_arrow.png
          120 kB
        6. pac_oddity6_arrow.png
          pac_oddity6_arrow.png
          100 kB
        7. pac_oddity7_arrow.png
          pac_oddity7_arrow.png
          150 kB
        8. pac_oddity8.png
          pac_oddity8.png
          119 kB
        9. yv_ie9_2_arrow.png
          yv_ie9_2_arrow.png
          355 kB

            lucaboesch Luca Bösch
            gb2048 Gareth J Barnard
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.