Warning when uploading via CSV

  • Posts: 363
  • Thank you received: 7
  • Hikashop Business
10 years 3 months ago #166635

-- 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

Attachments:

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
10 years 3 months ago #166665

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.

  • Posts: 363
  • Thank you received: 7
  • Hikashop Business
10 years 3 months ago #166681

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.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
10 years 3 months ago #166699

Hi,

The link is good and working.

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.060 seconds
Powered by Kunena Forum