Dear everyone,
This is just a notice for anyone who wants to install TSUGI in the certe installation.
I have just tried to install TSUGI following the setup instructions available here:
xot.xerte.org.uk/play.php?template_id=88#page1
And I have noticed there there might be an error in the file tsugi/admin/lti/database.php
on line 319 there's a ; instead of , that creates an error when trying to create the relative table in the database which is the table named xot_tsugi_lti_link
I attach to this message the changed file if that might be of help.
Hope this helps anyone who experiences the same problem.
Fixing it installation appears to complete correctly
Nonetheless I still get an error on another table. The log says the following (anyone knows how can I fix that and if that is a real problem?):
-- Checking upgrade admin/lti/database.php
-- Current data model version 202112011310
DROP INDEX xot_tsugi_lti_key_const_1 ON xot_tsugi_lti_key
DROP INDEX xot_tsugi_lti_key_const_2 ON xot_tsugi_lti_key
Non-Fatal dropping index: 42000:42000:SQLSTATE[HY000]: General error: 1553 Cannot drop index 'xot_tsugi_lti_key_const_2': needed in a foreign key constraintALTER TABLE xot_tsugi_lti_key ADD CONSTRAINT `lti_key_const_1` UNIQUE(key_sha256, deploy_sha256)
ALTER TABLE xot_tsugi_lti_key ADD CONSTRAINT `lti_
key_const_2` UNIQUE(issuer_id, deploy_sha256)
Checking lti_keyset
Checking admin/install/database.php ...
-- Checking table xot_tsugi_lms_tools
-- Creating table xot_tsugi_lms_tools