帝国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>
|
版权说明
本文地址:https://blog.gengchao.cn/post-238.html
未标注转载均为本站远程,转载请注明文章出处:


发表评论