Fatal error: Uncaught exception 'PDOException' with message '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 'ORDER BY sort asc' at line 1' in /www/wwwroot/chuangyu/app/lib/Mysql.php:71
Stack trace:
#0 /www/wwwroot/chuangyu/app/lib/Mysql.php(71): PDO->prepare('SELECT id,name ...')
#1 /www/wwwroot/chuangyu/app/lib/Mysql.php(88): Mysql->query_result('SELECT id,name ...', NULL)
#2 /www/wwwroot/chuangyu/app/lib/Model.php(23): Mysql->query('SELECT id,name ...')
#3 /www/wwwroot/chuangyu/app/controller/news_controller.php(222): Model->find('categorys', 'sub=', 'id,name as name...', 'sort asc')
#4 [internal function]: NewsController->detail('2369')
#5 /www/wwwroot/chuangyu/app/controller/controller.php(83): call_user_func_array(Array, Array)
#6 /www/wwwroot/chuangyu/app/controller/controller.php(53): Controller->run('NewsController-...', Array)
#7 /www/wwwroot/chuangyu/app/route.php(17): Co in /www/wwwroot/chuangyu/app/lib/Mysql.php on line 71