SQL 错误消息: "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 `product_related`.`related_id` AS flea_pkref_related_id, `product_related`.* FROM `product_related` WHERE product_id= " SQL 错误代码: "7335941".

错误原因:

您看到这个错误页面是因为应用程序抛出了没有捕获的异常。

异常的详细内容: exception 'FLEA_Db_Exception_SqlQuery' with message 'SQL 错误消息: "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  `product_related`.`related_id` AS flea_pkref_related_id, `product_related`.* FROM `product_related`  WHERE product_id= "
SQL 错误代码: "7335941".' in /home/s/e/seahawk/public_html/libs/FLEA/FLEA/Db/Driver/Mysql.php:126
Stack trace:
#0 /home/s/e/seahawk/public_html/libs/FLEA/FLEA/Db/TableDataGateway.php(448): FLEA_Db_Driver_Mysql->execute('SELECT  `produc...')
#1 /home/s/e/seahawk/public_html/libs/APP/Model/Product.php(101): FLEA_Db_TableDataGateway->findAll('product_id=')
#2 /home/s/e/seahawk/public_html/libs/APP/Controller/Product.php(174): Model_Product->getProduct(NULL)
#3 /home/s/e/seahawk/public_html/libs/FLEA/FLEA/Dispatcher/Simple.php(120): Controller_Product->actionDetails()
#4 /home/s/e/seahawk/public_html/libs/FLEA/FLEA/Dispatcher/Auth.php(127): FLEA_Dispatcher_Simple->_executeAction('Product', 'Details', 'Controller_Prod...')
#5 /home/s/e/seahawk/public_html/libs/FLEA/FLEA.php(816): FLEA_Dispatcher_Auth->dispatching()
#6 /home/s/e/seahawk/public_html/libs/FLEA/FLEA/Compatibility.php(263): FLEA::runMVC()
#7 /home/s/e/seahawk/public_html/index.php(55): run()
#8 {main}

Exception: FLEA_Db_Exception_SqlQuery
Message: SQL 错误消息: "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 `product_related`.`related_id` AS flea_pkref_related_id, `product_related`.* FROM `product_related` WHERE product_id= " SQL 错误代码: "7335941".


Filename: /home/s/e/seahawk/public_html/libs/FLEA/FLEA/Db/TableDataGateway.php [448]
#8 FLEA_Db_Driver_Mysql::execute('SELECT `product_related`.` ...')

Filename: /home/s/e/seahawk/public_html/libs/APP/Model/Product.php [101]
#7 FLEA_Db_TableDataGateway::findAll('product_id=')

Filename: /home/s/e/seahawk/public_html/libs/APP/Controller/Product.php [174]
#6 Model_Product::getProduct()

Filename: /home/s/e/seahawk/public_html/libs/FLEA/FLEA/Dispatcher/Simple.php [120]
#5 Controller_Product::actionDetails()

Filename: /home/s/e/seahawk/public_html/libs/FLEA/FLEA/Dispatcher/Auth.php [127]
#4 FLEA_Dispatcher_Simple::_executeAction('Product', 'Details', 'Controller_Product')

Filename: /home/s/e/seahawk/public_html/libs/FLEA/FLEA.php [816]
#3 FLEA_Dispatcher_Auth::dispatching()

Filename: /home/s/e/seahawk/public_html/libs/FLEA/FLEA/Compatibility.php [263]
#2 FLEA::runMVC()

Filename: /home/s/e/seahawk/public_html/index.php [55]
#1 run()