beat365亚洲官方网站-首页

:(

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 ') LIMIT 1' at line 1 [ SQL语句 ] : SELECT * FROM `onethink_document_article` WHERE ( id = ) LIMIT 1

错误位置

FILE: /data/home/qxu2060420076/htdocs/ThinkPHP/Library/Think/Db/Driver.class.php  LINE: 385

TRACE

#0 /data/home/qxu2060420076/htdocs/ThinkPHP/Library/Think/Db/Driver.class.php(385): E('1064:You have a...')
#1 /data/home/qxu2060420076/htdocs/ThinkPHP/Library/Think/Db/Driver.class.php(196): Think\Db\Driver->error()
#2 /data/home/qxu2060420076/htdocs/ThinkPHP/Library/Think/Db/Driver.class.php(1057): Think\Db\Driver->query('SELECT * FROM `...', false, false)
#3 /data/home/qxu2060420076/htdocs/ThinkPHP/Library/Think/Model.class.php(816): Think\Db\Driver->select(Array)
#4 /data/home/qxu2060420076/htdocs/Application/Home/Controller/ArticleController.class.php(80): Think\Model->find()
#5 [internal function]: Home\Controller\ArticleController->product()
#6 /data/home/qxu2060420076/htdocs/ThinkPHP/Library/Think/App.class.php(178): ReflectionMethod->invoke(Object(Home\Controller\ArticleController))
#7 /data/home/qxu2060420076/htdocs/ThinkPHP/Library/Think/App.class.php(113): Think\App::invokeAction(Object(Home\Controller\ArticleController), 'product')
#8 /data/home/qxu2060420076/htdocs/ThinkPHP/Library/Think/App.class.php(213): Think\App::exec()
#9 /data/home/qxu2060420076/htdocs/ThinkPHP/Library/Think/Think.class.php(135): Think\App::run()
#10 /data/home/qxu2060420076/htdocs/ThinkPHP/ThinkPHP.php(100): Think\Think::start()
#11 /data/home/qxu2060420076/htdocs/index.php(39): require('/data/home/qxu2...')
#12 {main}