:(

SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and FIND_IN_SET('3',status) ) ORDER BY aid ASC LIMIT 0,5' at line 1

错误位置

FILE: /www/wwwroot/www.iprmy.com/ThinkPHP/Library/Think/Db/Driver.class.php  LINE: 167

TRACE

#0 /www/wwwroot/www.iprmy.com/ThinkPHP/Library/Think/Db/Driver.class.php(167): PDOStatement->execute()
#1 /www/wwwroot/www.iprmy.com/ThinkPHP/Library/Think/Db/Driver.class.php(925): Think\Db\Driver->query()
#2 /www/wwwroot/www.iprmy.com/ThinkPHP/Library/Think/Model.class.php(582): Think\Db\Driver->select()
#3 /www/wwwroot/www.iprmy.com/Application/Home/Controller/IndexController.class.php(258): Think\Model->select()
#4 /www/wwwroot/www.iprmy.com/Application/Home/Controller/IndexController.class.php(176): Home\Controller\IndexController->right_news()
#5 /www/wwwroot/www.iprmy.com/Application/Home/Controller/IndexController.class.php(41): Home\Controller\IndexController->lst()
#6 [internal function]: Home\Controller\IndexController->fpurl()
#7 /www/wwwroot/www.iprmy.com/ThinkPHP/Library/Think/App.class.php(164): ReflectionMethod->invoke()
#8 /www/wwwroot/www.iprmy.com/ThinkPHP/Library/Think/App.class.php(202): Think\App::exec()
#9 /www/wwwroot/www.iprmy.com/ThinkPHP/Library/Think/Think.class.php(120): Think\App::run()
#10 /www/wwwroot/www.iprmy.com/ThinkPHP/ThinkPHP.php(97): Think\Think::start()
#11 /www/wwwroot/www.iprmy.com/index.php(9): require('/www/wwwroot/ww...')
#12 {main}