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

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -