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

Latest CVS of 1.9 breaks during upgrade

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Duplicate
    • 1.9
    • 1.9
    • Administration, General
    • None
    • MySQL
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE

    Description

      Just updated my test 1.9 Moodle to the latest CVS version and tried upgrading the version. I got the following fatal error during the upgrade (/admin/upgradesettings.php) and now the site is inaccessible!

      ------------------------------------------------------------------

      Notice: Undefined property: stdClass::$access in /home/charlie/www/moodle19.dev/htdocs/moodle/lib/accesslib.php on line 428
      You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'integer) >' at line 4

      SELECT name, value FROM mdl_config_plugins WHERE plugin='accesslib/dirtycontexts' AND CAST(value AS integer) >

      • line 677 of lib/dmllib.php: call to debugging()
      • line 918 of lib/dmllib.php: call to get_recordset_sql()
      • line 4947 of lib/accesslib.php: call to get_records_sql()
      • line 428 of lib/accesslib.php: call to get_dirty_contexts()
      • line 1747 of lib/moodlelib.php: call to has_capability()
      • line 2762 of lib/adminlib.php: call to require_login()
      • line 9 of admin/upgradesettings.php: call to admin_externalpage_setup()

      Notice: Undefined property: stdClass::$access in /home/charlie/www/moodle19.dev/htdocs/moodle/lib/accesslib.php on line 466

      Notice: Undefined property: stdClass::$access in /home/charlie/www/moodle19.dev/htdocs/moodle/lib/accesslib.php on line 466

      Access denied

      ------------------------------------------------------------------

      Attachments

        Issue Links

          Activity

            People

              dougiamas Martin Dougiamas
              sonniesedge Charlie Owen (SonniesEdge)
              Nobody Nobody
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo, Adrian Greeve, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                3/Mar/08