:(

1054:Unknown column 'l' in 'where clause' [ SQL语句 ] : SELECT * FROM `icpnt_activity` WHERE ( status = 1 AND stretch_id = l AND language = 3 ) ORDER BY UNIX_TIMESTAMP(add_time) desc LIMIT 1

错误位置

FILE: /www/site/www.lavion.com.cn/ThinkPHP/Library/Think/Db/Driver.class.php  LINE: 350

TRACE

#0 /www/site/www.lavion.com.cn/ThinkPHP/Library/Think/Db/Driver.class.php(350): E('1054:Unknown co...')
#1 /www/site/www.lavion.com.cn/ThinkPHP/Library/Think/Db/Driver.class.php(180): Think\Db\Driver->error()
#2 /www/site/www.lavion.com.cn/ThinkPHP/Library/Think/Db/Driver.class.php(946): Think\Db\Driver->query('SELECT * FROM `...', false)
#3 /www/site/www.lavion.com.cn/ThinkPHP/Library/Think/Model.class.php(579): Think\Db\Driver->select(Array)
#4 /www/site/www.lavion.com.cn/Application/Home/Controller/PastController.class.php(52): Think\Model->select()
#5 [internal function]: Home\Controller\PastController->index()
#6 /www/site/www.lavion.com.cn/ThinkPHP/Library/Think/App.class.php(173): ReflectionMethod->invoke(Object(Home\Controller\PastController))
#7 /www/site/www.lavion.com.cn/ThinkPHP/Library/Think/App.class.php(110): Think\App::invokeAction(Object(Home\Controller\PastController), 'index')
#8 /www/site/www.lavion.com.cn/ThinkPHP/Library/Think/App.class.php(204): Think\App::exec()
#9 /www/site/www.lavion.com.cn/ThinkPHP/Library/Think/Think.class.php(120): Think\App::run()
#10 /www/site/www.lavion.com.cn/ThinkPHP/ThinkPHP.php(97): Think\Think::start()
#11 /www/site/www.lavion.com.cn/index.php(27): require('/www/site/www.l...')
#12 {main}