M
M
Michael2020-02-20 18:08:39
Yii
Michael, 2020-02-20 18:08:39

What causes a white screen when going to the web?

Hello everybody! Please tell me, when you open a yii project and go to the web directory, a white screen is displayed! I installed LAMP and configured YII according to this article
. The log file contains the following information:

[php7:warn] [pid 9269] [client 127.0.0.1:52442] PHP Warning:  require(/var/www/shk/web/../vendor/autoload.php): failed to open stream: No such file or directory in /var/www/shk/web/index.php on line 7, referer: http://shk/
[php7:error] [pid 9269] [client 127.0.0.1:52442] PHP Fatal error:  require(): Failed opening required '/var/www/shk/web/../vendor/autoload.php' (include_path='.:/usr/share/php') in /var/www/shk/web/index.php on line 7, referer: http://shk/

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
cyberlog, 2020-02-20
@cyberlog

There is a problem with the paths
. What path is specified in Apache's configuration file?
What is the real path to the web folder?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question