dedecms新建内容模型,本地测试成功,上传到空间,更新栏目时出错,但栏目页能正常调用 20
列表页代码:<ul>{dede:listaddfields=dtime}<li><span>[field:dtime/]------</span>[field:body/...
列表页代码:<ul>
{dede:list addfields=dtime }
<li><span>[field:dtime/] ------</span>[field:body /]</li>
{/dede:list}
</ul>
更新栏目时错误代码:Error page: /detd9/makehtml_list_action.php?typeid=234&maxpagesize=50&upnext=1
Error infos: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY arc.id desc limit 0, 10' at line 4
Error sql: SELECT arc.*,tp.typedir,tp.typename,tp.corank,tp.isdefault,tp.defaultname,tp.namerule, tp.namerule2,tp.ispart,tp.moresite,tp.siteurl,tp.sitepath FROM `dede_archives` arc LEFT JOIN `dede_arctype` tp ON arc.typeid=tp.id WHERE arc.arcrank>-1 AND arc.typeid IN(234) AND arc.id<> ORDER BY arc.id desc limit 0, 10 展开
{dede:list addfields=dtime }
<li><span>[field:dtime/] ------</span>[field:body /]</li>
{/dede:list}
</ul>
更新栏目时错误代码:Error page: /detd9/makehtml_list_action.php?typeid=234&maxpagesize=50&upnext=1
Error infos: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY arc.id desc limit 0, 10' at line 4
Error sql: SELECT arc.*,tp.typedir,tp.typename,tp.corank,tp.isdefault,tp.defaultname,tp.namerule, tp.namerule2,tp.ispart,tp.moresite,tp.siteurl,tp.sitepath FROM `dede_archives` arc LEFT JOIN `dede_arctype` tp ON arc.typeid=tp.id WHERE arc.arcrank>-1 AND arc.typeid IN(234) AND arc.id<> ORDER BY arc.id desc limit 0, 10 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询