帝国cms升级到7.0刷新自定义列表出错的解决方法
<p><strong>问题描述</strong></p><p>帝国cms6.6 建自定义列表都会用checked=1 这个条件</p>
<p>升级以后,刷新自定义列表就会出错,提示checked字段不存在</p>
<p><strong>问题原因</strong></p>
<p>帝国cms7.0 在主表里已经不设置checked这个字段了,审核和未审核的信息是分开表来存储的</p>
<p><strong>解决办法</strong></p>
<p>修改自定义列表,把checked=1 这个条件去掉</p>
<p>如果您设置的自定义列表比较多的话可以考虑用sql语句批量替换</p>
<p>update `zhuxianfeicom_enewsuserlist` set totalsql=replace(totalsql,'and checked=1',''),listsql=replace(listsql,'and checked=1','')</p>
頁:
[1]