[Loris-dev] Loris installation

Rathi Gnanasekaran sekaranrathi at gmail.com
Thu Jun 4 09:36:21 EDT 2015


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/
> <https://exchange.mcgill.ca/owa/redir.aspx?SURL=8ffuLubB-sJ-srahKpotiYdHqWPm8oVL_YsE1AlInm3_fxNR3mzSCGgAdAB0AHAAOgAvAC8AbABvAGMAYQBsAGgAbwBzAHQALwB-AGwAbwByAGkAcwBhAGQAbQBpAG4ALwBsAG8AcgBpAHMALwBMAG8AcgBpAHMALQAxADUALgA0AC8AaAB0AGQAbwBjAHMALwA.&URL=http%3a%2f%2flocalhost%2f%7elorisadmin%2floris%2fLoris-15.4%2fhtdocs%2f>
>
> --> [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/
> <https://exchange.mcgill.ca/owa/redir.aspx?SURL=8ffuLubB-sJ-srahKpotiYdHqWPm8oVL_YsE1AlInm3_fxNR3mzSCGgAdAB0AHAAOgAvAC8AbABvAGMAYQBsAGgAbwBzAHQALwB-AGwAbwByAGkAcwBhAGQAbQBpAG4ALwBsAG8AcgBpAHMALwBMAG8AcgBpAHMALQAxADUALgA0AC8AaAB0AGQAbwBjAHMALwA.&URL=http%3a%2f%2flocalhost%2f%7elorisadmin%2floris%2fLoris-15.4%2fhtdocs%2f>
>
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.bic.mni.mcgill.ca/pipermail/loris-dev/attachments/20150604/04dfbbe4/attachment.html>


More information about the Loris-dev mailing list