:(

SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens

错误位置

FILE: /home/ftp/yeyu/ThinkPHP/Library/Think/Db/Driver.class.php  LINE: 169

TRACE

#0 /home/ftp/yeyu/ThinkPHP/Library/Think/Db/Driver.class.php(169): PDOStatement->execute()
#1 /home/ftp/yeyu/ThinkPHP/Library/Think/Db/Driver.class.php(935): Think\Db\Driver->query('SELECT * FROM `...', false)
#2 /home/ftp/yeyu/ThinkPHP/Library/Think/Model.class.php(579): Think\Db\Driver->select(Array)
#3 /home/ftp/yeyu/Application/Common/Base/SModel.class.php(292): Think\Model->select()
#4 /home/ftp/yeyu/Application/Common/Base/StreeModel.class.php(217): Common\Base\SModel->getlist(Array)
#5 /home/ftp/yeyu/Application/Common/Base/StreeModel.class.php(198): Common\Base\StreeModel->getTree(Array, NULL)
#6 /home/ftp/yeyu/Application/Common/Umodel/CusCommentModel.class.php(96): Common\Base\StreeModel->getTree2(Array)
#7 /home/ftp/yeyu/Application/Common/Common/api.php(376): Common\Umodel\CusCommentModel->getcomment(Array)
#8 /home/ftp/yeyu/Application/Home/Controller/NewsController.class.php(298): common_data_readapi('getcomment', Array)
#9 [internal function]: Home\Controller\NewsController->detail()
#10 /home/ftp/yeyu/ThinkPHP/Library/Think/App.class.php(164): ReflectionMethod->invoke(Object(Home\Controller\NewsController))
#11 /home/ftp/yeyu/ThinkPHP/Library/Think/App.class.php(202): Think\App::exec()
#12 /home/ftp/yeyu/ThinkPHP/Library/Think/Think.class.php(120): Think\App::run()
#13 /home/ftp/yeyu/ThinkPHP/ThinkPHP.php(97): Think\Think::start()
#14 /home/ftp/yeyu/index.php(38): require('/home/ftp/yeyu/...')
#15 {main}