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

"Course Module ID incorrect" error on any Administration operation

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.2
    • Fix Version/s: 1.6.6, 1.7
    • Component/s: None
    • Labels:
      None
    • Environment:
       Linux, PHP 5.0.4, MySQL 4.1.20, Apache 2.0.54, Moodle latest 1.6.2+ (2006050521)
    • Affected Branches:
      MOODLE_16_STABLE
    • Fixed Branches:
      MOODLE_16_STABLE, MOODLE_17_STABLE

      Description

      No administration operations (Set page flags, Remove pages, Strip pages, Revert, Check links) can be carried out, the response is always: Course Module ID was incorrect.
      I think this is because there is no </form> closing tag in the mod/wiki/*.html files. The admin.php page that just includes the *.html pages at the very end is then supplying wrong id to the form (I think).
      What worked in my case was to add the closing </form> tags to all the *.html files. I'm attaching a diff for someone else to implement and commit (if checked and confirmed).

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  7/Nov/06