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

#   Warning when uploading via CSV

##

- **[grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")**
- [![grayt7's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar30010.jpg)](/forum/user/30010-grayt7 "View grayt7's Profile") Topic Author
- [ Offline](/forum/user/30010-grayt7)

Less More

- Posts: 377
- Thank you received: 7
-
-
- [](http://www.identitywebdesign.com)
-

12 years 3 months ago [\#166635](#166635) by [grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")  *[Warning when uploading via CSV](/forum/37-import-export-csv-xls/870219-warning-when-uploading-via-csv#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&#95;html/administrator/components/com&#95;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&#95;html/administrator/components/com&#95;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")* was created by *[grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")*

-- 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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84NzAyMTktd2FybmluZy13aGVuLXVwbG9hZGluZy12aWEtY3N2P3RtcGw9bWFya2Rvd24=) 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 3 months ago [\#166665](#166665) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Warning when uploading via CSV](/forum/37-import-export-csv-xls/870219-warning-when-uploading-via-csv#166665 "-- 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&#95;html/administrator/components/com&#95;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&#95;html/administrator/components/com&#95;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")*

Hi,

For the warning :
[ www.hikashop.com/forum/content-creation/...-working/166256.html](http://www.hikashop.com/forum/content-creation/870137-import-not-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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84NzAyMTktd2FybmluZy13aGVuLXVwbG9hZGluZy12aWEtY3N2P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")**
- [![grayt7's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar30010.jpg)](/forum/user/30010-grayt7 "View grayt7's Profile") Topic Author
- [ Offline](/forum/user/30010-grayt7)

Less More

- Posts: 377
- Thank you received: 7
-
-
- [](http://www.identitywebdesign.com)
-

12 years 3 months ago [\#166681](#166681) by [grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")  Replied by *[grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")* on topic *[Warning when uploading via CSV](/forum/37-import-export-csv-xls/870219-warning-when-uploading-via-csv#166681 "-- 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&#95;html/administrator/components/com&#95;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&#95;html/administrator/components/com&#95;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")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84NzAyMTktd2FybmluZy13aGVuLXVwbG9hZGluZy12aWEtY3N2P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

12 years 3 months ago [\#166699](#166699) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Warning when uploading via CSV](/forum/37-import-export-csv-xls/870219-warning-when-uploading-via-csv#166699 "-- 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&#95;html/administrator/components/com&#95;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&#95;html/administrator/components/com&#95;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")*

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 &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84NzAyMTktd2FybmluZy13aGVuLXVwbG9hZGluZy12aWEtY3N2P3RtcGw9bWFya2Rvd24=) 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.066 seconds

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