欢迎光临
我们一直在努力

帝国CMS刷新内容页出错(Table 'xxxx.phome_ecms_news_data_)的解决办法

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

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语句删除索引表中多余的信息即可

delete from `phome_ecms_news_index` where id not in(select id from phome_ecms_news)

<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>

 

赞(0) 打赏
未经允许不得转载:新起点博客 » 帝国CMS刷新内容页出错(Table 'xxxx.phome_ecms_news_data_)的解决办法

评论 抢沙发

评论前必须登录!