Deprecated: Assigning the return value of new by reference is deprecated in /alidata/qufumarathon/FLEA/FLEA.php on line 422

Deprecated: Assigning the return value of new by reference is deprecated in /alidata/qufumarathon/FLEA/FLEA.php on line 750

Deprecated: Assigning the return value of new by reference is deprecated in /alidata/qufumarathon/FLEA/FLEA.php on line 814

Deprecated: Assigning the return value of new by reference is deprecated in /alidata/qufumarathon/FLEA/FLEA.php on line 2024

Deprecated: Assigning the return value of new by reference is deprecated in /alidata/qufumarathon/FLEA/FLEA.php on line 2043

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 /alidata/qufumarathon/FLEA/FLEA/Db/Driver/Mysql.php:126
Stack trace:
#0 /alidata/qufumarathon/FLEA/FLEA/Db/Driver/Abstract.php(562): FLEA_Db_Driver_Mysql->execute('SELECT COUNT(`n...')
#1 /alidata/qufumarathon/FLEA/FLEA/Db/TableDataGateway.php(731): FLEA_Db_Driver_Abstract->getOne('SELECT COUNT(`n...')
#2 /alidata/qufumarathon/FLEA/FLEA/Helper/Pager.php(208): FLEA_Db_TableDataGateway->findCount('pid=')
#3 /alidata/qufumarathon/APP/Controller/Default.php(1392): FLEA_Helper_Pager->FLEA_Helper_Pager(Object(Model_News), '4', 12, 'pid=', 'ctime desc')
#4 /alidata/qufumarathon/FLEA/FLEA/Dispatcher/Simple.php(120): Controller_Default->actionNews()
#5 /alidata/qufumarathon/FLEA/FLEA/Dispatcher/Simple.php(77): FLEA_Dispatcher_Simple->_executeAction('Default', 'News', 'Controller_Defa...')
#6 /alidata/qufumarathon/FLEA/FLEA.php(816): FLEA_Dispatcher_Simple->dispatching()
#7 /alidata/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: /alidata/qufumarathon/FLEA/FLEA/Db/Driver/Abstract.php [562]
#8 FLEA_Db_Driver_Mysql::execute('SELECT COUNT(`news`.`id`) F ...')

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

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

Filename: /alidata/qufumarathon/APP/Controller/Default.php [1392]
#5 FLEA_Helper_Pager::FLEA_Helper_Pager(Model_News, '4', 12, 'pid=', 'ctime desc')

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

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

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

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