SQL Error 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 '' at line 1" SQL : "SELECT COUNT(`news`.`id`) FROM `news` WHERE pid=" SQL Error code: "7335941".

Error reason:

Uncaptured exception.

Details: exception 'FLEA_Db_Exception_SqlQuery' with message 'SQL Error 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 '' at line 1"
SQL : "SELECT COUNT(`news`.`id`) FROM `news` WHERE pid="
SQL Error code: "7335941".' in /www/wwwroot/qufumarathon/FLEA/FLEA/Db/Driver/Mysql.php:126
Stack trace:
#0 /www/wwwroot/qufumarathon/FLEA/FLEA/Db/Driver/Abstract.php(562): FLEA_Db_Driver_Mysql->execute('SELECT COUNT(`n...')
#1 /www/wwwroot/qufumarathon/FLEA/FLEA/Db/TableDataGateway.php(731): FLEA_Db_Driver_Abstract->getOne('SELECT COUNT(`n...')
#2 /www/wwwroot/qufumarathon/FLEA/FLEA/Helper/Pager.php(208): FLEA_Db_TableDataGateway->findCount('pid=')
#3 /www/wwwroot/qufumarathon/APP/Controller/Default.php(1694): FLEA_Helper_Pager->FLEA_Helper_Pager(Object(Model_News), '2', 12, 'pid=', 'ctime desc')
#4 /www/wwwroot/qufumarathon/FLEA/FLEA/Dispatcher/Simple.php(120): Controller_Default->actionNews()
#5 /www/wwwroot/qufumarathon/FLEA/FLEA/Dispatcher/Simple.php(77): FLEA_Dispatcher_Simple->_executeAction('Default', 'News', 'Controller_Defa...')
#6 /www/wwwroot/qufumarathon/FLEA/FLEA.php(816): FLEA_Dispatcher_Simple->dispatching()
#7 /www/wwwroot/qufumarathon/index.php(24): FLEA::runMVC()
#8 {main}

Exception: FLEA_Db_Exception_SqlQuery
Message: SQL Error 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 '' at line 1" SQL : "SELECT COUNT(`news`.`id`) FROM `news` WHERE pid=" SQL Error code: "7335941".


Filename: /www/wwwroot/qufumarathon/FLEA/FLEA/Db/Driver/Abstract.php [562]
#8 FLEA_Db_Driver_Mysql::execute('SELECT COUNT(`news`.`id`) F ...')

Filename: /www/wwwroot/qufumarathon/FLEA/FLEA/Db/TableDataGateway.php [731]
#7 FLEA_Db_Driver_Abstract::getOne('SELECT COUNT(`news`.`id`) F ...')

Filename: /www/wwwroot/qufumarathon/FLEA/FLEA/Helper/Pager.php [208]
#6 FLEA_Db_TableDataGateway::findCount('pid=')

Filename: /www/wwwroot/qufumarathon/APP/Controller/Default.php [1694]
#5 FLEA_Helper_Pager::FLEA_Helper_Pager(Model_News, '2', 12, 'pid=', 'ctime desc')

Filename: /www/wwwroot/qufumarathon/FLEA/FLEA/Dispatcher/Simple.php [120]
#4 Controller_Default::actionNews()

Filename: /www/wwwroot/qufumarathon/FLEA/FLEA/Dispatcher/Simple.php [77]
#3 FLEA_Dispatcher_Simple::_executeAction('Default', 'News', 'Controller_Default')

Filename: /www/wwwroot/qufumarathon/FLEA/FLEA.php [816]
#2 FLEA_Dispatcher_Simple::dispatching()

Filename: /www/wwwroot/qufumarathon/index.php [24]
#1 FLEA::runMVC()