:(

SQLSTATE[42S22]: Column not found: 1054 Unknown column 'index.htm' in 'where clause'

错误位置

FILE: F:\usr\LocalUser\qyw102881\ThinkPHP\Library\Think\Db\Driver.class.php  LINE: 169

TRACE

#0 F:\usr\LocalUser\qyw102881\ThinkPHP\Library\Think\Db\Driver.class.php(169): PDOStatement->execute()
#1 F:\usr\LocalUser\qyw102881\ThinkPHP\Library\Think\Db\Driver.class.php(935): Think\Db\Driver->query('SELECT COUNT(*)...', false)
#2 F:\usr\LocalUser\qyw102881\ThinkPHP\Library\Think\Model.class.php(962): Think\Db\Driver->select(Array)
#3 F:\usr\LocalUser\qyw102881\ThinkPHP\Library\Think\Model.class.php(227): Think\Model->getField('COUNT(*) AS tp_...')
#4 F:\usr\LocalUser\qyw102881\App\Home\Controller\ArticleController.class.php(30): Think\Model->__call('count', Array)
#5 F:\usr\LocalUser\qyw102881\App\Home\Controller\ArticleController.class.php(30): Think\Model->count()
#6 [internal function]: Home\Controller\ArticleController->index('index.htm', 1)
#7 F:\usr\LocalUser\qyw102881\ThinkPHP\Library\Think\App.class.php(162): ReflectionMethod->invokeArgs(Object(Home\Controller\ArticleController), Array)
#8 F:\usr\LocalUser\qyw102881\ThinkPHP\Library\Think\App.class.php(202): Think\App::exec()
#9 F:\usr\LocalUser\qyw102881\ThinkPHP\Library\Think\Think.class.php(120): Think\App::run()
#10 F:\usr\LocalUser\qyw102881\ThinkPHP\ThinkPHP.php(97): Think\Think::start()
#11 F:\usr\LocalUser\qyw102881\index.php(25): require('F:\usr\LocalUse...')
#12 {main}