tlock/block_inactiveuseralert

Plugin not Working in Moodle v3.5+

Opened this issue · 5 comments

Hello creator,

do you still offer updating/maintenance of this plugin?
If not, i would like to help improving this to properly work on moodle v3.5+

Current error when trying to install:

Debug info: Errors found in XMLDB file: PATH attribute does not match file directory: blocks/inactiveuseralert/db
Error code: ddlxmlfileerror

Stack trace:
line 352 of /lib/ddl/database_manager.php: ddl_exception thrown
line 368 of /lib/ddl/database_manager.php: call to database_manager->load_xmldb_file()
line 970 of /lib/upgradelib.php: call to database_manager->install_from_xmldb_file()
line 514 of /lib/upgradelib.php: call to upgrade_plugins_blocks()
line 1857 of /lib/upgradelib.php: call to upgrade_plugins()
line 694 of /admin/index.php: call to upgrade_noncore()

I too am having the same error as DurvalPCN with Moodle 3.5.

I had this problem with a new install and was able to work around it by editing inactiveuseralert\db\install.xml. Change <XMLDB PATH="block/inactiveuseralert/db" to <XMLDB PATH="blocks/inactiveuseralert/db" and installation will proceed.

well spotted @mhenry79mnet thanks!

THANK YOU !!!! @mhenry79mnet