opencats / OpenCATS

Applicant Tracking System (maintained code base)

Home Page:http://www.opencats.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installation resulting in ERROR 500

tatdig opened this issue · comments

Expected behavior and actual behavior.

Expected site up and running.
Site is producing error 500

Steps to reproduce the problem.

Follow the steps in manual - https://opencats-documentation.readthedocs.io/en/latest/Install-Ubuntu-16.04.html#install-the-opencats-software

What version of opencats are you running?

Used git clone, so it is newest

Release or downloaded from Git?

Yes

WAMP or LAMP?

LAMP

What version of PHP and MySQL are you running

Not applicable

attach appropriate error logs. Please attach [apache/mysql] error/access logs as needed.

AH01071: Got error 'PHP message: PHP Warning: include_once(./vendor/autolo
ad.php): failed to open stream: No such file or directory in ...

The vendor directory in a composer-generated codebase is one level up from the docroot. And it is needed to run the application.
It's true that only docroot needs to be served by the webserver, but the vendor and autoloader still need to be accessible to the application.

Check that the include directive in PHP is file-system based

commented

It appears as though you have not downloaded the '-FULL' archive at https://github.com/opencats/opencats/releases

As @mselavarasan comments, you can run composer to pull in the dependencies, or grab the -FULL package. If you want to pull in the dependencies, run composer install in the root directory.