错误位置: FILE: /home/bae/app/Core/Lib/Driver/Db/DbMysql.class.php LINE: 320
[ TRACE ]
[24-05-02 05:39:05] /home/bae/app/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 {$title} 发布时间:{$createtime|toDate=###,'Y-m-d'} 发布人:{$username} {$title} 发布时间:{$createtime|toDate=###,'Y-m-d'} 发布人:{$username} {$title} 发布时间:{$createtime|toDate=###,'Y-m-d'} 发布人:{$username} {$title} 发布时间:{$createtime|toDate=###,'Y-m-d'} 发布人:{$username} {$title} 发布时间:{$createtime|toDate=###,'Y-m-d'} 发布人:{$username} {$title} 发布时间:{$createtime|toDate=###,'Y-m-d'} 发布人:{$username} {$title} 发布时间:{$createtime|toDate=###,'Y-m-d'} 发布人:{$username} {$title} 发布时间:{$createtime|toDate=###,'Y-m-d'} 发布人:{$username}
[ SQL语句 ] : SELECT * FROM `xb_` WHERE catid= and id< ORDER BY id DESC LIMIT 1 , , ERR)
[24-05-02 05:39:05] /home/bae/app/Core/Lib/Driver/Db/DbMysql.class.php (107) DbMysql->error()
[24-05-02 05:39:05] /home/bae/app/Core/Lib/Core/Db.class.php (739) DbMysql->query(SELECT * FROM `xb_` WHERE catid= and id< ORDER BY id DESC LIMIT 1 )
[24-05-02 05:39:05] /home/bae/app/Core/Lib/Core/Model.class.php (597) Db->select(Array)
[24-05-02 05:39:05] /home/bae/app/Core/Extend/Driver/TagLib/TagLibXd.class.php (39) Model->find()
[24-05-02 05:39:05] /home/bae/app/Core/Lib/Template/ThinkTemplate.class.php (389) TagLibXd->_pre(, )
[24-05-02 05:39:05] /home/bae/app/Core/Lib/Template/ThinkTemplate.class.php(358) : regexp code (1) ThinkTemplate->parseXmlTag(Xd, pre, , )
[24-05-02 05:39:05] /home/bae/app/Core/Lib/Template/ThinkTemplate.class.php (358) preg_replace(/
query("select * from xb_slide_data where fid = 1 limit 5"); if ($_result): $i=0;foreach($_result as $key=>$r):++$i;$mod = ($i % 2 );?>
query("select * from xb_slide_data where fid = 1 limit 5"); 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(7,1,21,22,37,38,39,2,3,4,5,6) AND posid =1")->order("rand()")->limit("1")->select();; if ($_result): $i=0;foreach($_result as $key=>$r):++$i;$mod = ($i % 2 );?>
{$content}
field("id,catid,url,title,title_style,keywords,description,thumb,createtime")->where(" 1 AND status=1 AND catid in(7,1,21,22,37,38,39,2,3,4,5,6) AND posid =1")->order("rand()")->limit("1")->select();; if ($_result): $i=0;foreach($_result as $key=>$r):++$i;$mod = ($i % 2 );?>
{$content}
)
[24-05-02 05:39:05] /home/bae/app/Core/Lib/Template/ThinkTemplate.class.php (188) ThinkTemplate->parseTagLib(Xd,
query("select * from xb_slide_data where fid = 1 limit 5"); if ($_result): $i=0;foreach($_result as $key=>$r):++$i;$mod = ($i % 2 );?>
query("select * from xb_slide_data where fid = 1 limit 5"); 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(7,1,21,22,37,38,39,2,3,4,5,6) AND posid =1")->order("rand()")->limit("1")->select();; if ($_result): $i=0;foreach($_result as $key=>$r):++$i;$mod = ($i % 2 );?>
{$content}
field("id,catid,url,title,title_style,keywords,description,thumb,createtime")->where(" 1 AND status=1 AND catid in(7,1,21,22,37,38,39,2,3,4,5,6) AND posid =1")->order("rand()")->limit("1")->select();; if ($_result): $i=0;foreach($_result as $key=>$r):++$i;$mod = ($i % 2 );?>
{$content}
)
[24-05-02 05:39:05] /home/bae/app/Core/Lib/Template/ThinkTemplate.class.php (131) ThinkTemplate->parse(
{$content}
{$content}
)
[24-05-02 05:39:05] /home/bae/app/Core/Lib/Template/ThinkTemplate.class.php (112) ThinkTemplate->compiler(
{$content}
{$content}
)
[24-05-02 05:39:05] /home/bae/app/Core/Lib/Template/ThinkTemplate.class.php (76) ThinkTemplate->loadTemplate(template/Home/Default/Article_show.html, )
[24-05-02 05:39:05] /home/bae/app/Core/Lib/Behavior/ParseTemplateBehavior.class.php (61) ThinkTemplate->fetch(template/Home/Default/Article_show.html, Array, )
[24-05-02 05:39:05] /home/bae/app/Core/Common/common.php (480) ParseTemplateBehavior->run(Array)
[24-05-02 05:39:05] /home/bae/app/Core/Common/common.php (427) B(ParseTemplate, Array)
[24-05-02 05:39:05] /home/bae/app/Core/Lib/Core/View.class.php (129) tag(view_parse, Array)
[24-05-02 05:39:05] /home/bae/app/Core/Lib/Core/View.class.php (69) View->fetch(Article:show, , )
[24-05-02 05:39:05] /home/bae/app/Core/Lib/Core/Action.class.php (101) View->display(Article:show, , , , )
[24-05-02 05:39:05] /home/bae/app/lib/Action/BaseAction.class.php (363) Action->display(Article:show)
[24-05-02 05:39:05] /home/bae/app/lib/Action/Home/EmptyAction.class.php (72) BaseAction->show(213, Article)
[24-05-02 05:39:05] /home/bae/app/Core/Lib/Core/Action.class.php (210) EmptyAction->_empty(show, )
[24-05-02 05:39:05] () Action->__call(show, )
[24-05-02 05:39:05] /home/bae/app/Core/Lib/Core/App.class.php (198) ReflectionMethod->invokeArgs(, Array)
[24-05-02 05:39:05] /home/bae/app/Core/Lib/Core/App.class.php (218) App::exec()
[24-05-02 05:39:05] /home/bae/app/Core/Lib/Core/Think.class.php (39) App::run()
[24-05-02 05:39:05] /home/bae/app/Core/Common/runtime.php (254) Think::start()
[24-05-02 05:39:05] /home/bae/app/Core/Core.php (31) require(/home/bae/app/Core/Common/runtime.php)
[24-05-02 05:39:05] /home/bae/app/index.php (13) require(/home/bae/app/Core/Core.php)