帝国CMS刷新内容页出现以下错误
Table '***.phome_ecms_news_data_' doesn't exist
select keyid,dokey,newstempid,closepl,infotags,address from ***_ecms_news_data_ where id='xxxx' limit 1
这个主要是因为信息表中该信息已经删除了,但是索引表中还存在,所以就出错了。
执行SQL语句处理掉多余的id既可解决问题:
delete from `phome_ecms_news_index` where id not in(select id from phome_ecms_news)
当然,如果要查询可以用如下指令:
select id from `phome_ecms_news_index` where id not in(select id from phome_ecms_news);
如果清空index,可以用如下指令添加:
update phome_ecms_news_index set checked=1,newstime=1451024707,truetime=1451024748,lastdotime=1451031902,havehtml=1;
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。