0 Comments

织梦标签arclistsg调用单表模型出错如何解决

发布于:2019-03-01  |   作者:admin  |   已聚集:人围观
今天我们在客户开发的过程中使用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'";

标签:(24)(1)
专业承接织梦仿站,织梦模块开发,织梦插件开发,织梦模板定制,网站优化,可联系QQ:
点击这里给我发消息
飞机