Supporting each other

Community forums

Welcome, Guest
Username: Password: Remember me
Report any technical problems you discover and discuss solutions.
  • Page:
  • 1

TOPIC:

TSUGI installation warning 9 months 1 week ago #8913

  • guidicini
  • guidicini's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 20
  • Thank you received: 0
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_

File Attachment:

File Name: database.php.zip
File Size:8 KB
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
Attachments:

Please Log in or Create an account to join the conversation.

TSUGI installation warning 9 months 1 week ago #8915

  • tom
  • tom's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1297
  • Thank you received: 325
This is really a tsugi error.

The setuptsugi routine selectes the branch of tsugi depending on the version of PHP you have. Only the master branch is really maintained and requires PHP 8.1+

But thanks for mentioning this. Which version of PHP are you using?

Please Log in or Create an account to join the conversation.

TSUGI installation warning 9 months 1 week ago #8919

  • guidicini
  • guidicini's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 20
  • Thank you received: 0
Hello Tom,
"my" php version is 7.4.27.
Do you think that trying to ask my IT administrators to upgrade php to 8.1 or later is enough to fix the problem and in that case should I install TSUGI again?
Thank you.
Fabrizio

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Moderators: ronmjultenJohnSmith
Time to create page: 0.045 seconds
Copyright © 2024 The Xerte Project.
Xerte logo Apereo logo OSI Logo

Search