Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 1.9
-
Component/s: Administration
-
Labels:None
-
Affected Branches:MOODLE_19_STABLE
-
Fixed Branches:MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE
Description
Upgrade from 1.8 isn't smooth, after first core uprgades we are bounced to upgradesettings, then
Access denied
Stack trace:
line 5727 of lib/weblib.php: call to debugging()
line 3839 of lib/adminlib.php: call to error()
line 12 of admin/upgradesettings.php: call to admin_externalpage_setup()
Then we continue with the module/block upgrades, and we next get:
Sorry, but you do not currently have permissions to do that (Change site configuration)
Stack trace:
line 5727 of lib/weblib.php: call to debugging()
line 5788 of lib/weblib.php: call to error()
line 836 of lib/accesslib.php: call to print_error()
line 529 of admin/index.php: call to require_capability()
hmm, this looks like moodle thinks you are not admin.
Did you open close/open before upgrade?
Did moodle ask you to log in before upgradesettings?
Which PHP version?
Can you login using admin account after this error happens?