:(

1054:Unknown column 'a' in 'where clause' [ SQL语句 ] : SELECT * FROM `ar_category` WHERE ( cate_id=a ) LIMIT 1

错误位置

FILE: /www/users/HA470050/WEB/ThinkPHP/Library/Think/Db/Driver.class.php  LINE: 350

TRACE

#0 /www/users/HA470050/WEB/ThinkPHP/Library/Think/Db/Driver.class.php(350): E('1054:Unknown co...')
#1 /www/users/HA470050/WEB/ThinkPHP/Library/Think/Db/Driver.class.php(180): Think\Db\Driver->error()
#2 /www/users/HA470050/WEB/ThinkPHP/Library/Think/Db/Driver.class.php(946): Think\Db\Driver->query('SELECT * FROM `...', false)
#3 /www/users/HA470050/WEB/ThinkPHP/Library/Think/Model.class.php(759): Think\Db\Driver->select(Array)
#4 /www/users/HA470050/WEB/Application/Home/Model/CategoryModel.class.php(10): Think\Model->find()
#5 /www/users/HA470050/WEB/Application/Home/Controller/BaseController.class.php(38): Home\Model\CategoryModel->getparent('a')
#6 /www/users/HA470050/WEB/ThinkPHP/Common/functions.php(681): Home\Controller\BaseController->__construct()
#7 /www/users/HA470050/WEB/ThinkPHP/Library/Think/App.class.php(89): controller('Page', '')
#8 /www/users/HA470050/WEB/ThinkPHP/Library/Think/App.class.php(204): Think\App::exec()
#9 /www/users/HA470050/WEB/ThinkPHP/Library/Think/Think.class.php(120): Think\App::run()
#10 /www/users/HA470050/WEB/ThinkPHP/ThinkPHP.php(97): Think\Think::start()
#11 /www/users/HA470050/WEB/index.php(32): require('/www/users/HA47...')
#12 {main}

<友情连结> 真人菲律宾金百利/ 金百利手机娱乐菲律宾/ 金百利菲律宾真人ag/ 新开户送体验金官网/ 乐虎国际官网网站/