exception 'QDB_Exception' with message '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 'GROUP BY id) tmp ORDER BY id DESC' at line 1' in /home/dsblog/libs/library/db/adapter/mysql.php:237
#0 /home/dsblog/libs/library/db/adapter/abstract.php(940): QDB_Adapter_Mysql->execute('SELECT DISTINCT...', NULL)
#1 /home/dsblog/html/_code/app/controller/blog_controller.php(704): QDB_Adapter_Abstract->getAll('SELECT DISTINCT...')
#2 /home/dsblog/html/_code/app/controller/blog_controller.php(246): Controller_Blog->getMainInfo('6046')
#3 [internal function]: Controller_Blog->actionMain()
#4 /home/dsblog/html/_code/app/controller/abstract.php(63): call_user_func_array(Array, Array)
#5 /home/dsblog/html/_code/app/myapp.php(226): Controller_Abstract->execute('main', Array)
#6 /home/dsblog/html/index.php(40): MyApp->dispatching()
#7 {main}
如果要改变对异常的处理,请修改文件 "/home/dsblog/html/_code/app/myapp.php" 的 exception_handler() 方法