6788js金沙国际『中国』有限责任公司

:(

1064: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 '-9,9' at line 1 [ SQL语句 ] : SELECT * FROM `tp_product` WHERE `cid` IN ('1','2','3','8','9','10','11','12',0) AND `isshow` = 1 AND `lang` = 0 ORDER BY orderby asc LIMIT -9,9

错误位置

FILE: /web/websys/tlzz/ThinkPHP/Library/Think/Db/Driver.class.php  LINE: 350

TRACE

#0 /web/websys/tlzz/ThinkPHP/Library/Think/Db/Driver.class.php(350): E()
#1 /web/websys/tlzz/ThinkPHP/Library/Think/Db/Driver.class.php(180): Think\Db\Driver->error()
#2 /web/websys/tlzz/ThinkPHP/Library/Think/Db/Driver.class.php(946): Think\Db\Driver->query()
#3 /web/websys/tlzz/ThinkPHP/Library/Think/Model.class.php(579): Think\Db\Driver->select()
#4 /web/websys/tlzz/Application/Index/Common/Controller/CommonController.class.php(639): Think\Model->select()
#5 /web/websys/tlzz/Application/Index/Controller/ProductController.class.php(31): Index\Common\Controller\CommonController->getProById()
#6 [internal function]: Index\Controller\ProductController->index()
#7 /web/websys/tlzz/ThinkPHP/Library/Think/App.class.php(173): ReflectionMethod->invoke()
#8 /web/websys/tlzz/ThinkPHP/Library/Think/App.class.php(110): Think\App::invokeAction()
#9 /web/websys/tlzz/ThinkPHP/Library/Think/App.class.php(204): Think\App::exec()
#10 /web/websys/tlzz/ThinkPHP/Library/Think/Think.class.php(120): Think\App::run()
#11 /web/websys/tlzz/ThinkPHP/ThinkPHP.php(97): Think\Think::start()
#12 /web/websys/tlzz/index.php(25): require('/web/websys/tlz...')
#13 {main}

Baidu
sogou