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 'LIMIT 1' at line 1' in /www/wwwroot/www.amae.cn/library/cls.pdo.php:26
Stack trace:
#0 /www/wwwroot/www.amae.cn/library/cls.pdo.php(26): PDO->query('SELECT * FROM `...')
#1 /www/wwwroot/www.amae.cn/library/cls.pdo.php(65): DataObject->query('SELECT * FROM c...')
#2 /www/wwwroot/www.amae.cn/library/cls.channel.php(10): DataObject->getRow('SELECT * FROM c...')
#3 /www/wwwroot/www.amae.cn/model/detail.php(17): Channel->getChannel(NULL)
#4 /www/wwwroot/www.amae.cn/index.php(17): Model\Detail->__construct()
#5 {main}
thrown in /www/wwwroot/www.amae.cn/library/cls.pdo.php on line 26