Hi,
I am using moodle 2.5.1 and want to make a copy of quiz mod and change it. How can I duplicate a core module (resource or activity). I copied the quiz directory and rename it to quiz2, but some errors occur:
Plugin "mod_quiz2" is installed in incorrect location "$CFG->dirroot/mod/quiz2", expected location is "$CFG->dirroot/mod/quiz"
Debug info:
Error code: detectedmisplacedplugin
Stack trace:
line 573 of \lib\upgradelib.php: plugin_misplaced_exception thrown
line 381 of \lib\upgradelib.php: call to upgrade_plugins_modules()
line 1586 of \lib\upgradelib.php: call to upgrade_plugins()
line 387 of \admin\index.php: call to upgrade_noncore()
Is there any other way to do that?