无法打开流:没有该文件或目录

无法打开流:没有该文件或目录

我已经备份了 ftp 中的所有档案,将它们全部删除,并将所有文件夹复制到同一个位置。

现在我收到这个错误: Warning: require(/../private/shADMIN/fuel/app/bootstrap.php): failed to open stream: No such file or directory in /var/www/homol/web/index.php on line 11 Fatal error: require(): Failed opening required '/../private/shADMIN/fuel/app/bootstrap.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/homol/web/index.php on line 11

我已经正确设置了所有权限。我应该检查什么?

在index.php上:

error_reporting(-1);
    ini_set('display_errors', 1);
    define('DOCROOT', __DIR__ . DIRECTORY_SEPARATOR);
    define('APPPATH', realpath(__DIR__ . '/../fuel/app/') . DIRECTORY_SEPARATOR);
    define('PKGPATH', realpath(__DIR__ . '/../fuel/packages/') . DIRECTORY_SEPARATOR);
    define('COREPATH', realpath(__DIR__ . '/../fuel/core/') . DIRECTORY_SEPARATOR);
    defined('FUEL_START_TIME') or define('FUEL_START_TIME', microtime(true));
    defined('FUEL_START_MEM') or define('FUEL_START_MEM', memory_get_usage());
    echo APPPATH;
    //require APPPATH.'bootstrap.php';
    require '/var/www/homol/private/shADMIN/fuel/app/bootstrap.php';

echo APPAPPPATH 仅打印“/”;

相关内容