TinCanPHP library

paulK
Forums
I have been installing Opigno in a shared A2Hosting environment. After choosing the language the process drops through to the Setup database screen. However this contains a warning: Please install the TinCanPHP library using Composer, with the command: composer require rusticisoftware/tincan:@stable I do this. Here is the terminal log. clgahost@a2ss28 [~]# composer require rusticisoftware/tincan:@stable ./composer.json has been created Loading composer repositories with package information Updating dependencies (including require-dev) Package operations: 5 installs, 0 updates, 0 removals - Installing willdurand/negotiation (v2.3.1): Downloading (100%) - Installing symfony/polyfill-util (v1.10.0): Downloading (100%) - Installing symfony/polyfill-php56 (v1.10.0): Downloading (100%) - Installing namshi/jose (7.2.3): Downloading (100%) - Installing rusticisoftware/tincan (1.0.0): Downloading (100%) namshi/jose suggests installing phpseclib/phpseclib (Allows to use Phpseclib as crypto engine, use version ^2.0.) Writing lock file Generating autoload files clgahost@a2ss28 [~]# On restarting the install from the beginning, I still get the warning but the install completes. Nevertheless the warning appears again, this time on the home page. Help! I have double-checked. I did not accidentally install the TinCanPHP library on a different server!
axel

Hi PaulK,

Hi PaulK,

First, this is just an advice, you don't have to install TinCanPHP library if you don't want to integrate your Opigno instance with a LRS or if you don't need to use TinCan contents.

In the stable release this information will just be displayed once , we noticed that in the RC the warning remains visible until you install TinCanPHP.

In your case, if Opigno is installed, you should try to install again TinCanPHP, but inside the folder where Opigno is installed.

Just go to this folder using a terminal, and run:  composer require rusticisoftware/tincan:@stable

Then it should be ok. Maybe you did not initially run the command in the folder where Opigno is installed