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

Activity Modules calls undefined function: get_all_mods

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.5.3
    • Fix Version/s: None
    • Component/s: Blocks
    • Labels:
      None
    • Environment:
      All
    • Database:
      Any
    • Affected Branches:
      MOODLE_15_STABLE

      Description

      Activity Modules calls undefined function get_all_mods in file http://moodle.cvs.sourceforge.net/moodle/moodle/blocks/activity_modules/block_activity_modules.php

      The error occured while in admin and was updating moodle new a newer version of 1.5.3

        Gliffy Diagrams

          Activity

          Hide
          dougiamas Martin Dougiamas added a comment -

          From Mark Nielsen (man15 at humboldt.edu) Saturday, 14 January 2006, 03:24 AM:

          Fixed the bug by adding the following line before the call to get_all_mods:

          require_once($CFG->dirroot.'/course/lib.php');

          From Jon Papaioannou (pj at moodle.org) Sunday, 15 January 2006, 01:12 AM:

          Thanks! I probably shouldn't commit stuff before going to bed... :-/

          Show
          dougiamas Martin Dougiamas added a comment - From Mark Nielsen (man15 at humboldt.edu) Saturday, 14 January 2006, 03:24 AM: Fixed the bug by adding the following line before the call to get_all_mods: require_once($CFG->dirroot.'/course/lib.php'); From Jon Papaioannou (pj at moodle.org) Sunday, 15 January 2006, 01:12 AM: Thanks! I probably shouldn't commit stuff before going to bed... :-/
          Hide
          mblake Michael Blake added a comment -

          Temporary transition to reassign bug to "pj".

          Show
          mblake Michael Blake added a comment - Temporary transition to reassign bug to "pj".
          Hide
          mblake Michael Blake added a comment -

          Re-closing bugs after re-assigning to "pj".

          Show
          mblake Michael Blake added a comment - Re-closing bugs after re-assigning to "pj".

            People

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

              Dates

              • Created:
                Updated:
                Resolved: