详情页

帝国配置文件问题config.php帝国cms出现​​​​​​​Table ‘bjkangbeijiadb.phome_enewspubtemp_2’ doesn’t exist

时间:2022年04月03日

编辑:佚名

帝国配置文件问题config.php
Table ‘bjkangbeijiadb.phome_enewspubtemp_2’ doesn’t exist
select searchtemp,searchjstemp,searchjstemp1 from ***_enewspubtemp_2 limit 1
直观看问题的根源是帝国模板组的问题,但是类似问题其实大部分都是配置文件的配置问题,e/config/config.php这个文件要重点关注。
具体原因不能完全确定,但是这个错误的意思就是模板组不存在,导致这个原因一般是数据库和配置文件不匹配,比如说数据库里面一个模板组,但是配置文件config.php中有两个模板组,这样两边就不能匹配,导致上面的错误,我自己排查的原因就是这样的,替换config.php之后就解决了,没有再往细处深究,希望对看到这个的人有帮助。
相关文章
猜你需要