MySQL server error report:Array ( [0] => Array ( [message] =

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



下订单的时候,填写完个人信息后提交,就会出现如下提示:

MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => INSERT INTO `12345678`.`zxd_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 '10', 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 `12345678`.`zxd_cart` WHERE session_id = '5c5c27eb79e4a89e3ada9161fa6429dc' AND rec_type = '0' ) [2] => Array ( [error] => Unknown column 'goods_attr_id' in 'field list' ) [3] => Array ( [errno] => 1054 ) )

请各位大侠指教!!

回答:
字段不匹配。找不到该字段

那是什么原因导致的呢?最主要的,我该如何解决呢?

大家帮忙解决下撒!

工作人员上班了吗?

字段未找到 修复下表看看

修复过了,有几项提示:The storage engine for the table doesn't support repair,其他的正常
提示错误的有:
cdb_sessions
sv_sessions
uc_vars
uchome_adminsession
uchome_session
请问该如何解决呢?

ALTER TABLE `zxd_cart` ADD `goods_attr_id` VARCHAR( 255 ) NOT NULL ;
后台SQL执行 同一问题不要发布多次