MySQL server error report:Array ( 最近才接触ecshop,添加商品时出问题了..求指导原因...
MySQLservererrorreport:Array([0]=>Array([message]=>MySQLQueryError)[1]=>Array([sql]=>...
MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => INSERT INTO `shop100228`.`ecs_goods` (goods_name, goods_name_extends, 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 ('Z4', '+', 'ECS000000', '5', '19', '1200000.00', '1440000', '1','1180000', '1324915200', '1327593600', 'images/201112/1324973092827083804.jpg', 'images/201112/1324973092647016785.jpg', 'images/201112/1324973092631713184.jpg', '', '', '', '0', '1', '1', '12000', '-1', '0', '0', '0', '1', '1', 0, '', '1324973092', '1324973092', '0', '-1', '0') ) [2] => Array ( [error] => Column count doesn't match value count at row 1 ) [3] => Array ( [errno] => 1136 ) )
我用ecshop在后台添加商品时出现这个,是怎么回事`求帮忙 展开
我用ecshop在后台添加商品时出现这个,是怎么回事`求帮忙 展开
3个回答
展开全部
前面的字段和 后面的值不匹配 少值。检查下 是哪里少了, 或者你用原版的文件替换下 !
!
!
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
很明显,你添加时的sql语句写错了,前面的字段个数,跟你后面值不对应 [error] => Column count doesn't match value count at row 1 )执行sql时一报这个错就说明前后个数不匹配。
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询