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

Hardcoded link in admin/index.php in Moodle 1.8.7+

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.7
    • Fix Version/s: 1.8.8, 1.9.4, 2.0
    • Component/s: Administration
    • Labels:
      None
    • Environment:
      not related
    • Database:
      MySQL
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_18_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE

      Description

      Hi,

      Since the latest build contains this bug, I report it.
      Everyone is involved who's using 1.8.7+ and a different admin path (specified in the config.php: $CFG->admin).

      I'm an upgrader from 1.6.3 to 1.8 and then to 1.9

      The 1.8 upgrade is going well till paypal and then clicking on continue I get error 500. The admin site of moodle died.
      Now, I tracked back the issue to a hardcoded link in admin/index.php line 429:
      require_once($CFG->dirroot.'/admin/mnet/adminlib.php');

      It seems to already be fixed in 1.9 latest, but not in 1.8.7+.
      Thanks and Happy new year!

        Attachments

          Activity

            People

            Assignee:
            skodak Petr Skoda
            Reporter:
            franetic Fran Szoro
            Tester:
            Tim Hunt
            Participants:
            Component watchers:
            Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              28/Jan/09