Support is online

Error on import categories Hikashop #7329

Open janvankuijk opened this topic Saturday, 02 May 2015 · 2 replies
Author

Roland,

I want to import just the categories to products in the Hikashop. The products are still in the database. I'm getting this error.

Status error: 200
Status message: OK

Warning: array_key_exists() expects parameter 2 to be array, null given in /home/janvard96/domains/testjouwsite.nl/public_html/silema34/administrator/components/com_csvi/addon/com_hikashop/model/import/product.php on line 326

Warning: array_key_exists() expects parameter 2 to be array, null given in /home/janvard96/domains/testjouwsite.nl/public_html/silema34/administrator/components/com_csvi/addon/com_hikashop/model/import/product.php on line 333

Last response:
The last server response has not been received in a timely fashion. The server may still be busy or stopped the process. You can wait a little longer to see if the server will sent a response or cancel the process.

Categories are not imported. For instance this one:
"AC40230","product category/Revalidatietechniek/Accu's en Accessoires/Accu's/Accu's 6 Volt"

In an earlier version it was like this:
"AC40230","product category/Revalidatietechniek/Accu's en Accessoires/Accu's/Accu's 6 Volt"
I removed the backslashes.

Attached the import file and error log.

Jan

Support

Hello Jan,

The problem is in the CSV file. The first line has a semi-colon as field separator but line 2 and further has a comma as field separator. This makes CSVI believe there is no value for the category_path. Things go south from there.

Fix the separator and you should be good to go.

Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory

Author

That was the problem! Solved now.

Thanks
Jan

Log in to reply to this topic.