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 'order by sav_time desc' at line 1" SQL : "select * from zs_saving_note where sav_ip ='38.103.63.16' and mer_id = order by sav_time desc" 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 'order by sav_time desc' at line 1"
SQL : "select * from zs_saving_note where sav_ip ='38.103.63.16' and mer_id =  order by sav_time desc"
SQL Error code: "7335941".' in F:\freehost\lm29723949\web\libs\FLEA\FLEA\Db\Driver\Mysql.php:126
Stack trace:
#0 F:\freehost\lm29723949\web\libs\FLEA\FLEA\Db\Driver\Abstract.php(544): FLEA_Db_Driver_Mysql->execute('select * from z...')
#1 F:\freehost\lm29723949\web\libs\FLEA\FLEA\Db\TableDataGateway.php(700): FLEA_Db_Driver_Abstract->getAll('select * from z...')
#2 F:\freehost\lm29723949\web\libs\APP\Site\Model\Merchant.php(30): FLEA_Db_TableDataGateway->findBySql('select * from z...')
#3 F:\freehost\lm29723949\web\libs\APP\Site\Controller\Merchant.php(14): Model_Merchant->Model_select()
#4 F:\freehost\lm29723949\web\libs\FLEA\FLEA\Dispatcher\Simple.php(120): Controller_Merchant->actionindex()
#5 F:\freehost\lm29723949\web\libs\FLEA\FLEA\Dispatcher\Simple.php(77): FLEA_Dispatcher_Simple->_executeAction('merchant', 'index', 'Controller_merc...')
#6 F:\freehost\lm29723949\web\libs\FLEA\FLEA.php(816): FLEA_Dispatcher_Simple->dispatching()
#7 F:\freehost\lm29723949\web\a.php(32): 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 'order by sav_time desc' at line 1" SQL : "select * from zs_saving_note where sav_ip ='38.103.63.16' and mer_id = order by sav_time desc" SQL Error code: "7335941".


Filename: F:\freehost\lm29723949\web\libs\FLEA\FLEA\Db\Driver\Abstract.php [544]
#8 FLEA_Db_Driver_Mysql::execute('select * from zs_saving_not ...')

Filename: F:\freehost\lm29723949\web\libs\FLEA\FLEA\Db\TableDataGateway.php [700]
#7 FLEA_Db_Driver_Abstract::getAll('select * from zs_saving_not ...')

Filename: F:\freehost\lm29723949\web\libs\APP\Site\Model\Merchant.php [30]
#6 FLEA_Db_TableDataGateway::findBySql('select * from zs_saving_not ...')

Filename: F:\freehost\lm29723949\web\libs\APP\Site\Controller\Merchant.php [14]
#5 Model_Merchant::Model_select()

Filename: F:\freehost\lm29723949\web\libs\FLEA\FLEA\Dispatcher\Simple.php [120]
#4 Controller_Merchant::actionindex()

Filename: F:\freehost\lm29723949\web\libs\FLEA\FLEA\Dispatcher\Simple.php [77]
#3 FLEA_Dispatcher_Simple::_executeAction('merchant', 'index', 'Controller_merchant')

Filename: F:\freehost\lm29723949\web\libs\FLEA\FLEA.php [816]
#2 FLEA_Dispatcher_Simple::dispatching()

Filename: F:\freehost\lm29723949\web\a.php [32]
#1 FLEA::runMVC()