ecshop修改红包生成组合后出现的问题

2016-07-07 14:55 来源:www.chinab4c.com 作者:ecshop专家

用户在购买的时候输入红包验证,点提交就出现以下错误,请高手指教.谢谢

MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT t.*, b.*, FROM `ecshop`.`ecs_bonus_type` AS t,`ecshop`.`ecs_user_bonus` AS b WHERE t.type_id = b.bonus_type_id AND b.bonus_sn = 'dq957d86g783' ) [2] => Array ( [error] => 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 'FROM `ecshop`.`ecs_bonus_type` AS t,`ecshop`.`ecs_user_bonus` AS b WHERE t.type_' at line 1 ) [3] => Array ( [errno] => 1064 ) )