[Loris-dev] LORIS error on start up ...

Naveen Ashish Naveen.Ashish at loni.usc.edu
Thu Apr 14 11:26:02 EDT 2016


Hi Christine,
Thank you for your prompt response ! That was exactly the problem and now
it stands fixed !

Best
 - Naveen

Naveen Ashish
The Institute for Neuroimaging and Informatics
Keck School of Medicine of USC
University of Southern California
2001 North Soto Street - Room 102
Los Angeles, CA 90032
Phone: (323) 442-0142
nashish at loni.usc.edu<mailto:nashish at loni.usc.edu>

________________________________
From: Christine Rogers <christine.rogers at mcgill.ca>
Sent: Thursday, April 14, 2016 3:03 AM
To: Naveen Ashish
Cc: loris-dev at bic.mni.mcgill.ca
Subject: Re: [Loris-dev] LORIS error on start up ...

Hi Naveen,

I believe your issue is related to the installation of Composer, the package manager software Loris uses to manage dependencies.

For your Ubuntu setup, try installing Composer thus (per the wiki)<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_aces_Loris_wiki_Install-2DScript-23troubleshooting&d=CwMFaQ&c=clK7kQUTWtAVEOVIgvi0NU5BOUHhpN0H8p7CSfnc_gI&r=iGECOgwoEXnbC6xW4RxIV7EZeQE9tNG_sxnino1-llw&m=XdSkpOWkBEfnOvBiN_6ILGdqjAOSsdd8ID8k31eBYKs&s=5y-RD9TbOvVwNUR5L0O4WOWCHEGM8YbyRgchmMXRP2Y&e=> from /var/www/loris  :

  curl -sS https://getcomposer.org/installer<https://urldefense.proofpoint.com/v2/url?u=https-3A__getcomposer.org_installer&d=CwMFaQ&c=clK7kQUTWtAVEOVIgvi0NU5BOUHhpN0H8p7CSfnc_gI&r=iGECOgwoEXnbC6xW4RxIV7EZeQE9tNG_sxnino1-llw&m=XdSkpOWkBEfnOvBiN_6ILGdqjAOSsdd8ID8k31eBYKs&s=Em40jky-y8lvXnwQz4TFAl0Sc3cB6MQ5bvFlq5JtCuk&e=> | php;
  sudo mv composer.phar /usr/local/bin/composer
  composer install

This should create your $lorisroot/vendor/autoload.php

Feel free to let me know if you have further questions --
Best,
Christine
--
LORIS data systems | loris.ca<https://urldefense.proofpoint.com/v2/url?u=http-3A__loris.ca_&d=CwMFaQ&c=clK7kQUTWtAVEOVIgvi0NU5BOUHhpN0H8p7CSfnc_gI&r=iGECOgwoEXnbC6xW4RxIV7EZeQE9tNG_sxnino1-llw&m=XdSkpOWkBEfnOvBiN_6ILGdqjAOSsdd8ID8k31eBYKs&s=nsQ8lni2sYShV8QVnY6XSZIUKh955eoD2awd4RpbuAI&e=>
McGill Centre for Integrative Neuroscience| MCIN.ca
Montreal Neurological Institute
McGill University | Montreal | Canada


On Wed, Apr 13, 2016 at 9:15 PM, Naveen Ashish <Naveen.Ashish at loni.usc.edu<mailto:Naveen.Ashish at loni.usc.edu>> wrote:
Hello,
I am trying to get Loris running under Ubuntu. I went through the Install Script and I think all ok and the following steps too. However on attempting to access the main page I get an error related to not finding a PP file which is ../vendor/autoload.php

And I see I do not have a "vendor" folder or that PHP file in my Loris directory at all !

I am enclosing the error below:

Warning: require_once(/var/www/loris/htdocs/../vendor/autoload.php): failed to open stream: No such file or directory in /var/www/loris/htdocs/main.php on line20

Fatal error: require_once(): Failed opening required '/var/www/loris/htdocs/../vendor/autoload.php' (include_path='.:/usr/share/php:/usr/share/pear:/var/www/loris/project/libraries:/var/www/loris/php/libraries:../project/libraries:../php/libraries:') in/var/www/loris/htdocs/main.php on line 20


Naveen Ashish
The Institute for Neuroimaging and Informatics
Keck School of Medicine of USC
University of Southern California
2001 North Soto Street - Room 102
Los Angeles, CA 90032
Phone: (323) 442-0142<tel:%28323%29%20442-0142>
nashish at loni.usc.edu<mailto:nashish at loni.usc.edu>

_______________________________________________
Loris-dev mailing list
Loris-dev at bic.mni.mcgill.ca<mailto:Loris-dev at bic.mni.mcgill.ca>
http://www.bic.mni.mcgill.ca/mailman/listinfo/loris-dev<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.bic.mni.mcgill.ca_mailman_listinfo_loris-2Ddev&d=CwMFaQ&c=clK7kQUTWtAVEOVIgvi0NU5BOUHhpN0H8p7CSfnc_gI&r=iGECOgwoEXnbC6xW4RxIV7EZeQE9tNG_sxnino1-llw&m=XdSkpOWkBEfnOvBiN_6ILGdqjAOSsdd8ID8k31eBYKs&s=8cTpSBjimEyTpyIEJD_AdgXE6HVSh_GDqu15BZz-u2A&e=>




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.bic.mni.mcgill.ca/pipermail/loris-dev/attachments/20160414/aa2026c4/attachment-0001.html>


More information about the Loris-dev mailing list