[24-04-20 17:35:04] /usr/home/qxu1539560071/htdocs/Core/Lib/Driver/Db/DbMysql.class.php (320) trace(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 'and id< ORDER BY id DESC LIMIT 1' at line 1
[ SQL语句 ] : SELECT * FROM `xdnet_` WHERE catid= and id< ORDER BY id DESC LIMIT 1 , , ERR)
[24-04-20 17:35:04] /usr/home/qxu1539560071/htdocs/Core/Lib/Driver/Db/DbMysql.class.php (107) DbMysql->error()
[24-04-20 17:35:04] /usr/home/qxu1539560071/htdocs/Core/Lib/Core/Db.class.php (739) DbMysql->query(SELECT * FROM `xdnet_` WHERE catid= and id< ORDER BY id DESC LIMIT 1 )
[24-04-20 17:35:04] /usr/home/qxu1539560071/htdocs/Core/Lib/Core/Model.class.php (597) Db->select(Array)
[24-04-20 17:35:04] /usr/home/qxu1539560071/htdocs/Core/Extend/Driver/TagLib/TagLibXd.class.php (39) Model->find()
[24-04-20 17:35:04] /usr/home/qxu1539560071/htdocs/Core/Lib/Template/ThinkTemplate.class.php (389) TagLibXd->_pre(, )
[24-04-20 17:35:04] /usr/home/qxu1539560071/htdocs/Core/Lib/Template/ThinkTemplate.class.php(358) : regexp code (1) ThinkTemplate->parseXmlTag(Xd, pre, , )
[24-04-20 17:35:04] /usr/home/qxu1539560071/htdocs/Core/Lib/Template/ThinkTemplate.class.php (358) preg_replace(/]*)\/(\s*?)>/eis, $this->parseXmlTag('Xd','pre','$1',''),
field("id,catid,url,title,title_style,keywords,description,thumb,createtime")->where(" 1 AND status=1 AND catid in(3,17,18,20,21,22,23,24,26,43,45) AND posid =1")->order("id desc")->limit("10")->select();; if ($_result): $i=0;foreach($_result as $key=>$re):++$i;$mod = ($i % 2 );?>
query("select * from xdnet_product where status = 1 order by createtime desc limit 8"); if ($_result): $i=0;foreach($_result as $key=>$r):++$i;$mod = ($i % 2 );?>
query("select * from xdnet_product where status=1 and catid != $catid and posid=1"); if ($_result): $i=0;foreach($_result as $key=>$r):++$i;$mod = ($i % 2 );?>
field("id,catid,url,title,title_style,keywords,description,thumb,createtime")->where(" 1 AND status=1 AND catid=42")->order("id desc")->limit("10")->select();; if ($_result): $i=0;foreach($_result as $key=>$r):++$i;$mod = ($i % 2 );?>
field("id,catid,url,title,title_style,keywords,description,thumb,createtime")->where(" 1 AND status=1 AND catid in(3,17,18,20,21,22,23,24,26,43,45) AND posid =1")->order("id desc")->limit("10")->select();; if ($_result): $i=0;foreach($_result as $key=>$re):++$i;$mod = ($i % 2 );?>
query("select * from xdnet_product where status = 1 order by createtime desc limit 8"); if ($_result): $i=0;foreach($_result as $key=>$r):++$i;$mod = ($i % 2 );?>
query("select * from xdnet_product where status=1 and catid != $catid and posid=1"); if ($_result): $i=0;foreach($_result as $key=>$r):++$i;$mod = ($i % 2 );?>
field("id,catid,url,title,title_style,keywords,description,thumb,createtime")->where(" 1 AND status=1 AND catid=42")->order("id desc")->limit("10")->select();; if ($_result): $i=0;foreach($_result as $key=>$r):++$i;$mod = ($i % 2 );?>