:(

贵州11选五走势图: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 'index LIMIT 1' at line 1 [ SQL语句 ] : SELECT COUNT(a.id) AS tp_count FROM cm_book_info a LEFT JOIN cm_book_category b ON a.category_id=b.id LEFT JOIN cm_book_descr c ON a.book_id=c.book_id WHERE a.status=1 and a.read_limit=0 and a.platform=200 and a.category_id=index LIMIT 1

错误位置

FILE: /webuse/ayhy/ThinkPHP/Lib/Driver/Db/DbMysql.class.php  LINE: 320

TRACE

[19-05-22 09:25:05] /webuse/ayhy/ThinkPHP/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 'index LIMIT 1' at line 1
[ SQL语句 ] : SELECT COUNT(a.id) AS tp_count FROM cm_book_info a LEFT JOIN cm_book_category b ON a.category_id=b.id LEFT JOIN cm_book_descr c ON a.book_id=c.book_id WHERE a.status=1 and a.read_limit=0 and a.platform=200 and a.category_id=index LIMIT 1 , , ERR)
[19-05-22 09:25:05] /webuse/ayhy/ThinkPHP/Lib/Driver/Db/DbMysql.class.php (107) DbMysql->error()
[19-05-22 09:25:05] /webuse/ayhy/ThinkPHP/Lib/Core/Db.class.php (739) DbMysql->query(SELECT COUNT(a.id) AS tp_count FROM cm_book_info a LEFT JOIN cm_book_category b ON a.category_id=b.id LEFT JOIN cm_book_descr c ON a.book_id=c.book_id WHERE a.status=1 and a.read_limit=0 and a.platform=200 and a.category_id=index LIMIT 1 )
[19-05-22 09:25:05] /webuse/ayhy/ThinkPHP/Lib/Core/Model.class.php (713) Db->select(Array)
[19-05-22 09:25:05] /webuse/ayhy/ThinkPHP/Lib/Core/Model.class.php (239) Model->getField(COUNT(a.id) AS tp_count)
[19-05-22 09:25:05] /webuse/ayhy/ThinkPHP/Extend/Vendor/Info/Book/Book.class.php (175) Model->__call(count, Array)
[19-05-22 09:25:05] /webuse/ayhy/ThinkPHP/Extend/Vendor/Info/Book/Book.class.php (175) BookViewModel->count(a.id)
[19-05-22 09:25:05] /webuse/ayhy/www/Web/Lib/Action/BookAction.class.php (56) Book->Lists(1, 20, index, 0, 0, 0, 0, 0, )
[19-05-22 09:25:05] () BookAction->Booklist()
[19-05-22 09:25:05] /webuse/ayhy/ThinkPHP/Lib/Core/App.class.php (172) ReflectionMethod->invoke()
[19-05-22 09:25:05] /webuse/ayhy/ThinkPHP/Lib/Core/App.class.php (208) App::exec()
[19-05-22 09:25:05] /webuse/ayhy/ThinkPHP/Lib/Core/Think.class.php (39) App::run()
[19-05-22 09:25:05] /webuse/ayhy/ThinkPHP/Common/runtime.php (243) Think::start()
[19-05-22 09:25:05] /webuse/ayhy/ThinkPHP/ThinkPHP.php (30) require(/webuse/ayhy/ThinkPHP/Common/runtime.php)
[19-05-22 09:25:05] /webuse/ayhy/www/index.php (17) require(/webuse/ayhy/ThinkPHP/ThinkPHP.php)

  • 航运大数据时代到来,订舱就像买机票? 2019-05-21
  • 胡杏儿晒儿子软萌照 睡眼惺忪眼神迷人可爱十足 2019-05-17
  • 在最平凡的岗位践行初心和使命 2019-05-16
  • 回家! 民工南美受重伤 医生跨越3大洲五万公里将其接回治疗 2019-05-13
  • 湖北治理违规提取公积金 防止用公积金炒房 2019-05-10
  • 中国应该适当学一点米弟策略,不能够老是被动应付。 2019-05-04
  • 女性之声——全国妇联 2019-04-28
  • 回复@老老保老张工:三大件为什么会让人自豪?因为你有钱都买不到,必须找关系批条子!所以结婚能有三大件,不仅表示有钱,还表示有关系。 2019-04-24
  • C罗世界杯亮剑 上演帽子戏法后接受采访言语依旧低调 2019-04-22
  • 钱念孙做客徽派以出世精神 做入世事业 2019-04-22
  • 两场比赛5名球员梅开二度 巴萨皇马大胜 2019-04-21
  • 在端午品味文化的芳香 锐评 2019-04-21
  • 【克山天气】最新克山今天天气,实时提供克山气温、空气质量、24小时天气预报、生活指数查询 2019-04-17
  • 西马克集团:架起中德科技创新的友谊桥梁 2019-04-16
  • 报告:2017届大学毕业生就业率达91.9% 高职高专超本科 2019-04-13
  • 735| 348| 490| 740| 175| 944| 454| 12| 885| 280|