Warning: require(): failed to open stream: No such file or directory

迅睿框架 更新 2022-04-12 15:38:15 Gavin
Warning: require(/wwwroot/dayrui/Fcms/Init.php): failed to open stream: No such file or directory in /home/www/wwwroot/CGZX/index.php on line 43

Fatal error: require(): Failed opening required '/wwwroot/dayrui/Fcms/Init.php' (include_path='.:/www/server/php/73/lib/php') in /home/www/wwwroot/CGZX/index.php on line 43

参考https://www.xunruicms.com/doc/846.html后,出现这个错误。代码确认了没有错的。

方案

  • 迅睿框架技术-岳老师 #1 · 2022-03-04 16:04:37
    满意答案
    意思是文件不存在
    /wwwroot/dayrui/Fcms/Init.php
    没权限访问上层目录,服务器权限问题了
  • Gavin #2 · 2022-04-12 15:38:15
    @迅睿框架技术-岳老师:弄了半天,还不行,权限应该没错的

迅睿系统漏洞

百度AI批量检测敏感词
百度AI批量检测敏感词(2026-10-26)
优化长任务超时问题
泛解析站群系统
泛解析站群系统(2026-10-26)
添加子站时设置模板
GEO系统
GEO系统(2026-10-26)
修复抖音图文会话不持久:扩大 Cookie 域、会话 Cookie ...
GeoSeo收录宝
GeoSeo收录宝(2026-10-25)
优化插件日志等小细节 1 优化 爬虫监控月统计超200万数据容易...
迅睿工具箱
迅睿工具箱(2026-10-24)
修正页面显示样式
秒变内部站
秒变内部站(2026-10-23)
全站只有管理员身份可以访问
GeoSeo工具箱
GeoSeo工具箱(2026-10-23)
Schema信息数据兜底
AI文章生成器
AI文章生成器(2026-10-23)
关键词批量录入
网站监控
网站监控(2026-10-23)
状态码大于0,即认为服务器在线