1. 当前位置:网站首页 > 网站运营

帝国CMS更新出现Table '***.phome_ecms_news_data_' doesn't exist解决办法


帝国CMS刷新内容页出现以下错误

1
Table '***.phome_ecms_news_data_' doesn't exist select keyid,dokey,newstempid,closepl,infotags,address from ***_ecms_news_data_ where id='1878' limit 1

这个主要是因为信息表中该信息已经删除了,但是索引表中还存在,所以就出错了。

解决办法:


在帝国CMS后台执行以下SQL语句删除索引表中多余的信息即可

1
delete from `phome_ecms_news_index` where id not in(select id from phome_ecms_news)
1
2
3
4
5
6
7
8
9
10
11
<div style="text-align: center;">
       <input type="button" value="微信登录" onclick="WxLogin()" style="width: 80px; height: 40px;" />
   </div>
   <script src="http://static.ydbimg.com/Scripts/jquery-1.9.1.js" type="text/javascript"></script>
   <script src="http://static.ydbimg.com/API/YdbOnline.js" type="text/javascript"></script>
   <script type="text/javascript">
       function WxLogin() {
           var YDB = new YDBOBJ();
           YDB.WXLogin(1, "http://你的回调页面);
       }       
   </script>



本文最后更新于2018-7-26,已超过 3个月没有更新,如果文章内容或图片资源失效,请留言反馈,我们会及时处理,谢谢!
版权说明

本文地址:https://blog.gengchao.cn/post-238.html
未标注转载均为本站远程,转载请注明文章出处:

发表评论

联系我们

在线咨询:点击这里给我发消息

微信号:cngengchao

工作日:9:00-23:00,节假日休息

扫码关注