当前位置 : 主页 > 建站教程 > dedecms >

Dedecms标签arclistsg调用单表模型出错的解决方法

来源:互联网 收集:自由互联 发布时间:2021-12-23
使用arclistsg标签调用分类信息等单表模型出错提示Column id in where clause is ambiguous, 修改文件:include\taglib\arclistsg.lib.php 查找:以下为引用的内容: else $gquery = Select ch.addtable,listfields Fr
使用arclistsg标签调用分类信息等单表模型出错提示Column 'id' in where clause is ambiguous,      修改文件:include\taglib\arclistsg.lib.php     查找:   以下为引用的内容:
else $gquery = "Select ch.addtable,listfields From `dede_arctype` tp left join `dede_channeltype` ch on ch.id=tp.channeltype where id='$typeid'";
  替换为:    以下为引用的内容:
else $gquery = "Select ch.addtable,listfields From `dede_arctype` tp left join `dede_channeltype` ch on ch.id=tp.channeltype where tp.id='$typeid'";

上一篇:DedeCMS广告不显示的原因及解决方法
下一篇:没有了
网友评论
相关栏目