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

lib/filelib.php has not been included in the html block

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0.1
    • Fix Version/s: 2.0.2
    • Component/s: Blocks
    • Labels:
    • Database:
      Any
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      When adding the HTML_Block to a Database activity the page refused to load and following error was thrown up in debug:
      Call to undefined function file_rewrite_pluginfile_urls() in /home/imoot/public_html/2011/blocks/html/block_html.php on line 60

      This has been determined to be because lib/filelib.php hasn't been included in the block

      I have listed this as critical as it impacts a core block that is rather heavily used

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    21/Feb/11