繁体   English   中英

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

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

我确定代码,但它似乎有一个错误.. 500 内部错误.. 当我检查它的错误日志.. 它出现这个错误:

PHP 警告:require_once(/home/qualityfoodequipment/public_html/system/startup.php) [function.require-once]:无法打开流:第 23 行的 /home/ququ6475/public_html/index.php 中没有这样的文件或目录

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

在 index.php 第 23 行:

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

在 config.php 目录上:

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

皮斯帮我处理这些家伙! 提前致谢!

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

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

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM