ecshop 发布新商品时错误 不知道是怎么回事 请高手指点

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

用了个模板, 只要一点发布商品时就出现这个:
MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => INSERT INTO `zjwdb_137663`.`ecs_goods` (goods_name, goods_name_style, goods_sn, cat_id, brand_id, shop_price, market_price, is_promote, promote_price, promote_start_date, promote_end_date, goods_img, goods_thumb, original_img, keywords, goods_brief, seller_note, goods_weight, goods_number, warn_number, integral, give_integral, is_best, is_new, is_hot, is_on_sale, is_alone_sale, is_shipping, goods_desc, add_time, last_update, goods_type, rank_integral, suppliers_id)VALUES ('服装01', '+', 'ECS000116', '238', '', '385', '462', '0','0', '0', '0', 'images/201310/1382590161582524071.jpg', 'images/201310/1382590161637028439.jpg', 'images/201310/1382590161561727724.jpg', '', '', '', '0', '1', '1', '3', '-1', '0', '0', '0', '1', '1', 0, '', '1382590161', '1382590161', '0', '-1', '0', '0') ) [2] => Array ( [error] => Column count doesn't match value count at row 1 ) [3] => Array ( [errno] => 1136 ) )

请问各位高手怎么才能解决 或是怎么调,越详细越了,本人新手先谢谢啦

回答:
自己乱改程序

导致SQL语句中的【字段】个数 跟 【字段值】个数不一致了