:(

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 ')' at line 1 [ SQL语句 ] : UPDATE `think_news` SET `read`='1' WHERE ( id= )

错误位置

FILE: /alidata/www/phpwind/jdy/Core/Library/Think/Db/Driver.class.php  LINE: 350

TRACE

#0 /alidata/www/phpwind/jdy/Core/Library/Think/Db/Driver.class.php(350): E('1064:You have a...')
#1 /alidata/www/phpwind/jdy/Core/Library/Think/Db/Driver.class.php(237): Think\Db\Driver->error()
#2 /alidata/www/phpwind/jdy/Core/Library/Think/Db/Driver.class.php(906): Think\Db\Driver->execute('UPDATE `think_n...', false)
#3 /alidata/www/phpwind/jdy/Core/Library/Think/Model.class.php(451): Think\Db\Driver->update(Array, Array)
#4 /alidata/www/phpwind/jdy/Core/Library/Think/Model.class.php(841): Think\Model->save(Array)
#5 /alidata/www/phpwind/jdy/Application/Ue/Controller/ShowController.class.php(145): Think\Model->setField('read', 1)
#6 [internal function]: Ue\Controller\ShowController->index()
#7 /alidata/www/phpwind/jdy/Core/Library/Think/App.class.php(173): ReflectionMethod->invoke(Object(Ue\Controller\ShowController))
#8 /alidata/www/phpwind/jdy/Core/Library/Think/App.class.php(110): Think\App::invokeAction(Object(Ue\Controller\ShowController), 'index')
#9 /alidata/www/phpwind/jdy/Core/Library/Think/App.class.php(204): Think\App::exec()
#10 /alidata/www/phpwind/jdy/Core/Library/Think/Think.class.php(120): Think\App::run()
#11 /alidata/www/phpwind/jdy/Core/ThinkPHP.php(97): Think\Think::start()
#12 /alidata/www/phpwind/jdy/index.php(43): require('/alidata/www/ph...')
#13 {main}