:(

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 stae = 1 and line_notexpire != 0 )' at line 1

λ

FILE: /www/wwwroot/hqxcomcn/ThinkPHP/Library/Think/Db/Driver.class.php  LINE: 169

TRACE

#0 /www/wwwroot/hqxcomcn/ThinkPHP/Library/Think/Db/Driver.class.php(169): PDOStatement->execute()
#1 /www/wwwroot/hqxcomcn/ThinkPHP/Library/Think/Db/Driver.class.php(935): Think\Db\Driver->query('SELECT * FROM `...', false)
#2 /www/wwwroot/hqxcomcn/ThinkPHP/Library/Think/Model.class.php(579): Think\Db\Driver->select(Array)
#3 /www/wwwroot/hqxcomcn/Application/Wwwszcitscn/Controller/Line/lists.class.php(186): Think\Model->select()
#4 /www/wwwroot/hqxcomcn/Application/Wwwszcitscn/Controller/Line/lists.class.php(72): Wwwszcitscn\Controller\Line\lists->selectByRoot(NULL)
#5 [internal function]: Wwwszcitscn\Controller\Line\lists->run('367', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1)
#6 /www/wwwroot/hqxcomcn/ThinkPHP/Library/Think/App.class.php(162): ReflectionMethod->invokeArgs(Object(Wwwszcitscn\Controller\Line\lists), Array)
#7 /www/wwwroot/hqxcomcn/ThinkPHP/Library/Think/App.class.php(202): Think\App::exec()
#8 /www/wwwroot/hqxcomcn/ThinkPHP/Library/Think/Think.class.php(120): Think\App::run()
#9 /www/wwwroot/hqxcomcn/ThinkPHP/ThinkPHP.php(97): Think\Think::start()
#10 /www/wwwroot/hqxcomcn/index.php(44): require('/www/wwwroot/hq...')
#11 {main}