Panopto / Moodle-2.0-plugin-for-Panopto

Panopto's integration with the Moodle LMS.
http://www.panopto.com
GNU General Public License v3.0
18 stars 38 forks source link

Fresh installation "XML database file errors found" #179

Closed ni-ght closed 3 years ago

ni-ght commented 3 years ago

When performing a fresh installation on Moodle 3.9, "block_panopto" version "2021062900", I get:

block_panopto
XML database file errors found

More information about this error

×Debug info: Errors found in XMLDB file: Problem loading table block_panopto_importmap, Some INDEXES name values are incorrect
Error code: ddlxmlfileerror

×Stack trace:
line 354 of /lib/ddl/database_manager.php: ddl_exception thrown
line 370 of /lib/ddl/database_manager.php: call to database_manager->load_xmldb_file()
line 1030 of /lib/upgradelib.php: call to database_manager->install_from_xmldb_file()
line 567 of /lib/upgradelib.php: call to upgrade_plugins_blocks()
line 1917 of /lib/upgradelib.php: call to upgrade_plugins()
line 713 of /admin/index.php: call to upgrade_noncore()

Actually, "db/install.xml" seems to have two indices with the same name "import_moodle_id".

Many thanks.

Limekiller commented 3 years ago

Yep, this is a major issue. I submitted a pull request for it here: #180 Hopefully it gets approved and merged.

jmalmsten-panopto commented 3 years ago

Hi,

We have identified the issue and are working to verify the fix. We are planning on releasing an updated version of the plugin soon. If you need further assistance please open a support ticket with Panopto at https://support.panopto.com.

Thanks, Joe Malmsten

jmalmsten-panopto commented 3 years ago

Hi,

Closing this issue as it should be fixed with the latest release. If you have any other issues please contact Panopto support.

Thanks, Joe Malmsten

ni-ght commented 3 years ago

Many Thanks