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

Latest CVS of 1.9 breaks during upgrade

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Duplicate
    • Affects Version/s: 1.9
    • Fix Version/s: 1.9
    • Component/s: Administration, General
    • Labels:
      None
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      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

              Assignee:
              dougiamas Martin Dougiamas
              Reporter:
              sonniesedge Charlie Owen (SonniesEdge)
              Tester:
              Nobody
              Participants:
              Component watchers:
              Andrew Nicols, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                3/Mar/08