[Loris-dev] Loris installation

Dave MacFarlane david.macfarlane2 at mcgill.ca
Thu Jun 4 09:57:26 EDT 2015


A minor correction:
"composer install", not "composer update".
(Install downloads and installs the required versions of the libraries, update tries to update composer.json to the latest version of the libraries but doesn't install them.)
- Dave

Date: Thu, 4 Jun 2015 09:36:21 -0400
From: sekaranrathi at gmail.com
To: deepaks4077 at gmail.com
CC: loris-dev at bic.mni.mcgill.ca
Subject: Re: [Loris-dev] Loris installation

Hi Deepak,You need to install Composer. Follow instructions in the Globally section: https://getcomposer.org/doc/00-intro.md
After its installed do composer update. 
This should fix your issue. 
Rathi
On Thu, Jun 4, 2015 at 9:08 AM, Deepak Sharma <deepaks4077 at gmail.com> wrote:
Hi everyone!
I managed to install Loris but I think I might have messed up somewhere. I was able to setup a localhost server for the username lorisadmin. But when I loaded main.php in htdocs I didnt get anything at all. There was a blank space. Here are my apache logs:
--> [Sun May 31 18:57:22.577972 2015] [:error] [pid 1432] [client ::1:59853] PHP Warning:  require_once(/Users/lorisadmin/Sites/loris/Loris-15.4/htdocs/../vendor/autoload.php): failed to open stream: No such file or directory in /Users/lorisadmin/Sites/loris/Loris-15.4/htdocs/main.php on line 17, referer: http://localhost/~lorisadmin/loris/Loris-15.4/htdocs/http://localhost/~lorisadmin/loris/Loris-15.4/htdocs/
--> [Sun May 31 18:57:22.578036 2015] [:error] [pid 1432] [client ::1:59853] PHP Fatal error:  require_once(): Failed opening required '/Users/lorisadmin/Sites/loris/Loris-15.4/htdocs/../vendor/autoload.php' (include_path='.:/php/includes:/usr/share/pear:/usr/local/lib/php/Smarty:../project/libraries:../php/libraries:') in /Users/lorisadmin/Sites/loris/Loris-15.4/htdocs/main.php on line 17, referer: http://localhost/~lorisadmin/loris/Loris-15.4/htdocs/http://localhost/~lorisadmin/loris/Loris-15.4/htdocs/
So it seems that apache could not find vendor/autoload.php . But I did a find . -name "autoload.php" search and couldnt find one either. I also did the same for"vendor" and couldnt find a vendor folder. I then cloned the repo again and still couldnt find vendor/autoload.php 
Can anyone help me please? Would love to get this sorted and start working on the code!

Thanks,Deepak

_______________________________________________

Loris-dev mailing list

Loris-dev at bic.mni.mcgill.ca

http://www.bic.mni.mcgill.ca/mailman/listinfo/loris-dev





_______________________________________________
Loris-dev mailing list
Loris-dev at bic.mni.mcgill.ca
http://www.bic.mni.mcgill.ca/mailman/listinfo/loris-dev 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.bic.mni.mcgill.ca/pipermail/loris-dev/attachments/20150604/1ca25d50/attachment-0001.html>


More information about the Loris-dev mailing list