решено Установка "с нуля"

Warden

Пользователь
Подготовил nginx+php70.
Склонировал репозиторий.
Не запускается: пытается прочесть из дирки vendor, а она пустая.
Поискал howto, не нашёл. Разобрался, поставил composer, поставил им необходимые пакеты.
ОК, про vendor не ругается. Выкидывает 404 (на самом деле 50x, не найден /home/www/torrentpier/50x.html)

017/04/25 08:45:56 [error] 14507#14507: *31853 FastCGI sent in stderr: "PHP message: PHP Error: Call to undefined function DB() in /home/www/torrentpier/library/includes/sessions.php on line 117
PHP message: PHP Stack trace:
PHP message: PHP 1. {main}() /home/www/torrentpier/index.php:0
PHP message: PHP 2. user_common->session_start($cfg = *uninitialized*) /home/www/torrentpier/index.php:59
PHP message: PHP Fatal error: Uncaught Error: Call to undefined function DB() in /home/www/torrentpier/library/includes/sessions.php:117
Stack trace:
#0 /home/www/torrentpier/index.php(59): user_common->session_start()
#1 {main}
thrown in /home/www/torrentpier/library/includes/sessions.php on line 117" while reading response header from upstream, client: X.X.X.X, server: Z.Z.Z.Z, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/php-fpm.socket:", host: "Z.Z.Z.Z"
2017/04/25 08:45:56 [error] 14507#14507: *31853 open() "/home/www/torrentpier/50x.html" failed (2: No such file or directory), client: X.X.X.X, server: Z.Z.Z.Z, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/php-fpm.socket", host: "Z.Z.Z.Z"


что не так-то?
 

Kryl

Пользователь
Сверху