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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.8.7
    • 1.8.8, 1.9.4, 2.0
    • Administration
    • None
    • not related
    • MySQL
    • MOODLE_18_STABLE
    • MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE
    • Easy

    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

            skodak Petr Skoda
            franetic Fran Szoro
            Tim Hunt Tim Hunt
            David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              28/Jan/09