[Skip to main content](#vessel-content)

#   Error message on import

##

- **[sison2466](/forum/user/33787-sison2466 "View sison2466's Profile")**
- [![sison2466's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33787-sison2466 "View sison2466's Profile") Topic Author
- [ Offline](/forum/user/33787-sison2466)

Less More

- Posts: 146
- Thank you received: 2
-
-

12 years 1 month ago [\#176398](#176398) by [sison2466](/forum/user/33787-sison2466 "View sison2466's Profile")  *[Error message on import](/forum/37-import-export-csv-xls/872483-error-message-on-import#176398 "-- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.1 -- PHP version -- : 5.4.32 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : Notice The line ',,,,,,,,,,,,,,,,' could not be imported Product not found  The line ',,,,,,,,,,,,,,,,' could not be imported Product not found  Message 855 products found : 91 new products imported, 569 invalid product code, 195 already existing products  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031 ...etc  Delete all my products via PHP my admin, to start my shop over again. Used the SQL attached. Verified no products were listed in the Product menu.  Imported using the attached CSV.  Received the following error message saying:  1) I had duplicate products, even though I deleted all my products 2) I was important hundreds of more products than was in my CSV")* was created by *[sison2466](/forum/user/33787-sison2466 "View sison2466's Profile")*

-- HikaShop version -- : 2.3.3
-- Joomla version -- : 3.3.1
-- PHP version -- : 5.4.32
-- Browser(s) name and version -- : Chrome
-- Error-message(debug-mod must be tuned on) -- : Notice
The line ',,,,,,,,,,,,,,,,' could not be imported Product not found

The line ',,,,,,,,,,,,,,,,' could not be imported Product not found

Message
855 products found : 91 new products imported, 569 invalid product code, 195 already existing products

Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public_html/iheartsin/administrator/components/com_hikashop/helpers/import.php on line 1031

Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public_html/iheartsin/administrator/components/com_hikashop/helpers/import.php on line 1031

Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public_html/iheartsin/administrator/components/com_hikashop/helpers/import.php on line 1031
...etc

Delete all my products via PHP my admin, to start my shop over again.
Used the SQL attached. Verified no products were listed in the Product menu.

Imported using the attached CSV.

Received the following error message saying:

1) I had duplicate products, even though I deleted all my products
2) I was important hundreds of more products than was in my CSV

- [ ![2014-10-21&#95;17&#95;21&#95;43-I&#95;Heart&#95;SIN&#95;-&#95;Administration&#95;-&#95;Import.png](/forum/attachment/20264) ](/forum/attachment/20264 "...n&#95;-&#95;Import.png") [ ](/forum/attachment/20264?download=1 "...n&#95;-&#95;Import.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84NzI0ODMtZXJyb3ItbWVzc2FnZS1vbi1pbXBvcnQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

12 years 1 month ago [\#176420](#176420) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Error message on import](/forum/37-import-export-csv-xls/872483-error-message-on-import#176420 "-- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.1 -- PHP version -- : 5.4.32 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : Notice The line ',,,,,,,,,,,,,,,,' could not be imported Product not found  The line ',,,,,,,,,,,,,,,,' could not be imported Product not found  Message 855 products found : 91 new products imported, 569 invalid product code, 195 already existing products  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031 ...etc  Delete all my products via PHP my admin, to start my shop over again. Used the SQL attached. Verified no products were listed in the Product menu.  Imported using the attached CSV.  Received the following error message saying:  1) I had duplicate products, even though I deleted all my products 2) I was important hundreds of more products than was in my CSV")*

Hi,

You have extra spaces in the names of the columns in your CSV ( " product_name" and " categories" instead of "product_name" and "categories") so that would explain why the products do not appear after the import. Also, the product_id column should be removed from the CSV. It is not necessary, and if present, it should only contains numbers and that's not the case on your CSV.
The warning messages come from a bug of HikaShop 2.3.3. It has been fixed in the 2.3.4 that we released today and that you can manually install and download via the My account&gt;My subscriptions menu on our website.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84NzI0ODMtZXJyb3ItbWVzc2FnZS1vbi1pbXBvcnQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[sison2466](/forum/user/33787-sison2466 "View sison2466's Profile")**
- [![sison2466's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33787-sison2466 "View sison2466's Profile") Topic Author
- [ Offline](/forum/user/33787-sison2466)

Less More

- Posts: 146
- Thank you received: 2
-
-

12 years 1 month ago [\#176561](#176561) by [sison2466](/forum/user/33787-sison2466 "View sison2466's Profile")  Replied by *[sison2466](/forum/user/33787-sison2466 "View sison2466's Profile")* on topic *[Error message on import](/forum/37-import-export-csv-xls/872483-error-message-on-import#176561 "-- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.1 -- PHP version -- : 5.4.32 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : Notice The line ',,,,,,,,,,,,,,,,' could not be imported Product not found  The line ',,,,,,,,,,,,,,,,' could not be imported Product not found  Message 855 products found : 91 new products imported, 569 invalid product code, 195 already existing products  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031 ...etc  Delete all my products via PHP my admin, to start my shop over again. Used the SQL attached. Verified no products were listed in the Product menu.  Imported using the attached CSV.  Received the following error message saying:  1) I had duplicate products, even though I deleted all my products 2) I was important hundreds of more products than was in my CSV")*

Removed all the spaces from my columns in my CSV. Thank you for the catch. Also deleted the produce_id column. I am still getting the issue I brought up in a different thread

[ www.hikashop.com/forum/import-export-csv...g-on-csv-import.html](http://www.hikashop.com/forum/import-export-csv-xls/872035-variants-no-showing-on-csv-import.html) &lt;last post&gt;

Which is on import, Hikashop seems to be creating all possible variants and listing unlimited quantity, regardless if I have specific variant combinations and quantities in my CSV upload files.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84NzI0ODMtZXJyb3ItbWVzc2FnZS1vbi1pbXBvcnQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 1 month ago [\#176653](#176653) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Error message on import](/forum/37-import-export-csv-xls/872483-error-message-on-import#176653 "-- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.1 -- PHP version -- : 5.4.32 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : Notice The line ',,,,,,,,,,,,,,,,' could not be imported Product not found  The line ',,,,,,,,,,,,,,,,' could not be imported Product not found  Message 855 products found : 91 new products imported, 569 invalid product code, 195 already existing products  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031 ...etc  Delete all my products via PHP my admin, to start my shop over again. Used the SQL attached. Verified no products were listed in the Product menu.  Imported using the attached CSV.  Received the following error message saying:  1) I had duplicate products, even though I deleted all my products 2) I was important hundreds of more products than was in my CSV")*

Hi,

So I close this topic and we will continue on the other one as soon as possible.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84NzI0ODMtZXJyb3ItbWVzc2FnZS1vbi1pbXBvcnQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[sison2466](/forum/user/33787-sison2466 "View sison2466's Profile")**
- [![sison2466's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33787-sison2466 "View sison2466's Profile") Topic Author
- [ Offline](/forum/user/33787-sison2466)

Less More

- Posts: 146
- Thank you received: 2
-
-

12 years 1 month ago [\#177889](#177889) by [sison2466](/forum/user/33787-sison2466 "View sison2466's Profile")  Replied by *[sison2466](/forum/user/33787-sison2466 "View sison2466's Profile")* on topic *[Error message on import](/forum/37-import-export-csv-xls/872483-error-message-on-import#177889 "-- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.1 -- PHP version -- : 5.4.32 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : Notice The line ',,,,,,,,,,,,,,,,' could not be imported Product not found  The line ',,,,,,,,,,,,,,,,' could not be imported Product not found  Message 855 products found : 91 new products imported, 569 invalid product code, 195 already existing products  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031 ...etc  Delete all my products via PHP my admin, to start my shop over again. Used the SQL attached. Verified no products were listed in the Product menu.  Imported using the attached CSV.  Received the following error message saying:  1) I had duplicate products, even though I deleted all my products 2) I was important hundreds of more products than was in my CSV")*

Updated to 2.3.4. Now I see the following message when I am the page looking at the product list

Warning: vsprintf(): Too few arguments in /home1/sison246/public_html/iheartsin/libraries/joomla/language/text.php on line 92

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84NzI0ODMtZXJyb3ItbWVzc2FnZS1vbi1pbXBvcnQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

12 years 1 month ago [\#177895](#177895) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Error message on import](/forum/37-import-export-csv-xls/872483-error-message-on-import#177895 "-- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.1 -- PHP version -- : 5.4.32 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : Notice The line ',,,,,,,,,,,,,,,,' could not be imported Product not found  The line ',,,,,,,,,,,,,,,,' could not be imported Product not found  Message 855 products found : 91 new products imported, 569 invalid product code, 195 already existing products  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031 ...etc  Delete all my products via PHP my admin, to start my shop over again. Used the SQL attached. Verified no products were listed in the Product menu.  Imported using the attached CSV.  Received the following error message saying:  1) I had duplicate products, even though I deleted all my products 2) I was important hundreds of more products than was in my CSV")*

That's an warning with a translation string. You can ignore it.
I don't know why you get it, but you should turn off the "error reporting" option of the Joomla configuration. That option should be turned off on a live website for security reasons and that will remove that warning as well.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84NzI0ODMtZXJyb3ItbWVzc2FnZS1vbi1pbXBvcnQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[sison2466](/forum/user/33787-sison2466 "View sison2466's Profile")**
- [![sison2466's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33787-sison2466 "View sison2466's Profile") Topic Author
- [ Offline](/forum/user/33787-sison2466)

Less More

- Posts: 146
- Thank you received: 2
-
-

12 years 2 weeks ago [\#179766](#179766) by [sison2466](/forum/user/33787-sison2466 "View sison2466's Profile")  Replied by *[sison2466](/forum/user/33787-sison2466 "View sison2466's Profile")* on topic *[Error message on import](/forum/37-import-export-csv-xls/872483-error-message-on-import#179766 "-- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.1 -- PHP version -- : 5.4.32 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : Notice The line ',,,,,,,,,,,,,,,,' could not be imported Product not found  The line ',,,,,,,,,,,,,,,,' could not be imported Product not found  Message 855 products found : 91 new products imported, 569 invalid product code, 195 already existing products  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031 ...etc  Delete all my products via PHP my admin, to start my shop over again. Used the SQL attached. Verified no products were listed in the Product menu.  Imported using the attached CSV.  Received the following error message saying:  1) I had duplicate products, even though I deleted all my products 2) I was important hundreds of more products than was in my CSV")*

I'm oddly still getting a "already existing products", when importing, even if I delete all my products first. Is there a way to figure out which products Hika thinks are already existing, so I can fix my import file?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84NzI0ODMtZXJyb3ItbWVzc2FnZS1vbi1pbXBvcnQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[sison2466](/forum/user/33787-sison2466 "View sison2466's Profile")**
- [![sison2466's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33787-sison2466 "View sison2466's Profile") Topic Author
- [ Offline](/forum/user/33787-sison2466)

Less More

- Posts: 146
- Thank you received: 2
-
-

12 years 2 weeks ago [\#179813](#179813) by [sison2466](/forum/user/33787-sison2466 "View sison2466's Profile")  Replied by *[sison2466](/forum/user/33787-sison2466 "View sison2466's Profile")* on topic *[Error message on import](/forum/37-import-export-csv-xls/872483-error-message-on-import#179813 "-- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.1 -- PHP version -- : 5.4.32 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : Notice The line ',,,,,,,,,,,,,,,,' could not be imported Product not found  The line ',,,,,,,,,,,,,,,,' could not be imported Product not found  Message 855 products found : 91 new products imported, 569 invalid product code, 195 already existing products  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031 ...etc  Delete all my products via PHP my admin, to start my shop over again. Used the SQL attached. Verified no products were listed in the Product menu.  Imported using the attached CSV.  Received the following error message saying:  1) I had duplicate products, even though I deleted all my products 2) I was important hundreds of more products than was in my CSV")*

Here is the specific message. This is after I clear my products via SQL, so there are no products remaining, before I import.

2246 products found : 2068 new products imported, 0 invalid product code, 178 already existing products

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84NzI0ODMtZXJyb3ItbWVzc2FnZS1vbi1pbXBvcnQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

12 years 2 weeks ago [\#180062](#180062) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Error message on import](/forum/37-import-export-csv-xls/872483-error-message-on-import#180062 "-- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.1 -- PHP version -- : 5.4.32 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : Notice The line ',,,,,,,,,,,,,,,,' could not be imported Product not found  The line ',,,,,,,,,,,,,,,,' could not be imported Product not found  Message 855 products found : 91 new products imported, 569 invalid product code, 195 already existing products  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031 ...etc  Delete all my products via PHP my admin, to start my shop over again. Used the SQL attached. Verified no products were listed in the Product menu.  Imported using the attached CSV.  Received the following error message saying:  1) I had duplicate products, even though I deleted all my products 2) I was important hundreds of more products than was in my CSV")*

Hi,

Open the table hikashop_product via your phpmyadmin and you'll see the entries left in the product table.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84NzI0ODMtZXJyb3ItbWVzc2FnZS1vbi1pbXBvcnQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[sedonasky](/forum/user/32085-sedonasky "View sedonasky's Profile")**
- [![sedonasky's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32085-sedonasky "View sedonasky's Profile")
- [ Offline](/forum/user/32085-sedonasky)

Less More

- Posts: 63
- Thank you received: 3
-
-

11 years 8 months ago [\#193933](#193933) by [sedonasky](/forum/user/32085-sedonasky "View sedonasky's Profile")  Replied by *[sedonasky](/forum/user/32085-sedonasky "View sedonasky's Profile")* on topic *[Error message on import](/forum/37-import-export-csv-xls/872483-error-message-on-import#193933 "-- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.1 -- PHP version -- : 5.4.32 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : Notice The line ',,,,,,,,,,,,,,,,' could not be imported Product not found  The line ',,,,,,,,,,,,,,,,' could not be imported Product not found  Message 855 products found : 91 new products imported, 569 invalid product code, 195 already existing products  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031 ...etc  Delete all my products via PHP my admin, to start my shop over again. Used the SQL attached. Verified no products were listed in the Product menu.  Imported using the attached CSV.  Received the following error message saying:  1) I had duplicate products, even though I deleted all my products 2) I was important hundreds of more products than was in my CSV")*

I followed all the steps and am having problems importing. I have the latest version of php/Hika/Joomla.

I deleted all the products and tried to import. That did not work as I got the error message saying that the products exist.

I then emptied the table in phpMyadmin but still got errors (see attached).

Attached is the file 'rows518-to-end.csv' which contains only the products. The 'hikashopexport-done.csv' contains a bunch of other rows that we did not update (the first 517 rows).

Please help!

- [ ![Screen&#95;Shot&#95;2015-03-09&#95;at&#95;1&#95;04&#95;52&#95;PM.jpg](/forum/attachment/22944) ](/forum/attachment/22944 "...1&#95;04&#95;52&#95;PM.jpg") [ ](/forum/attachment/22944?download=1 "...1&#95;04&#95;52&#95;PM.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84NzI0ODMtZXJyb3ItbWVzc2FnZS1vbi1pbXBvcnQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

11 years 8 months ago [\#193948](#193948) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Error message on import](/forum/37-import-export-csv-xls/872483-error-message-on-import#193948 "-- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.1 -- PHP version -- : 5.4.32 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : Notice The line ',,,,,,,,,,,,,,,,' could not be imported Product not found  The line ',,,,,,,,,,,,,,,,' could not be imported Product not found  Message 855 products found : 91 new products imported, 569 invalid product code, 195 already existing products  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031 ...etc  Delete all my products via PHP my admin, to start my shop over again. Used the SQL attached. Verified no products were listed in the Product menu.  Imported using the attached CSV.  Received the following error message saying:  1) I had duplicate products, even though I deleted all my products 2) I was important hundreds of more products than was in my CSV")*

Hi,

Your CSV file only contains variants. As specified in the import documentation ( which I invite you to read here: [ www.hikashop.com/support/support/documen...hikashop-import.html](https://www.hikashop.com/support/support/documentation/73-hikashop-import.html) ), the CSV need to contains the variants AND the products (the products have to be listed above the variants in the CSV file). That is not the case on your CSV which explains why it doesn't work.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84NzI0ODMtZXJyb3ItbWVzc2FnZS1vbi1pbXBvcnQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[sedonasky](/forum/user/32085-sedonasky "View sedonasky's Profile")**
- [![sedonasky's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32085-sedonasky "View sedonasky's Profile")
- [ Offline](/forum/user/32085-sedonasky)

Less More

- Posts: 63
- Thank you received: 3
-
-

11 years 8 months ago -  11 years 8 months ago [\#194111](#194111) by [sedonasky](/forum/user/32085-sedonasky "View sedonasky's Profile")  Replied by *[sedonasky](/forum/user/32085-sedonasky "View sedonasky's Profile")* on topic *[Error message on import](/forum/37-import-export-csv-xls/872483-error-message-on-import#194111 "-- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.1 -- PHP version -- : 5.4.32 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : Notice The line ',,,,,,,,,,,,,,,,' could not be imported Product not found  The line ',,,,,,,,,,,,,,,,' could not be imported Product not found  Message 855 products found : 91 new products imported, 569 invalid product code, 195 already existing products  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031 ...etc  Delete all my products via PHP my admin, to start my shop over again. Used the SQL attached. Verified no products were listed in the Product menu.  Imported using the attached CSV.  Received the following error message saying:  1) I had duplicate products, even though I deleted all my products 2) I was important hundreds of more products than was in my CSV")*

I just tried the entire database (with products) but get this error:
An error has occurred.
1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 SQL=UPDATE jom_hikashop_category SET category_right = category_right + 2 WHERE category_right &gt;=

The attached file is the exact same as the export only the variants have price changes. No other changes were made to the file.

Thank you

Last edit: 11 years 8 months ago by [sedonasky](/forum/user/32085-sedonasky "View sedonasky's Profile"). Reason: add zip of database

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84NzI0ODMtZXJyb3ItbWVzc2FnZS1vbi1pbXBvcnQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[sedonasky](/forum/user/32085-sedonasky "View sedonasky's Profile")**
- [![sedonasky's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32085-sedonasky "View sedonasky's Profile")
- [ Offline](/forum/user/32085-sedonasky)

Less More

- Posts: 63
- Thank you received: 3
-
-

11 years 8 months ago [\#194169](#194169) by [sedonasky](/forum/user/32085-sedonasky "View sedonasky's Profile")  Replied by *[sedonasky](/forum/user/32085-sedonasky "View sedonasky's Profile")* on topic *[Error message on import](/forum/37-import-export-csv-xls/872483-error-message-on-import#194169 "-- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.1 -- PHP version -- : 5.4.32 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : Notice The line ',,,,,,,,,,,,,,,,' could not be imported Product not found  The line ',,,,,,,,,,,,,,,,' could not be imported Product not found  Message 855 products found : 91 new products imported, 569 invalid product code, 195 already existing products  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031 ...etc  Delete all my products via PHP my admin, to start my shop over again. Used the SQL attached. Verified no products were listed in the Product menu.  Imported using the attached CSV.  Received the following error message saying:  1) I had duplicate products, even though I deleted all my products 2) I was important hundreds of more products than was in my CSV")*

I tried (using phpMyadmin) emptying the table "jom_hikashop_product" and then tried importing the attachment (unzipped) on the previous email and get these errors:

4625 products found : 0 new products imported, 27 invalid product code, 4598 already existing products

Error
The column "" is twice in your CSV. Only the second column data will be taken into account.

The line ';;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;Coffee;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;' could not be imported Product not found

The line ';;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;Coffee;coffee.jpg;Coffee;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;' could not be imported Product not found

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84NzI0ODMtZXJyb3ItbWVzc2FnZS1vbi1pbXBvcnQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

11 years 8 months ago [\#194425](#194425) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Error message on import](/forum/37-import-export-csv-xls/872483-error-message-on-import#194425 "-- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.1 -- PHP version -- : 5.4.32 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : Notice The line ',,,,,,,,,,,,,,,,' could not be imported Product not found  The line ',,,,,,,,,,,,,,,,' could not be imported Product not found  Message 855 products found : 91 new products imported, 569 invalid product code, 195 already existing products  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031 ...etc  Delete all my products via PHP my admin, to start my shop over again. Used the SQL attached. Verified no products were listed in the Product menu.  Imported using the attached CSV.  Received the following error message saying:  1) I had duplicate products, even though I deleted all my products 2) I was important hundreds of more products than was in my CSV")*

Hi,

These are not real errors of the import. Just informations that you have an empty column and that the categories lines didn't contain any product data (that's normal).
So the import actually worked in that case.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84NzI0ODMtZXJyb3ItbWVzc2FnZS1vbi1pbXBvcnQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[sedonasky](/forum/user/32085-sedonasky "View sedonasky's Profile")**
- [![sedonasky's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32085-sedonasky "View sedonasky's Profile")
- [ Offline](/forum/user/32085-sedonasky)

Less More

- Posts: 63
- Thank you received: 3
-
-

11 years 8 months ago [\#194428](#194428) by [sedonasky](/forum/user/32085-sedonasky "View sedonasky's Profile")  Replied by *[sedonasky](/forum/user/32085-sedonasky "View sedonasky's Profile")* on topic *[Error message on import](/forum/37-import-export-csv-xls/872483-error-message-on-import#194428 "-- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.1 -- PHP version -- : 5.4.32 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : Notice The line ',,,,,,,,,,,,,,,,' could not be imported Product not found  The line ',,,,,,,,,,,,,,,,' could not be imported Product not found  Message 855 products found : 91 new products imported, 569 invalid product code, 195 already existing products  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031 ...etc  Delete all my products via PHP my admin, to start my shop over again. Used the SQL attached. Verified no products were listed in the Product menu.  Imported using the attached CSV.  Received the following error message saying:  1) I had duplicate products, even though I deleted all my products 2) I was important hundreds of more products than was in my CSV")*

Are you sure? The import message said "0 new products imported"?

I will try the same method tomorrow and check if the prices increased.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84NzI0ODMtZXJyb3ItbWVzc2FnZS1vbi1pbXBvcnQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

11 years 8 months ago [\#194491](#194491) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Error message on import](/forum/37-import-export-csv-xls/872483-error-message-on-import#194491 "-- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.1 -- PHP version -- : 5.4.32 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : Notice The line ',,,,,,,,,,,,,,,,' could not be imported Product not found  The line ',,,,,,,,,,,,,,,,' could not be imported Product not found  Message 855 products found : 91 new products imported, 569 invalid product code, 195 already existing products  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031 ...etc  Delete all my products via PHP my admin, to start my shop over again. Used the SQL attached. Verified no products were listed in the Product menu.  Imported using the attached CSV.  Received the following error message saying:  1) I had duplicate products, even though I deleted all my products 2) I was important hundreds of more products than was in my CSV")*

Yes. It also says 4598 already existing products, meaning that the products were already in the database and so the system just updated them.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84NzI0ODMtZXJyb3ItbWVzc2FnZS1vbi1pbXBvcnQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[sedonasky](/forum/user/32085-sedonasky "View sedonasky's Profile")**
- [![sedonasky's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32085-sedonasky "View sedonasky's Profile")
- [ Offline](/forum/user/32085-sedonasky)

Less More

- Posts: 63
- Thank you received: 3
-
-

11 years 8 months ago [\#194527](#194527) by [sedonasky](/forum/user/32085-sedonasky "View sedonasky's Profile")  Replied by *[sedonasky](/forum/user/32085-sedonasky "View sedonasky's Profile")* on topic *[Error message on import](/forum/37-import-export-csv-xls/872483-error-message-on-import#194527 "-- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.1 -- PHP version -- : 5.4.32 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : Notice The line ',,,,,,,,,,,,,,,,' could not be imported Product not found  The line ',,,,,,,,,,,,,,,,' could not be imported Product not found  Message 855 products found : 91 new products imported, 569 invalid product code, 195 already existing products  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031 ...etc  Delete all my products via PHP my admin, to start my shop over again. Used the SQL attached. Verified no products were listed in the Product menu.  Imported using the attached CSV.  Received the following error message saying:  1) I had duplicate products, even though I deleted all my products 2) I was important hundreds of more products than was in my CSV")*

OK, this time I did the same steps.
1. emptied the product database
2. imported the attached 'hikashopexported-done.csv' file

See attached errors, along with the original export and updated export (just price changes).
See how the category menu got messed up as well (so I restored the site) as a lot of products were missing after the import.

thank you for helping!

- [ ![menu-after-import.jpg](/forum/attachment/23072) ](/forum/attachment/23072 "...ter-import.jpg") [ ](/forum/attachment/23072?download=1 "...ter-import.jpg")
- [ ![real-menu.jpg](/forum/attachment/23073) ](/forum/attachment/23073 "real-menu.jpg") [ ](/forum/attachment/23073?download=1 "real-menu.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84NzI0ODMtZXJyb3ItbWVzc2FnZS1vbi1pbXBvcnQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

11 years 8 months ago [\#194570](#194570) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Error message on import](/forum/37-import-export-csv-xls/872483-error-message-on-import#194570 "-- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.1 -- PHP version -- : 5.4.32 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : Notice The line ',,,,,,,,,,,,,,,,' could not be imported Product not found  The line ',,,,,,,,,,,,,,,,' could not be imported Product not found  Message 855 products found : 91 new products imported, 569 invalid product code, 195 already existing products  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031 ...etc  Delete all my products via PHP my admin, to start my shop over again. Used the SQL attached. Verified no products were listed in the Product menu.  Imported using the attached CSV.  Received the following error message saying:  1) I had duplicate products, even though I deleted all my products 2) I was important hundreds of more products than was in my CSV")*

Hi,

Here is what I see in your original CSV that you export from HikaShop : [ take.ms/TS9Cv](http://take.ms/TS9Cv)
And here is what I see in the hikashopexported-done.csv CSV file that you use for the import : [ take.ms/IZVHv](http://take.ms/IZVHv)
As you can see, the product name is split up in all the columns after it and so all the data is moved to different columns than what they should be in the CSV you're trying to import.

That's why you get all the error messages of columns with empty names. That's because the product data columns were moved to the right because of the product names being split up and thus the data was on columns without any name in the CSV.
That's also why all the store data is messed up after the import as the import data is completely wrong.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84NzI0ODMtZXJyb3ItbWVzc2FnZS1vbi1pbXBvcnQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[sedonasky](/forum/user/32085-sedonasky "View sedonasky's Profile")**
- [![sedonasky's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32085-sedonasky "View sedonasky's Profile")
- [ Offline](/forum/user/32085-sedonasky)

Less More

- Posts: 63
- Thank you received: 3
-
-

11 years 8 months ago [\#194715](#194715) by [sedonasky](/forum/user/32085-sedonasky "View sedonasky's Profile")  Replied by *[sedonasky](/forum/user/32085-sedonasky "View sedonasky's Profile")* on topic *[Error message on import](/forum/37-import-export-csv-xls/872483-error-message-on-import#194715 "-- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.1 -- PHP version -- : 5.4.32 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : Notice The line ',,,,,,,,,,,,,,,,' could not be imported Product not found  The line ',,,,,,,,,,,,,,,,' could not be imported Product not found  Message 855 products found : 91 new products imported, 569 invalid product code, 195 already existing products  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031 ...etc  Delete all my products via PHP my admin, to start my shop over again. Used the SQL attached. Verified no products were listed in the Product menu.  Imported using the attached CSV.  Received the following error message saying:  1) I had duplicate products, even though I deleted all my products 2) I was important hundreds of more products than was in my CSV")*

OK, I think it worked this time.

See the attached errors. Please confirm they are not important.

- [ ![Screen&#95;Shot&#95;2015-03-13&#95;at&#95;12&#95;17&#95;10&#95;PM.jpg](/forum/attachment/23103) ](/forum/attachment/23103 "...2&#95;17&#95;10&#95;PM.jpg") [ ](/forum/attachment/23103?download=1 "...2&#95;17&#95;10&#95;PM.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84NzI0ODMtZXJyb3ItbWVzc2FnZS1vbi1pbXBvcnQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

11 years 8 months ago [\#194736](#194736) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Error message on import](/forum/37-import-export-csv-xls/872483-error-message-on-import#194736 "-- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.1 -- PHP version -- : 5.4.32 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : Notice The line ',,,,,,,,,,,,,,,,' could not be imported Product not found  The line ',,,,,,,,,,,,,,,,' could not be imported Product not found  Message 855 products found : 91 new products imported, 569 invalid product code, 195 already existing products  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031  Warning: substr() expects parameter 1 to be string, object given in /home1/sison246/public&#95;html/iheartsin/administrator/components/com&#95;hikashop/helpers/import.php on line 1031 ...etc  Delete all my products via PHP my admin, to start my shop over again. Used the SQL attached. Verified no products were listed in the Product menu.  Imported using the attached CSV.  Received the following error message saying:  1) I had duplicate products, even though I deleted all my products 2) I was important hundreds of more products than was in my CSV")*

Hi,

These are normal and just say that the categories lines didn't contain any product data as I explained previously.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84NzI0ODMtZXJyb3ItbWVzc2FnZS1vbi1pbXBvcnQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.104 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
