[Loris-dev] Import mri - scripts

Sotirios Nikoloutsopoulos sotirisnik at gmail.com
Sun Sep 1 15:19:41 EDT 2019


Hi,
based on this link
https://www.digitalocean.com/community/tutorials/how-to-install-and-use-composer-on-ubuntu-16-04

i installed composer 1.9 with these following commands.


curl -sS https://getcomposer.org/installer -o composer-setup.php

php -r "if (hash_file('SHA384', 'composer-setup.php') ===
'a5c698ffe4b8e849a443b120cd5ba38043260d5c4023dbf93e1558871f1f07f58274fc6f4c93bcfd858c6bd0775cd8d1')
{ echo 'Installer verified'; } else { echo 'Installer corrupt';
unlink('composer-setup.php'); } echo PHP_EOL;"
sudo php composer-setup.php --install-dir=/usr/local/bin --filename=composer

And afterwards composer install worked and the only warning i got at
the end of the installation was

<<phpunit/phpunit suggests installing phpunit/php-invoker (^1.1)
Package phpunit/phpunit-mock-objects is abandoned, you should avoid
using it. No replacement was suggested.
Package phpunit/dbunit is abandoned, you should avoid using it. No
replacement was suggested.>>

And from the loris-error.log

[Sun Sep 01 22:18:03.479956 2019] [php7:error] [pid 15737] [client
127.0.0.1:43560] PHP Fatal error:  Uncaught ConfigurationException:
Config file config.xml does not exist in the defined locations. in
/var/www/loris/php/libraries/NDB_Config.class.inc:139\nStack
trace:\n#0 /var/www/loris/php/libraries/NDB_Config.class.inc(66):
NDB_Config->configFilePath()\n#1
/var/www/loris/php/libraries/NDB_Factory.class.inc(118):
NDB_Config::singleton(NULL)\n#2
/var/www/loris/php/libraries/NDB_Client.class.inc(54):
NDB_Factory->config(NULL)\n#3 /var/www/loris/htdocs/index.php(27):
NDB_Client->initialize()\n#4 {main}\n  thrown in
/var/www/loris/php/libraries/NDB_Config.class.inc on line 139
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.bic.mni.mcgill.ca/pipermail/loris-dev/attachments/20190901/04401b36/attachment.html>


More information about the Loris-dev mailing list