{__NOLAYOUT__} 太阳集团7237网站(中国)股份有限公司-百度百科

太阳集团7237网站(中国)股份有限公司-百度百科

:(

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

错误位置

FILE: /www/web/guardian/public_html/ThinkPHP/Library/Think/Db/Driver.class.php  LINE: 350

TRACE

#0 /www/web/guardian/public_html/ThinkPHP/Library/Think/Db/Driver.class.php(350): E('1064:You have a...')
#1 /www/web/guardian/public_html/ThinkPHP/Library/Think/Db/Driver.class.php(237): Think\Db\Driver->error()
#2 /www/web/guardian/public_html/ThinkPHP/Library/Think/Db/Driver.class.php(906): Think\Db\Driver->execute('UPDATE `hzt_new...', false)
#3 /www/web/guardian/public_html/ThinkPHP/Library/Think/Model.class.php(451): Think\Db\Driver->update(Array, Array)
#4 /www/web/guardian/public_html/ThinkPHP/Library/Think/Model.class.php(841): Think\Model->save(Array)
#5 /www/web/guardian/public_html/Home/Controller/NewsController.class.php(70): Think\Model->setField('click', 1)
#6 [internal function]: Home\Controller\NewsController->view('index')
#7 /www/web/guardian/public_html/ThinkPHP/Library/Think/App.class.php(171): ReflectionMethod->invokeArgs(Object(Home\Controller\NewsController), Array)
#8 /www/web/guardian/public_html/ThinkPHP/Library/Think/App.class.php(110): Think\App::invokeAction(Object(Home\Controller\NewsController), 'view')
#9 /www/web/guardian/public_html/ThinkPHP/Library/Think/App.class.php(204): Think\App::exec()
#10 /www/web/guardian/public_html/ThinkPHP/Library/Think/Think.class.php(120): Think\App::run()
#11 /www/web/guardian/public_html/ThinkPHP/ThinkPHP.php(97): Think\Think::start()
#12 /www/web/guardian/public_html/index.php(24): require('/www/web/guardi...')
#13 {main}

XML 地图