Can't click "Add Activity or Resource" icon after update

Can't click "Add Activity or Resource" icon after update

by Debbie Unterseher -
Number of replies: 1

After updating from Moodle 3.0 to 3.2 (and upgrading the PHP) on my test server, when I am logged in as an admin, I can't select the "Add Activity or Resources" button.  I had no extra plugins installed.  If I sign in as a teacher, I can click on the options, but it is two options "Add activity" or "add Resources".  I was just talking to a teacher and he said that he's always had two options, but when his student worker logs in, they have the one option "Add Activity or Resources".  

The way to fix the problem of not being able to select it, was to edit the course and save it (no changes needed) and that fixes the problem.

Since it appears that my teachers will be fine, maybe I shouldn't spend time trying to solve it.

I turned on debugging (development mode) and get no errors, except when I log in I get this (but don't know where it's at or how to solve it).

Warning: mysqli_real_connect(): (HY000/1045): Access denied for user 'new_courses'@'10.x.x.xxx' (using password: YES) in /var/www/html/moodle/lib/adodb/drivers/adodb-mysqli.inc.php on line 124

I don't get that on my production server.


This is what I get when pressing F12 on the page in chrome.  It is the same as the "page that has been editied and works" except for the lines that say "service-nologin.php".  I don't have those on the "edited and working" course page.

Thanks for any suggestions.

warn: The moodle-core-notification parent module has been deprecated. Please use one of its subclasses instead.

yui_combo.php?rollup/3.17.2/yui-moodlesimple.js&rollup/1495054888/mcore-debug.js:5828 moodle-core_blocks: Block drag and drop initialised for the blocks method.

yui_combo.php?rollup/3.17.2/yui-moodlesimple.js&rollup/1495054888/mcore-debug.js:5828 Initialising drag and drop for blocks.

yui_combo.php?rollup/3.17.2/yui-moodlesimple.js&rollup/1495054888/mcore-debug.js:5828 Block region `side-pre` initialising

yui_combo.php?rollup/3.17.2/yui-moodlesimple.js&rollup/1495054888/mcore-debug.js:5828 Block region `side-post` initialising

yui_combo.php?rollup/3.17.2/yui-moodlesimple.js&rollup/1495054888/mcore-debug.js:5828 Block region `footer-left` initialising

yui_combo.php?rollup/3.17.2/yui-moodlesimple.js&rollup/1495054888/mcore-debug.js:5828 Block region `footer-middle` initialising

yui_combo.php?rollup/3.17.2/yui-moodlesimple.js&rollup/1495054888/mcore-debug.js:5828 Block region `footer-right` initialising

yui_combo.php?rollup/3.17.2/yui-moodlesimple.js&rollup/1495054888/mcore-debug.js:5828 Initialisation of drag and drop for blocks complete.

VM4959:3 XHR Loaded (service.php - 200 OK - 491.76199999055825ms - 429B)

VM4964:3 XHR Loaded (service-nologin.php - 200 OK - 506.0139999986859ms - 1.058KB)

VM4968:3 XHR Loaded (service.php - 200 OK - 558.894000001601ms - 429B)

VM4972:3 XHR Loaded (service-nologin.php - 200 OK - 196.87600000179373ms - 1.058KB)

VM4976:3 XHR Loaded (service-nologin.php - 200 OK - 172.1490000054473ms - 1.058KB)


Average of ratings: -
In reply to Debbie Unterseher

Re: Can't click "Add Activity or Resource" icon after update

by Debbie Unterseher -

Fixed it.  There was an error when I turned editing on for a course.  It said something about missing en_us.  So installed that in Site  administration,  Language, Language packs, and no more problems.  Why was it missing?!