Fatal error: Uncaught exception 'Zend_Db_Statement_Exception' 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 '-15, 15' at line 1' in /home/namerich20/libs/Zend/Db/Statement/Pdo.php:238
Stack trace:
#0 /home/namerich20/libs/Zend/Db/Statement.php(283): Zend_Db_Statement_Pdo->_execute(Array)
#1 /home/namerich20/libs/Zend/Db/Adapter/Abstract.php(430): Zend_Db_Statement->execute(Array)
#2 /home/namerich20/libs/Zend/Db/Adapter/Pdo/Abstract.php(220): Zend_Db_Adapter_Abstract->query('select a.* from...', Array)
#3 /home/namerich20/libs/Zend/Db/Adapter/Abstract.php(641): Zend_Db_Adapter_Pdo_Abstract->query('select a.* from...', Array)
#4 /home/namerich20/app/models/cn/BookingopenAuction.php(182): Zend_Db_Adapter_Abstract->fetchAll('select a.* from...')
#5 /home/namerich20/app/controllers/cn/BookingopenauctionController.php(179): BookingopenAuction->getAllAuction('0', 15, NULL, in /home/namerich20/libs/Zend/Db/Statement/Pdo.php on line 238