PHP警告:require_once无法打开流:中没有这样的文件或目录


PHP Warning: require_once failed to open stream: No such file or directory in

我对代码很确定,但似乎有错误。。500内部错误。。当我查看错误日志时。。出现了这个错误:

PHP警告:require_one(/home/qualitymodequipment/public_html/system/startment.PHP)[函数.需要一次]:无法打开流:第23行/home/ququ6475/public_html/index.php中没有这样的文件或目录

PHP致命错误:require_once()[function.request]:无法打开所需的"/home/qualitymodequipment/public_html/system/startment.php"(include_path='.:/opt/alt/php53/usr/share/pear:/opt/alt/php53/usr/share/php')在第23行的/home/ququ6475/public_html/index.php中

在index.php第23行:

require_once(VQMod::modCheck(DIR_SYSTEM . 'startup.php'));

在config.php上DIR:

define('DIR_SYSTEM', '/home/qualityfoodequipment/public_html/system/');

豌豆帮我对付这些家伙!提前感谢!

您似乎正在执行ququ6475用户的index.php,并试图包含属于另一个用户的文件(qualitymodequipment)。

可能是包含的文件不存在,或者ququ6475用户没有足够的权限读取它,或者您使用错误的用户名配置了DIR_SYSTEM。