:(

1054:Unknown column 'cp.logo_audit' in 'field list' [ SQL语句 ] : SELECT tp.*,cp.logo_audit FROM qs_train_profile as tp INNER JOIN qs_company_profile as cp on tp.uid=cp.uid WHERE cp.audit = 1 ORDER BY tp.recommend,tp.addtime desc

错误位置

FILE: /data/wwwroot/www.ncrczpw.com/ThinkPHP/Library/Think/Db/Driver.class.php  LINE: 350

TRACE

#0 /data/wwwroot/www.ncrczpw.com/ThinkPHP/Library/Think/Db/Driver.class.php(350): E('1054:Unknown co...')
#1 /data/wwwroot/www.ncrczpw.com/ThinkPHP/Library/Think/Db/Driver.class.php(180): Think\Db\Driver->error()
#2 /data/wwwroot/www.ncrczpw.com/ThinkPHP/Library/Think/Db/Driver.class.php(963): Think\Db\Driver->query('SELECT tp.*,cp....', false)
#3 /data/wwwroot/www.ncrczpw.com/ThinkPHP/Library/Think/Model.class.php(624): Think\Db\Driver->select(Array)
#4 /data/wwwroot/www.ncrczpw.com/Application/Train/Controller/IndexController.class.php(29): Think\Model->select()
#5 [internal function]: Train\Controller\IndexController->index()
#6 /data/wwwroot/www.ncrczpw.com/ThinkPHP/Library/Think/App.class.php(169): ReflectionMethod->invoke(Object(Train\Controller\IndexController))
#7 /data/wwwroot/www.ncrczpw.com/ThinkPHP/Library/Think/App.class.php(106): Think\App::invokeAction(Object(Train\Controller\IndexController), 'index')
#8 /data/wwwroot/www.ncrczpw.com/ThinkPHP/Library/Think/App.class.php(202): Think\App::exec()
#9 /data/wwwroot/www.ncrczpw.com/ThinkPHP/Library/Think/Think.class.php(120): Think\App::run()
#10 /data/wwwroot/www.ncrczpw.com/ThinkPHP/ThinkPHP.php(102): Think\Think::start()
#11 /data/wwwroot/www.ncrczpw.com/index.php(82): require('/data/wwwroot/w...')
#12 {main}