New Activity Module - wont install

New Activity Module - wont install

by Dean Lennard -
Number of replies: 2

Hey,

Moodle Version: 2.6

Having a weird issue here I have use the new plugin git repo, changed a few things there then tried to install it and I am getting the below error which seems to be telling me there is an error as im trying to install to the right directory :P Any help greatly appreciated.


Plugin "mod_knowldegevision" is installed in incorrect location "$CFG->dirroot/mod/knowledgevision", expected location is "$CFG->dirroot/mod/knowldegevision"

More information about this error

Debug info: 
Error code: detectedmisplacedplugin

Stack trace:
  • line 602 of /lib/upgradelib.php: plugin_misplaced_exception thrown
  • line 418 of /lib/upgradelib.php: call to upgrade_plugins_modules()
  • line 1601 of /lib/upgradelib.php: call to upgrade_plugins()
  • line 436 of /admin/index.php: call to upgrade_noncore()

Content of Version.php:

defined('MOODLE_INTERNAL') || die();

$module->version   = 2014062900;      // The current module version (Date: YYYYMMDDXX)
$module->requires  = 2010031900;      // Requires this Moodle version
$module->cron      = 0;               // Period for cron to check this module (secs)
$module->component = 'mod_knowledgevision'; // To check on upgrade, that module sits in correct place

Average of ratings: -
In reply to Dean Lennard

Re: New Activity Module - wont install

by Mary Cooch -
Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Testers Picture of Translators

(Just checking you are aware of the spelling difference between the two directories - knowledgevision and knowldegevision

Is this an error copying to this forum post  or is it significant?

Average of ratings: Useful (1)