数据库出错了

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

我在后台一添加新商品就出现这个问题!其他的添加都没有问题.

MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => INSERT INTO `kakabar`.`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, goods_desc, add_time, last_update, goods_type, rank_integral)VALUES ('123456', '+', 'kk000211', '174', '44', '0', '0', '0','0', '0', '0', 'images/200812/1230058821881771096.jpg', 'images/200812/1230058821718411121.jpg', 'images/200812/1230058821668015549.jpg', '', '', '', '0', '0', '0', '0', '-1', '0', '0', '0', '1', '1', '', '1230058821', '1230058821', '0', '-1') ) [2] => Array ( [error] => Unknown column 'rank_integral' in 'field list' ) [3] => Array ( [errno] => 1054 ) )

这个怎么解决,有哪位大大知道的,详细点告诉我可以吗?


回答:
楼主的问题应该是刚升级过来的,所以导致错误。
2楼的问题应该是数据库没有多少空间导致的错误

高手好

3楼正解