:(

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 pubdate desc' at line 1 [ SQL语句 ] : SELECT * FROM `wm_archives` WHERE typeid= ORDER BY pubdate desc

错误位置

FILE: /home/seesawcoffeexsdezefsna2wscbocf9fhele/wwwroot/TPF/Lib/Driver/Db/DbMysql.class.php  LINE: 320

TRACE

[18-08-19 17:14:08] /home/seesawcoffeexsdezefsna2wscbocf9fhele/wwwroot/TPF/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 'ORDER BY pubdate desc' at line 1
[ SQL语句 ] : SELECT * FROM `wm_archives` WHERE typeid= ORDER BY pubdate desc , , ERR)
[18-08-19 17:14:08] /home/seesawcoffeexsdezefsna2wscbocf9fhele/wwwroot/TPF/Lib/Driver/Db/DbMysql.class.php (107) DbMysql->error()
[18-08-19 17:14:08] /home/seesawcoffeexsdezefsna2wscbocf9fhele/wwwroot/TPF/Lib/Core/Db.class.php (739) DbMysql->query(SELECT * FROM `wm_archives` WHERE typeid= ORDER BY pubdate desc )
[18-08-19 17:14:08] /home/seesawcoffeexsdezefsna2wscbocf9fhele/wwwroot/TPF/Lib/Core/Model.class.php (497) Db->select(Array)
[18-08-19 17:14:08] /home/seesawcoffeexsdezefsna2wscbocf9fhele/wwwroot/ecms/Lib/Action/Home/IndexAction.class.php (204) Model->select()
[18-08-19 17:14:08] () IndexAction->blog()
[18-08-19 17:14:08] /home/seesawcoffeexsdezefsna2wscbocf9fhele/wwwroot/TPF/Lib/Core/App.class.php (172) ReflectionMethod->invoke()
[18-08-19 17:14:08] /home/seesawcoffeexsdezefsna2wscbocf9fhele/wwwroot/TPF/Lib/Core/App.class.php (208) App::exec()
[18-08-19 17:14:08] /home/seesawcoffeexsdezefsna2wscbocf9fhele/wwwroot/TPF/Lib/Core/Think.class.php (39) App::run()
[18-08-19 17:14:08] /home/seesawcoffeexsdezefsna2wscbocf9fhele/wwwroot/TPF/Common/runtime.php (243) Think::start()
[18-08-19 17:14:08] /home/seesawcoffeexsdezefsna2wscbocf9fhele/wwwroot/TPF/frame.php (30) require(/home/seesawcoffeexsdezefsna2wscbocf9fhele/wwwroot/TPF/Common/runtime.php)
[18-08-19 17:14:08] /home/seesawcoffeexsdezefsna2wscbocf9fhele/wwwroot/index.php (7) require(/home/seesawcoffeexsdezefsna2wscbocf9fhele/wwwroot/TPF/frame.php)