Zend Framework Default Application

An error occurred

Application error

Exception information:

Message: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-10, 10' at line 1

Stack trace:

#0 /usr/local/lib/php/libraryGovernment/Zend/Db/Statement.php(284): Zend_Db_Statement_Pdo->_execute(Array)
#1 /usr/local/lib/php/libraryGovernment/Zend/Db/Adapter/Abstract.php(468): Zend_Db_Statement->execute(Array)
#2 /usr/local/lib/php/libraryGovernment/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `comment...', Array)
#3 /home/phaidum/domains/phaidum.go.th/public_html/application/configs/Setconfigs.php(165): Zend_Db_Adapter_Pdo_Abstract->query('SELECT `comment...')
#4 /home/phaidum/domains/phaidum.go.th/public_html/application/modules/webboard/models/Webboardmodel.php(975): Setconfigs->pagesplit()
#5 /home/phaidum/domains/phaidum.go.th/public_html/application/modules/webboard/controllers/DataController.php(394): Webboardmodel->listCommentFront('menu', 'webboard/data/l...', '1', '10')
#6 /usr/local/lib/php/libraryGovernment/Zend/Controller/Action.php(513): Webboard_DataController->listcommentAction()
#7 /usr/local/lib/php/libraryGovernment/Zend/Controller/Dispatcher/Standard.php(289): Zend_Controller_Action->dispatch('listcommentActi...')
#8 /usr/local/lib/php/libraryGovernment/Zend/Controller/Front.php(946): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#9 /usr/local/lib/php/libraryGovernment/Zend/Application/Bootstrap/Bootstrap.php(77): Zend_Controller_Front->dispatch()
#10 /usr/local/lib/php/libraryGovernment/Zend/Application.php(346): Zend_Application_Bootstrap_Bootstrap->run()
#11 /home/phaidum/domains/phaidum.go.th/public_html/public/index.php(30): Zend_Application->run()
#12 {main}  

Request Parameters:

array(6) {
  ["module"]=>
  string(8) "webboard"
  ["controller"]=>
  string(4) "data"
  ["action"]=>
  string(11) "listcomment"
  ["forum_id"]=>
  string(1) "1"
  ["topic_id"]=>
  string(1) "1"
  ["page"]=>
  string(4) "menu"
}
  
 
     
     
 
   
     
 
 
   
 
ที่ทำการเทศบาลตำบลไผ่ดำพัฒนา
หมู่ที่ 6 ต.ไผ่ดำพัฒนา อ.วิเศษชัยชาญ จ.อ่างทอง 14110
โทร. 035-864-309 โทรสาร. 035-864-309
ติดตามข่าวสารเพิ่มเติมได้ทาง