我的购物车(0)   收藏英诺   旧站回顾    简体中文 | English | 繁體中文
用户名: 密码: 验证码:  
INNOSEP Search
   首 页 →  
 

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 fup from sp_procate where fid=" 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 fup from sp_procate where fid="
SQL Error code: "7335941".' in /data0/www/others/innosep.com/FLEA/FLEA/Db/Driver/Mysql.php:126
Stack trace:
#0 /data0/www/others/innosep.com/FLEA/FLEA/Db/Driver/Abstract.php(562): FLEA_Db_Driver_Mysql->execute('select fup from...')
#1 /data0/www/others/innosep.com/APP/View/inno/pro_view.php(25): FLEA_Db_Driver_Abstract->getOne('select fup from...')
#2 /data0/www/others/innosep.com/APP/Controller/home.php(485): include('/data0/www/othe...')
#3 /data0/www/others/innosep.com/FLEA/FLEA/Dispatcher/Simple.php(120): Controller_home->proview()
#4 /data0/www/others/innosep.com/FLEA/FLEA/Dispatcher/Auth.php(2): FLEA_Dispatcher_Simple->_executeAction('home', 'proview', 'Controller_home')
#5 /data0/www/others/innosep.com/FLEA/FLEA.php(823): FLEA_Dispatcher_Auth->dispatching()
#6 /data0/www/others/innosep.com/index.php(29): FLEA::runMVC()
#7 {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 fup from sp_procate where fid=" SQL Error code: "7335941".


Filename: /data0/www/others/innosep.com/FLEA/FLEA/Db/Driver/Abstract.php [562]
#7 FLEA_Db_Driver_Mysql::execute('select fup from sp_procate ...')
   产品分类
 552   
 553       /**
 554        * 执行查询,返回第一条记录的第一个字段
 555        *
 556        * @param string|resource $sql
 557        *
 558        * @return mixed
 559        */
 560       function getOne($sql)
 561       {
 562           $res = is_resource($sql) ? $sql : $this->execute($sql);
 563           $row = $this->fetchRow($res);
 564           $this->freeRes($res);
 565           return isset($row[0]) ? $row[0] : null;
 566       }
 567   
 568       /**
 569        * 执行查询,返回第一条记录
 570        *
 571        * @param string|resource $sql
 572        *


Filename: /data0/www/others/innosep.com/APP/View/inno/pro_view.php [25]
#6 FLEA_Db_Driver_Abstract::getOne('select fup from sp_procate ...')

Filename: /data0/www/others/innosep.com/APP/Controller/home.php [485]
#5 include('/data0/www/others/innosep.c ...')

Filename: /data0/www/others/innosep.com/FLEA/FLEA/Dispatcher/Simple.php [120]
#4 Controller_home::proview()

Filename: /data0/www/others/innosep.com/FLEA/FLEA/Dispatcher/Auth.php [2]
#3 FLEA_Dispatcher_Simple::_executeAction('home', 'proview', 'Controller_home')

Filename: /data0/www/others/innosep.com/FLEA/FLEA.php [823]
#2 FLEA_Dispatcher_Auth::dispatching()

Filename: /data0/www/others/innosep.com/index.php [29]
#1 FLEA::runMVC()