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

HTTP 500 error when loading editor CSS in Moodle 3.4

    XMLWordPrintable

Details

    • MOODLE_34_STABLE
    • MOODLE_34_STABLE
    • MDL-60815-master
    • Hide

      Theme Boost

      1. Make sure theme designer mode is off (make sure Moodle is using caches)
      2. Set TinyMCE as the default editor
        1. Site admin > plugins > text editors > manage editors
        2. Click the “up arrow” to move TinyMCE to the top of the list
      3. Purge the Moodle caches
      4. Open the dev tools in your browser and view the networks tab and filter for CSS
      5. Create a new course
      6. CONFIRM that the “editor” stylesheet returns a HTTP 200 status (note: there will be no data in the response, this is a Boost specific issue - see MDL-60588)
      7. View the localcache on disk <moodledatadirectory>/localcache/theme/<revision>/boost/css/
      8. CONFIRM there is an editor CSS file that contains a revision in the name editor_<revision>.css

      Theme Clean

      1. Make sure theme designer mode is off (make sure Moodle is using caches)
      2. Set TinyMCE as the default editor
        1. Site admin > plugins > text editors > manage editors
        2. Click the “up arrow” to move TinyMCE to the top of the list
      3. Purge the Moodle caches
      4. Open the dev tools in your browser and view the networks tab and filter for CSS
      5. Create a new course
      6. CONFIRM that the “editor” stylesheet returns a HTTP 200 status and that the response body contains CSS
      7. View the localcache on disk <moodledatadirectory>/localcache/theme/<revision>/clean/css/
      8. CONFIRM there is an editor CSS file that contains a revision in the name editor_<revision>.css
      9. In the “Course Summary” section start, add some elements (e.g. paragraph, heading 2) and confirm that the styling looks the same as those elements on the rest of the page (e.g. the heading 2 should be the same size as the other h2 on the page)
      Show
      Theme Boost Make sure theme designer mode is off (make sure Moodle is using caches) Set TinyMCE as the default editor Site admin > plugins > text editors > manage editors Click the “up arrow” to move TinyMCE to the top of the list Purge the Moodle caches Open the dev tools in your browser and view the networks tab and filter for CSS Create a new course CONFIRM that the “editor” stylesheet returns a HTTP 200 status (note: there will be no data in the response, this is a Boost specific issue - see MDL-60588 ) View the localcache on disk <moodledatadirectory>/localcache/theme/<revision>/boost/css/ CONFIRM there is an editor CSS file that contains a revision in the name editor_<revision>.css Theme Clean Make sure theme designer mode is off (make sure Moodle is using caches) Set TinyMCE as the default editor Site admin > plugins > text editors > manage editors Click the “up arrow” to move TinyMCE to the top of the list Purge the Moodle caches Open the dev tools in your browser and view the networks tab and filter for CSS Create a new course CONFIRM that the “editor” stylesheet returns a HTTP 200 status and that the response body contains CSS View the localcache on disk <moodledatadirectory>/localcache/theme/<revision>/clean/css/ CONFIRM there is an editor CSS file that contains a revision in the name editor_<revision>.css In the “Course Summary” section start, add some elements (e.g. paragraph, heading 2) and confirm that the styling looks the same as those elements on the rest of the page (e.g. the heading 2 should be the same size as the other h2 on the page)

    Description

      As discussed in the forum TinyMCE has a smaller font while editing. This happens on Moodle 3.4 (moodle.org), but also on Moodle 3.3.3. Would be nice if the font would not be smaller while editing.

      The editor stylesheet fails to load in Moodle 3.4. It returns a HTTP 500 error.

      Attachments

        1. boost.png
          boost.png
          17 kB
        2. clean.png
          clean.png
          17 kB
        3. editor_not_rendering.png
          editor_not_rendering.png
          16 kB
        4. editor.png
          editor.png
          12 kB
        5. editor1.png
          editor1.png
          6 kB
        6. eduhub.png
          eduhub.png
          14 kB
        7. panel.png
          panel.png
          13 kB
        8. pstu.png
          pstu.png
          17 kB

        Issue Links

          Activity

            People

              ryanwyllie Ryan Wyllie
              wsam@zhaw.ch Samuel Witzig
              Mark Nelson Mark Nelson
              Andrew Lyons Andrew Lyons
              Andrew Lyons Andrew Lyons
              Votes:
              8 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                19/Mar/18