Exception

Description

[goods][detail] SQL execute failed :SELECT * FROM t_goods_data WHERE id=
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
Error Code:1064
Error SQL:SELECT * FROM t_goods_data WHERE id=

Source File

/www/users/xingyumachine.cn/doitphp/core/db/db_mysql.class.php(120)

Stack Trace

#0 /www/users/xingyumachine.cn/doitphp/core/db/db_mysql.class.php(120)Controller::halt([goods][detail] SQL execute failed :SELECT * FROM t_goods_data WHERE id=
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
Error Code:1064
Error SQL:SELECT * FROM t_goods_data WHERE id=)
#1 /www/users/xingyumachine.cn/doitphp/core/db/db_mysql.class.php(178)db_mysql->query(SELECT * FROM t_goods_data WHERE id=)
#2 /www/users/xingyumachine.cn/doitphp/core/Model.class.php(1073)db_mysql->fetchRow(SELECT * FROM t_goods_data WHERE id=)
#3 /www/users/xingyumachine.cn/application/models/Goods_dataModel.class.php(9)Model->getOne(id=..)
#4 /www/users/xingyumachine.cn/application/controllers/GoodsController.class.php(266)Goods_dataModel->get_goods_data_row()
#5 /www/users/xingyumachine.cn/doitphp/doit.class.php(312)GoodsController->detailAction()
#6 /www/users/xingyumachine.cn/index.php(68)doit::run()