问题:首页提示错误:
Error page: /index.php?upcache=1
Error infos: Unknown column 'gdpic' in 'field list'
Error sql: Select aid,typeid,channel,arcrank,mid,click,title,senddate,flag,litpic,lastpost,scores,goodpost,badpost,infotype,body,linkman,infosjg,number,wlsfs,oldnew,endtime,lxfs,gdpic,arc.aid as id,arc.senddate as pubdate,tp.typedir,tp.typename,tp.isdefault,tp.defaultname,tp.namerule, tp.namerule2,tp.ispart,tp.moresite,tp.siteurl,tp.sitepath from `dede_addoninfos` arc left join `dede_arctype` tp on arc.typeid=tp.id where typeid in (2,3,4,5,6,7,8,9,10,11,12) And arc.channel = '-8' and arc.arcrank > -1 order by arc.aid desc limit 0,18
解答:
gdpic 这字段可能修改模型时处理不当,经测试发现删除自定字段以后,内容模型中的列表附加字段中的自定义字段并没有删除造成。手动删除可以解决此问题。 |