Unknown renderer error after changing dirroot

Unknown renderer error after changing dirroot

de Marjan Milošević -
Number of replies: 4

So, I messed up with moodledata directory - I moved it to another location and entered info in config file.

After that, I constantly get error 

Request for an unknown renderer core, files, general

whenever I try to add something (after getting "add activity/resource" window) or post in forum.

It is so similar to this one: https://tracker.moodle.org/browse/MDL-40136

I am pretty sure it is trivial, but workaround by deleting cache is not working triste

Also, I should mention I added a "File system" repository, but I deleted it: I guess it does not affect this issue.


Promeyo de puntuacions: -
In reply to Marjan Milošević

Re: Unknown renderer error after changing dirroot

de David Mudrák -
Imachen de Core developers Imachen de Documentation writers Imachen de Moodle HQ Imachen de Particularly helpful Moodlers Imachen de Peer reviewers Imachen de Plugin developers Imachen de Plugins guardians Imachen de Testers Imachen de Translators

deleting cache is not working

Which cache have you removed? I am quite sure this is related to the MUC and has nothing to do with the browser cache - just in case.

You might be able to fix this by executing admin/cli/purge_caches.php via the command line.

In reply to David Mudrák

Re: Unknown renderer error after changing dirroot

de Marjan Milošević -
I deleted cache through purge_caches, from admin menu. The error remains.

Should I change something in moodledata folder?

In reply to Marjan Milošević

Re: Unknown renderer error after changing dirroot

de Marjan Milošević -

Ok, so I guess I narrowed the problem. After commenting out the line that yields "renderer issue" riseta

I got some filepicker/repository issue.

So, I guess that the problem is in messing up with file-system repo (line in repository/lib.php). It seems it wants it, but cannot find it. I guess there is some record in databases that says: there should be a repo, that I am supposed to .. delete.

 

In reply to Marjan Milošević

Re: Unknown renderer error after changing dirroot

de FCV FCV -

I got same problem. But it turns out it's my own deploy script issue, which ignored the "files" folder so the Moodle installation was broken.

The debug method of commenting out the exception line is helpful though.