@ssass70

Fatal error: require_once(): Failed opening required?

Имеется файл его путь:
/home/a/ayvfayds/домен/public_html/engine/user/account.php
В account.php имеется строка:
require_once('/engine/core/connect.php');
Путь до файла connect.php:
/home/a/ayvfayds/домен/public_html/engine/core/connect.php
Ошибка:
[09-Jan-2019 22:02:42 Europe/Moscow] PHP Warning: require_once(/engine/core/connect.php): failed to open stream: No such file or directory in /home/a/ayvfayds/azrpyellow.ml/public_html/engine/user/account.php on line 4
[09-Jan-2019 22:02:42 Europe/Moscow] PHP Fatal error: require_once(): Failed opening required '/engine/core/connect.php' (include_path='.:/usr/share/php') in /home/a/ayvfayds/azrpyellow.ml/public_html/engine/user/account.php on line 4
  • Вопрос задан
  • 439 просмотров
Пригласить эксперта
Ответы на вопрос 1
gromdron
@gromdron
Работаю с Bitrix24
require_once($_SERVER['DOCUMENT_ROOT'].'/engine/core/connect.php');
Ответ написан
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы