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

#   Import not working

##

- **[abstractimagegroup](/forum/user/32129-abstractimagegroup "View abstractimagegroup's Profile")**
- [![abstractimagegroup's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar32129.png)](/forum/user/32129-abstractimagegroup "View abstractimagegroup's Profile") Topic Author
- [ Offline](/forum/user/32129-abstractimagegroup)

Less More

- Posts: 37
- Thank you received: 0
-
- [](http://www.abstractimagegroup.com/)
-

12 years 3 months ago [\#166256](#166256) by [abstractimagegroup](/forum/user/32129-abstractimagegroup "View abstractimagegroup's Profile")  *[Import not working](/forum/32-content-creation/870137-import-not-working#166256 "-- url of the page with the problem -- :   181.224.136.115/~accura84/  -- HikaShop version -- : HikaShop &#91;1407241754&#93; -- Joomla version -- : 2.5.24 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : Firefox 30.0 -- Error-message(debug-mod must be tuned on) -- : Warning: substr() expects parameter 1 to be string, object given in /home/accura84/public&#95;html/administrator/components/com&#95;hikashop/helpers/import.php on line 1031")* was created by *[abstractimagegroup](/forum/user/32129-abstractimagegroup "View abstractimagegroup's Profile")*

-- url of the page with the problem -- : [ 181.224.136.115/~accura84/](http://181.224.136.115/~accura84/)
-- HikaShop version -- : HikaShop [1407241754]
-- Joomla version -- : 2.5.24
-- PHP version -- : 5.3.28
-- Browser(s) name and version -- : Firefox 30.0
-- Error-message(debug-mod must be tuned on) -- : Warning: substr() expects parameter 1 to be string, object given in /home/accura84/public_html/administrator/components/com_hikashop/helpers/import.php on line 1031

[ ![Screen&#95;Shot&#95;2014-08-02&#95;at&#95;1&#95;44&#95;24&#95;PM.png](/forum/attachment/18811) ](/forum/attachment/18811 "...1&#95;44&#95;24&#95;PM.png")

---

Abstract Image Group \| Fulfilling all of your large format printing needs!

- [ ![Screen&#95;Shot&#95;2014-08-02&#95;at&#95;1&#95;44&#95;24&#95;PM.png](/forum/attachment/18811) ](/forum/attachment/18811 "...1&#95;44&#95;24&#95;PM.png") [ ](/forum/attachment/18811?download=1 "...1&#95;44&#95;24&#95;PM.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODcwMTM3LWltcG9ydC1ub3Qtd29ya2luZz90bXBsPW1hcmtkb3du) 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: 86587
- Thank you received: 14325
-
-

12 years 3 months ago [\#166258](#166258) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Import not working](/forum/32-content-creation/870137-import-not-working#166258 "-- url of the page with the problem -- :   181.224.136.115/~accura84/  -- HikaShop version -- : HikaShop &#91;1407241754&#93; -- Joomla version -- : 2.5.24 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : Firefox 30.0 -- Error-message(debug-mod must be tuned on) -- : Warning: substr() expects parameter 1 to be string, object given in /home/accura84/public&#95;html/administrator/components/com&#95;hikashop/helpers/import.php on line 1031")*

Hi,

Thanks for the feedback.
The line: Code:

$file-&gt;file_name = str_replace('_',' ',substr($file,0,strrpos($name,'.')));

need to be changed to: Code:

$file-&gt;file_name = str_replace('_',' ',substr($name,0,strrpos($name,'.')));

in the file administrator/components/com_hikashop/helpers/import.php in order to fix the issue.

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

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