Access loss to editing settings

Access loss to editing settings

by Michael "doc" Crawford -
Number of replies: 2

Moodle 3.1.2 (Build 20160912)

We migrated this instance over from an active site to make major upgrades. I can no longer edit much, not all, of the imported material. I get an error message as below. My permissions site-wide and in courses have not changed.

Any ideas?

Debug info and stack trace

Average of ratings: -
In reply to Michael "doc" Crawford

Re: Access loss to editing settings

by Ken Task -
Picture of Particularly helpful Moodlers

When you migrated the site to another server, you got a copy of the current production code, an sql dump of production DB imported into a DB on the other server, *and* a copy of the moodledata directory (incuding filedir where the files are really stored) to the other server.

Is that correct?

The error really has nothing to do with permissions/ownerships on files in moodle code nor in roles of users on the cloned system.   All about moodledata/filedir/.

In config.php of the cloned system, where does the line for $CFG->dataroot point?

'spirit of sharing', Ken