Skip to main content

Warning when uploading via CSV

More
12 years 1 month ago #166635 by grayt7
-- HikaShop version -- : 2.3.2
-- Joomla version -- : 3.3.3
-- PHP version -- : 5.3
-- Browser(s) name and version -- : any
-- Error-message(debug-mod must be tuned on) -- : Warning: substr() expects parameter 1 to be string, object given in /home/afive/public_html/administrator/components/com_hikashop/helpers/import.php on line 1031

Hi,

When I try to import a sheet of products I get the following error (lots of them):

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

Please see example of CSV attached.

Also, when I try to export a product that has HTML containing double quotes the CSV breaks? It also breaks if I include an unordered list. How can I get this to work please?

Many thanks,

Thanasi

Please Log in or Create an account to join the conversation.

More
12 years 1 month ago #166665 by nicolas
Hi,

For the warning :
www.hikashop.com/forum/content-creation/...-working/166256.html

For the export CSV, HikaShop exports a valid CSV. But some CSV readers might not support multiline cells. If you try to open the generated CSV with LibreOffice Calc, it should not be a problem.

Please Log in or Create an account to join the conversation.

More
12 years 1 month ago #166681 by grayt7
Hi Nicolas,

Thanks for getting back to me.

When I click the link you supplied for the error I get an access denied message?

Thanks for the info about multi line cells.

Cheers!

Please Log in or Create an account to join the conversation.

More
12 years 1 month ago #166699 by Jerome
Hi,

The link is good and working.
Code:
http://www.hikashop.com/forum/content-creation/870137-import-not-working.html

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

Time to create page: 0.172 seconds
Powered by Kunena Forum