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 ')) AND (productonline=1)) ORDER BY `products`.`productname` asc LIMIT 0, 32' at line 7' in /var/newqeephp/library/db/adapter/mysql.php:237 #0 /var/newqeephp/library/db/adapter/mysql.php(260): QDB_Adapter_Mysql->execute('SELECT DISTINCT...', NULL) #1 /var/newqeephp/library/db/select.php(1463): QDB_Adapter_Mysql->selectLimit('SELECT DISTINCT...', 0, 32) #2 /var/newqeephp/library/db/select.php(1743): QDB_Select->getQueryHandle() #3 /var/newqeephp/library/db/select.php(1440): QDB_Select->_queryObjects() #4 /var/tpram/app/controller/cateitemlistcate.php(77): QDB_Select->query() #5 /var/tpram/app/controller/cateitem_controller.php(79): include('/var/tpram/app/...') #6 [internal function]: Controller_Cateitem->actionListcate() #7 /var/tpram/app/controller/abstract.php(63): call_user_func_array(Array, Array) #8 /var/tpram/app/myapp.php(226): Controller_Abstract->execute('listcate', Array) #9 /home/wwwroot/default/index.php(41): MyApp->dispatching() #10 {main} dump form: /var/tpram/app/myapp.php (503) string '如果要改变对异常的处理,请修改文件 "/var/tpram/app/myapp.php" 的 exception_handler() 方法' (length=109)