php - Error: Column count doesn't match value count at row 1 Error No: 1136 -
i trying upload .xlsx
file, products, prices etc, in opencart e-shop. and, getting following error:
notice: error: column count doesn't match value count @ row 1 error no: 1136 insert oc_product (product_id,quantity,sku,upc,ean,jan,isbn, mpn,location,stock_status_id,model,manufacturer_id,image,shipping,price,points, date_added,date_modified,date_available,weight,weight_class_id,status, tax_class_id,viewed,length,width,height,length_class_id,sort_order,subtract, minimum) values (5546,999,'','','','','','6.00340.00','',6,'6.00340.00',13, '',1,785,0,'2016-07-27 17:29:43','2016-07-27 17:29:43','2016-07-27',7,7,1,1, 0,0,0,0,0,'1','1','1','1'); in /var/www/vhosts/......
i have checked .xlsx
file errors, or mistyped things or things that. but, cannot find problem causes error.
any ideas why? appreciated.
i see value in insert statement, aligned commas in query:
insert `oc_product` (`product_id`,`quantity`,`sku`,`upc`,`ean`,`jan`,`isbn` ,`mpn` ,`location`,`stock_status_id`,`model` ,`manufacturer_id`,`image`,`shipping`,`price`,`points` ,`date_added` ,`date_modified` ,`date_available`,`weight`,`weight_class_id`,`status`,`tax_class_id`,`viewed`,`length`,`width`,`height`,`length_class_id`,`sort_order`,`subtract`,`minimum`) values (5546 , 999, '', '','' ,'' ,'' ,'6.00340.00','' ,6 ,'6.00340.00',13 ,'' ,1 ,785 ,0 ,'2016-07-27 17:29:43','2016-07-27 17:29:43','2016-07-27' , 7, 7, 1, 1, 0, 0, 0, 0, 0, 1' , '1', '1', '1');
Comments
Post a Comment