[Loris-dev] Blank page after setup

Shen Wang wangshen.mcin at gmail.com
Wed May 25 12:04:21 EDT 2022


Hi, you may try this to solve the problem.
Running  "composer update". It will rebuild the composer.lock file and add
the missing "psr/log" into the vendor folder.
The "make" command contains "composer install", we will optimize the
installation steps. Thank you.
Good luck
Shen





On Wed, May 25, 2022 at 9:22 AM Hewitt, Manuel <
manuel.hewitt at med.uni-goettingen.de> wrote:

> Thanks, that did it.
>
>
>
> I had composer installed via yum and I ran the two commands in the PHP
> Composer section of the installtion instructions:
>
> sudo curl -sS https://getcomposer.org/installer | php
>
> sudo mv composer.phar /usr/local/bin/composer
>
>
>
> They finished without errors, but also no other significant output. I even
> ran them again before writing my email since a problem with composer was
> the only hint I got by using Google.
>
> There is no mention to run “composer install” in the Ubunut or CentOS
> installations instructions.
>
>
>
>
>
> MFG,
>
>
>
> Manuel Hewitt
>
> wissenschaftlicher Mitarbeiter
>
>
>
> UNIVERSITÄTSMEDIZIN GÖTTINGEN
>
> GEORG-AUGUST-UNIVERSITÄT
>
> Klinik für Neurologie
>
> Robert-Koch-Straße 40
>
> 37075 Göttingen
>
> Briefpost 37099 Göttingen
>
> Telefon +49 551 39-62355
>
> Fax +49 551 39-8126
>
> Email manuel.hewitt at med.uni-goettingen.de
>
> https://neurologie.umg.eu/
>
>
>
> *Von:* Shen Wang <wangshen.mcin at gmail.com>
> *Gesendet:* Mittwoch, 25. Mai 2022 15:12
> *An:* Hewitt, Manuel <manuel.hewitt at med.uni-goettingen.de>
> *Cc:* loris-dev at bic.mni.mcgill.ca
> *Betreff:* Re: [Loris-dev] Blank page after setup
>
>
>
>
>
> Hi Hewiitt,
>
> It seems like the  "composer install" command line didn't run properly.
>
> You may try to run "composer install" manually under your Loris
> instance folder.
>
>
>
> Best regards
>
> Shen
>
>
>
> On Wed, May 25, 2022 at 9:04 AM Hewitt, Manuel <
> manuel.hewitt at med.uni-goettingen.de> wrote:
>
> Hello
>
>
>
> I’m trying to run Loris on CentOS 7.9.2009.
>
> After following the trail of outdated installation instructions and links
> to non-existant pages starting at loris.ca “Get Started” I think I
> finally found the latest set of instructions.
>
> I followed the instructions including some educated guesses and plenty of
> googling for all the problems that arose.
>
>
>
> In the end I managed to run installdb.php and did all those steps too.
>
> Now I open just localhost and am greeted by a blank page.
>
>
>
> In the error.log the following entry shows up and I have no clue what the
> problem is. Google didn’t yield any fix.
>
>
>
> [Wed May 25 14:07:31.174096 2022] [php7:error] [pid 20180] [client
> 127.0.0.1:43398] PHP Fatal error:  Uncaught Error: Interface
> 'Psr\\Log\\LoggerAwareInterface' not found in
> /var/www/loris/php/libraries/Database.class.inc:16\nStack trace:\n#0
> /var/www/loris/vendor/composer/ClassLoader.php(444): include()\n#1
> /var/www/loris/vendor/composer/ClassLoader.php(322):
> Composer\\Autoload\\includeFile()\n#2 [internal function]:
> Composer\\Autoload\\ClassLoader->loadClass()\n#3
> /var/www/loris/php/libraries/NDB_Factory.class.inc(168):
> spl_autoload_call()\n#4
> /var/www/loris/php/libraries/NDB_Client.class.inc(59):
> NDB_Factory->database()\n#5 /var/www/loris/htdocs/index.php(34):
> NDB_Client->initialize()\n#6 {main}\n  thrown in
> /var/www/loris/php/libraries/Database.class.inc on line 16
>
>
>
> Any advice?
>
>
>
> MFG,
>
>
>
> M. Hewitt
>
>
>
> _______________________________________________
> Loris-dev mailing list
> Loris-dev at bic.mni.mcgill.ca
> https://mailman.bic.mni.mcgill.ca/mailman/listinfo/loris-dev
>
>
>
>
> --
>
> Shen Wang
>
> Loris <https://github.com/aces/Loris>  Developer
>
> Montreal Neurological Institute
>
> McGill University
>
>
>


-- 
Shen Wang
Loris <https://github.com/aces/Loris>  Developer
Montreal Neurological Institute
McGill University
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.bic.mni.mcgill.ca/pipermail/loris-dev/attachments/20220525/057f63fd/attachment.html>


More information about the Loris-dev mailing list