广安馨汇点装饰工程有限公司-广安十大好口碑家装公司

:)

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 '%d )' at line 1 [ SQL语句 ] : UPDATE `tym_posts` SET `post_hits`=post_hits+1 WHERE ( id=%d )

错误位置

FILE: D:\wwwroot\0826xhd\wwwroot\simplewind\Core\Library\Think\Db\Driver.class.php  LINE: 350

TRACE

#0 D:\wwwroot\0826xhd\wwwroot\simplewind\Core\Library\Think\Db\Driver.class.php(350): E('1064:You have a...')
#1 D:\wwwroot\0826xhd\wwwroot\simplewind\Core\Library\Think\Db\Driver.class.php(237): Think\Db\Driver->error()
#2 D:\wwwroot\0826xhd\wwwroot\simplewind\Core\Library\Think\Db\Driver.class.php(908): Think\Db\Driver->execute('UPDATE `tym_pos...', false)
#3 D:\wwwroot\0826xhd\wwwroot\simplewind\Core\Library\Think\Model.class.php(451): Think\Db\Driver->update(Array, Array)
#4 D:\wwwroot\0826xhd\wwwroot\simplewind\Core\Library\Think\Model.class.php(841): Think\Model->save(Array)
#5 D:\wwwroot\0826xhd\wwwroot\simplewind\Core\Library\Think\Model.class.php(863): Think\Model->setField('post_hits', Array)
#6 D:\wwwroot\0826xhd\wwwroot\application\Portal\Common\function.php(337): Think\Model->setInc('post_hits')
#7 D:\wwwroot\0826xhd\wwwroot\data\runtime\Cache\Portal\26baeab9c88d9b358d4d031b0d5c3905.php(135): hits(NULL)
#8 D:\wwwroot\0826xhd\wwwroot\simplewind\Core\Library\Think\Storage\Driver\File.class.php(80): include('D:\\wwwroot\\0826...')
#9 [internal function]: Think\Storage\Driver\File->load('D:\\wwwroot\\0826...', Array, NULL, 'tpl')
#10 D:\wwwroot\0826xhd\wwwroot\simplewind\Core\Library\Think\Storage.class.php(37): call_user_func_array(Array, Array)
#11 D:\wwwroot\0826xhd\wwwroot\simplewind\Core\Library\Think\Template.class.php(77): Think\Storage::__callstatic('load', Array)
#12 D:\wwwroot\0826xhd\wwwroot\simplewind\Core\Library\Think\Template.class.php(77): Think\Storage::load('D:\\wwwroot\\0826...', Array, NULL, 'tpl')
#13 D:\wwwroot\0826xhd\wwwroot\simplewind\Core\Library\Behavior\ParseTemplateBehavior.class.php(32): Think\Template->fetch('themes/simplebo...', Array, '')
#14 D:\wwwroot\0826xhd\wwwroot\simplewind\Core\Library\Think\Hook.class.php(153): Behavior\ParseTemplateBehavior->run(Array)
#15 D:\wwwroot\0826xhd\wwwroot\simplewind\Core\Library\Think\Hook.class.php(89): Think\Hook::exec('Behavior\\ParseT...', 'view_parse', Array)
#16 D:\wwwroot\0826xhd\wwwroot\simplewind\Core\Library\Think\View.class.php(126): Think\Hook::listen('view_parse', Array)
#17 D:\wwwroot\0826xhd\wwwroot\simplewind\Core\Library\Think\View.class.php(72): Think\View->fetch('themes/simplebo...', '', '')
#18 D:\wwwroot\0826xhd\wwwroot\simplewind\Core\Library\Think\Controller.class.php(56): Think\View->display('themes/simplebo...', '', '', '', '')
#19 D:\wwwroot\0826xhd\wwwroot\application\Common\Controller\HomebaseController.class.php(113): Think\Controller->display('themes/simplebo...', '', '', '', '')
#20 D:\wwwroot\0826xhd\wwwroot\application\Portal\Controller\ArticleController.class.php(25): Common\Controller\HomebaseController->display(':article')
#21 [internal function]: Portal\Controller\ArticleController->index()
#22 D:\wwwroot\0826xhd\wwwroot\simplewind\Core\Library\Think\App.class.php(173): ReflectionMethod->invoke(Object(Portal\Controller\ArticleController))
#23 D:\wwwroot\0826xhd\wwwroot\simplewind\Core\Library\Think\App.class.php(110): Think\App::invokeAction(Object(Portal\Controller\ArticleController), 'index')
#24 D:\wwwroot\0826xhd\wwwroot\simplewind\Core\Library\Think\App.class.php(204): Think\App::exec()
#25 D:\wwwroot\0826xhd\wwwroot\simplewind\Core\Library\Think\Think.class.php(120): Think\App::run()
#26 D:\wwwroot\0826xhd\wwwroot\simplewind\Core\ThinkPHP.php(97): Think\Think::start()
#27 D:\wwwroot\0826xhd\wwwroot\index.php(47): require('D:\\wwwroot\\0826...')
#28 {main}