Theme location issue

Theme location issue

by Ray Lawrence -
Number of replies: 3

2.5.1

We're struggling to get around this error message:

Plugin "theme_htm_123" is installed in incorrect location "$CFG->dirroot/theme/htm_123", expected location is "$CFG->dirroot/mod/htm_123"

Clean 2.5 install.

All theme dirs are complete.

The theme that won't install is in the standard theme folder.

It appears that Moodle is expecting a mod plugin not a theme plugin but I can't see any reason why that should be - there are no mod references in the code.

This issue appears to be different to: https://moodle.org/mod/forum/discuss.php?d=228891

Any ideas welcome.

Average of ratings: -
In reply to Ray Lawrence

Re: Theme location issue

by Richard Oelmann -
Picture of Core developers Picture of Plugin developers Picture of Testers

It looks like there is an error in your theme (probably in the version.php) which is causing Moodle to think this is a mod plugin rather than a theme.

Can you post your version.php for us to take a look at?

Average of ratings: Useful (1)