-
Bug
-
Resolution: Duplicate
-
Blocker
-
1.9
-
None
-
MySQL
-
MOODLE_19_STABLE
-
MOODLE_19_STABLE
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
------------------------------------------------------------------
- duplicates
-
MDL-11347 build_context_path has some funky SQL that breaks on MySQL
- Closed