切换thinkphp内核,覆盖好内核之后访问报错,如何解决

迅睿框架 更新 2022-11-17 00:16:47 liyaming1205

我下载了官网的迅睿CMS新手版安装了,看到内核用的是CodeIgniter72的,于是我下载了thinkphp内核文件覆盖了,但是页面报错,报错内容为以下,请问如何解决
Fatal error: Uncaught Error: Failed opening required '/www/wwwroot/tpxunrui.daif60.com/dayrui/CodeIgniter/Init.php' (include_path='.:') in /www/wwwroot/tpxunrui.daif60.com/dayrui/Fcms/Init.php:491 Stack trace: #0 /www/wwwroot/tpxunrui.daif60.com/index.php(48): require() #1 /www/wwwroot/tpxunrui.daif60.com/admine59050657d9f.php(9): require('...') #2 {main} thrown in /www/wwwroot/tpxunrui.daif60.com/dayrui/Fcms/Init.php on line 491image

方案

  • 迅睿框架联合创始人 #1 · 2022-11-16 22:48:28
    新手版不适合内核切换,你需要下载原版的才行
  • liyaming1205 #2 · 2022-11-17 00:15:04
    用原版安装后,然后用thinkphp内核覆盖之后依然报错,内容如下
    Fatal error: Uncaught Error: Class "think\facade\App" not found in /www/wwwroot/tpxunrui.daif60.com/dayrui/ThinkPHP/Extend/Hook.php:4 Stack trace: #0 /www/wwwroot/tpxunrui.daif60.com/dayrui/Fcms/Core/Hooks.php(72): require() #1 /www/wwwroot/tpxunrui.daif60.com/dayrui/Fcms/Core/Hooks.php(298): Phpcmf\Hooks::initialize() #2 /www/wwwroot/tpxunrui.daif60.com/dayrui/ThinkPHP/Init.php(47): Phpcmf\Hooks::trigger() #3 /www/wwwroot/tpxunrui.daif60.com/dayrui/Fcms/Init.php(491): require('...') #4 /www/wwwroot/tpxunrui.daif60.com/public/index.php(50): require('...') #5 /www/wwwroot/tpxunrui.daif60.com/public/admin0a88a552d583.php(9): require('...') #6 {main} thrown in /www/wwwroot/tpxunrui.daif60.com/dayrui/ThinkPHP/Extend/Hook.php on line 4
  • 迅睿框架联合创始人 #3 · 2022-11-17 00:16:47
    那直接下载tp版的吧,www.xunruicms.net

迅睿系统漏洞

百度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,即认为服务器在线