提交定单出现这样的错误,请问怎么解决哦?

2016-07-07 15:35 来源:www.chinab4c.com 作者:ecshop专家

MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => INSERT INTO `cdhzp`.`ecs_order_goods`( order_id, goods_id, goods_name, goods_sn, goods_number, market_price, goods_price, goods_attr, is_real, extension_code, parent_id, is_gift, goods_attr_id) SELECT '92', goods_id, goods_name, goods_sn, goods_number, market_price, goods_price, goods_attr, is_real, extension_code, parent_id, is_gift, goods_attr_id FROM `cdhzp`.`ecs_cart` WHERE session_id = '2f6ee0202506879b2fd17898b215e755' AND rec_type = '0' ) [2] => Array ( [error] => Unknown column 'goods_attr_id' in 'field list' ) [3] => Array ( [errno] => 1054 ) )


以前都是正常的,升级到2.7后就出现这样的问题重装恢复一样出现!

回答:
数据库字段不一致 。。。。

没升级成功哦

ecs_order_goods这个不一吗?

你打开数据表ecs_order_goods 里面是否有goods_attr_id
提示缺少字段哦

如果没有,你在数据库中添加该字段试下