V
V
Vladimir2016-08-16 09:27:34
Yii
Vladimir, 2016-08-16 09:27:34

How to migrate a Yii2 project?

Good day! I work on two computers, on a Windows laptop, and on a stationary Linux. On the way to Windows, I installed the Yii2-Advanced project via Composer, set it up a bit and made a commit via Git. Having started working on Linux, I cloned the project, set up Apache and launched the site, but I get the "HTTP ERROR 500" error. In Apache logs:

[Tue Aug 16 09:13:45.065826 2016] [:error] [pid 17942] [client 127.0.0.1:35278] PHP Fatal error:  require(): Failed opening required '/srv/goldhouse/frontend/web/../../vendor/autoload.php' (include_path='.:/usr/share/php:/usr/share/pear') in /srv/goldhouse/frontend/web/index.php on line 5

The vendor folder is created by Composer, what could be the problem? And how do I fix this so that I can work on the project on both Windows and Linux.
Thanks in advance for your replies!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stanislav Pochepko, 2016-08-16
@MasterGerold

Did you composer updateor composer installdid you?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question