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

#   Virtuemart Import problem - No product images

##

- **[tadosborn](/forum/user/33363-tadosborn "View tadosborn's Profile")**
- [![tadosborn's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33363-tadosborn "View tadosborn's Profile") Topic Author
- [ Offline](/forum/user/33363-tadosborn)

Less More

- Posts: 62
- Thank you received: 4
-
-

11 years 2 months ago [\#215597](#215597) by [tadosborn](/forum/user/33363-tadosborn "View tadosborn's Profile")  *[Virtuemart Import problem - No product images](/forum/37-import-export-csv-xls/879521-virtuemart-import-problem-no-product-images#215597 "-- url of the page with the problem -- :   www.sombrerobrands.com  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.3 -- Browser(s) name and version -- : Internet Explorer 11 -- Error-message(debug-mod must be tuned on) -- : No error messages  None of the images are being imported into HikaCart from Virtuemart. Permissions are wide open. I see all of the images in the images/com&#95;hikashop/upload directory. Why can't I easily import all of my products? Please help!")* was created by *[tadosborn](/forum/user/33363-tadosborn "View tadosborn's Profile")*

-- url of the page with the problem -- : [ www.sombrerobrands.com](http://www.sombrerobrands.com)
-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.4
-- PHP version -- : 5.3
-- Browser(s) name and version -- : Internet Explorer 11
-- Error-message(debug-mod must be tuned on) -- : No error messages

None of the images are being imported into HikaCart from Virtuemart. Permissions are wide open. I see all of the images in the images/com_hikashop/upload directory.
Why can't I easily import all of my products? Please help!

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

11 years 2 months ago [\#215699](#215699) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Virtuemart Import problem - No product images](/forum/37-import-export-csv-xls/879521-virtuemart-import-problem-no-product-images#215699 "-- url of the page with the problem -- :   www.sombrerobrands.com  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.3 -- Browser(s) name and version -- : Internet Explorer 11 -- Error-message(debug-mod must be tuned on) -- : No error messages  None of the images are being imported into HikaCart from Virtuemart. Permissions are wide open. I see all of the images in the images/com&#95;hikashop/upload directory. Why can't I easily import all of my products? Please help!")*

Hi,

Do you have a link in your website which will allow us to know a little more about what has been imported ?
Or maybe some information from the HikaShop product edition page or from the table "hikashop_file" ?

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84Nzk1MjEtdmlydHVlbWFydC1pbXBvcnQtcHJvYmxlbS1uby1wcm9kdWN0LWltYWdlcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[tadosborn](/forum/user/33363-tadosborn "View tadosborn's Profile")**
- [![tadosborn's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33363-tadosborn "View tadosborn's Profile") Topic Author
- [ Offline](/forum/user/33363-tadosborn)

Less More

- Posts: 62
- Thank you received: 4
-
-

11 years 2 months ago [\#215701](#215701) by [tadosborn](/forum/user/33363-tadosborn "View tadosborn's Profile")  Replied by *[tadosborn](/forum/user/33363-tadosborn "View tadosborn's Profile")* on topic *[Virtuemart Import problem - No product images](/forum/37-import-export-csv-xls/879521-virtuemart-import-problem-no-product-images#215701 "-- url of the page with the problem -- :   www.sombrerobrands.com  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.3 -- Browser(s) name and version -- : Internet Explorer 11 -- Error-message(debug-mod must be tuned on) -- : No error messages  None of the images are being imported into HikaCart from Virtuemart. Permissions are wide open. I see all of the images in the images/com&#95;hikashop/upload directory. Why can't I easily import all of my products? Please help!")*

You have the latest stable version of HikaShop Business: 2.6.0

All of the products imported fine, but the images are all showing place holders with a few exceptions such as categories.
[ www.sombrerobrands.com/new](http://www.sombrerobrands.com/new)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84Nzk1MjEtdmlydHVlbWFydC1pbXBvcnQtcHJvYmxlbS1uby1wcm9kdWN0LWltYWdlcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[tadosborn](/forum/user/33363-tadosborn "View tadosborn's Profile")**
- [![tadosborn's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33363-tadosborn "View tadosborn's Profile") Topic Author
- [ Offline](/forum/user/33363-tadosborn)

Less More

- Posts: 62
- Thank you received: 4
-
-

11 years 2 months ago [\#215705](#215705) by [tadosborn](/forum/user/33363-tadosborn "View tadosborn's Profile")  Replied by *[tadosborn](/forum/user/33363-tadosborn "View tadosborn's Profile")* on topic *[Virtuemart Import problem - No product images](/forum/37-import-export-csv-xls/879521-virtuemart-import-problem-no-product-images#215705 "-- url of the page with the problem -- :   www.sombrerobrands.com  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.3 -- Browser(s) name and version -- : Internet Explorer 11 -- Error-message(debug-mod must be tuned on) -- : No error messages  None of the images are being imported into HikaCart from Virtuemart. Permissions are wide open. I see all of the images in the images/com&#95;hikashop/upload directory. Why can't I easily import all of my products? Please help!")*

When I use the 2.6 version to import, I get this nice sql error.

Unknown column 'vmp.product_id' in 'field list' SQL=INSERT IGNORE INTO &#96;l7hr9_hikashop_product&#96; (&#96;product_name&#96;,&#96;product_description&#96;,&#96;product_quantity&#96;,&#96;product_code&#96;,&#96;product_published&#96;,&#96;product_hit&#96;,&#96;product_created&#96;,&#96;product_modified&#96;,&#96;product_sale_start&#96;,&#96;product_tax_id&#96;,&#96;product_type&#96;,&#96;product_url&#96;,&#96;product_weight&#96;,&#96;product_weight_unit&#96;,&#96;product_dimension_unit&#96;,&#96;product_sales&#96;,&#96;product_width&#96;,&#96;product_length&#96;,&#96;product_height&#96;) SELECT vmpeg.product_name,CONCAT(vmpeg.product_s_desc,'&lt;hr id="system-readmore"/&gt;',vmpeg.product_desc),case when vmp.product_in_stock IS NULL or vmp.product_in_stock &lt; 0 then 0 else vmp.product_in_stock end,case when vmp.product_sku IS NULL or vmp.product_sku="" then MD5(vmp.product_id) else vmp.product_sku end,vmp.published,0,UNIX_TIMESTAMP(vmp.created_on),UNIX_TIMESTAMP(vmp.modified_on),UNIX_TIMESTAMP(vmp.product_available_date),hkc.category_id,'main',vmp.product_url,vmp.product_weight,LOWER(vmp.product_weight_uom),LOWER(vmp.product_lwh_uom),vmp.product_sales,vmp.product_width,vmp.product_length,vmp.product_height FROM &#96;l7hr9_virtuemart_products&#96; AS vmp INNER JOIN &#96;l7hr9_virtuemart_products_en_gb&#96; vmpeg ON vmp.virtuemart_product_id = vmpeg.virtuemart_product_id LEFT JOIN &#96;l7hr9_virtuemart_product_prices&#96; vmpp ON vmpeg.virtuemart_product_id = vmpp.virtuemart_product_id LEFT JOIN &#96;l7hr9_hikashop_taxation&#96; hkt ON hkt.tax_vm_id = vmpp.product_tax_id LEFT JOIN &#96;l7hr9_hikashop_category&#96; hkc ON hkc.category_namekey = hkt.category_namekey LEFT JOIN &#96;l7hr9_hikashop_vm_prod&#96; AS hkp ON vmp.virtuemart_product_id = hkp.vm_id WHERE hkp.hk_id IS NULL AND vmp.virtuemart_product_id &gt; 0 GROUP BY vmp.virtuemart_product_id ORDER BY vmp.virtuemart_product_id ASC LIMIT 100;

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

11 years 2 months ago [\#215767](#215767) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Virtuemart Import problem - No product images](/forum/37-import-export-csv-xls/879521-virtuemart-import-problem-no-product-images#215767 "-- url of the page with the problem -- :   www.sombrerobrands.com  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.3 -- Browser(s) name and version -- : Internet Explorer 11 -- Error-message(debug-mod must be tuned on) -- : No error messages  None of the images are being imported into HikaCart from Virtuemart. Permissions are wide open. I see all of the images in the images/com&#95;hikashop/upload directory. Why can't I easily import all of my products? Please help!")*

Hi,

You can redownload HikaShop 2.6.0 ; we create a patch yesterday for that issue.
In the "vm2.php" file, we replaced Code:

'product_code' =&gt; 'case when vmp.product_sku IS NULL or vmp.product_sku="" then MD5(vmp.product_id) else vmp.product_sku end',

into Code:

'product_code' =&gt; 'case when vmp.product_sku IS NULL or vmp.product_sku="" then MD5(vmp.virtuemart_product_id) else vmp.product_sku end',

Otherwise, in your "new" website, I can see one product but I don't know where to look exactly.
Because I don't think that your first product is an imported product from VM.
[ sombrerobrands.com/new/index.php?option=...lf-putter&amp;Itemid=357](http://sombrerobrands.com/new/index.php?option=com_hikashop&ctrl=product&task=show&cid=1&name=klapper-golf-putter&Itemid=357)

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84Nzk1MjEtdmlydHVlbWFydC1pbXBvcnQtcHJvYmxlbS1uby1wcm9kdWN0LWltYWdlcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[tadosborn](/forum/user/33363-tadosborn "View tadosborn's Profile")**
- [![tadosborn's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33363-tadosborn "View tadosborn's Profile") Topic Author
- [ Offline](/forum/user/33363-tadosborn)

Less More

- Posts: 62
- Thank you received: 4
-
-

11 years 2 months ago [\#215812](#215812) by [tadosborn](/forum/user/33363-tadosborn "View tadosborn's Profile")  Replied by *[tadosborn](/forum/user/33363-tadosborn "View tadosborn's Profile")* on topic *[Virtuemart Import problem - No product images](/forum/37-import-export-csv-xls/879521-virtuemart-import-problem-no-product-images#215812 "-- url of the page with the problem -- :   www.sombrerobrands.com  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.3 -- Browser(s) name and version -- : Internet Explorer 11 -- Error-message(debug-mod must be tuned on) -- : No error messages  None of the images are being imported into HikaCart from Virtuemart. Permissions are wide open. I see all of the images in the images/com&#95;hikashop/upload directory. Why can't I easily import all of my products? Please help!")*

I'm still not able to get the import tool to import ANY product images. We have two websites that I need to migrate from VirtueMart and both are unable to import product images. Can someone help?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84Nzk1MjEtdmlydHVlbWFydC1pbXBvcnQtcHJvYmxlbS1uby1wcm9kdWN0LWltYWdlcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[tadosborn](/forum/user/33363-tadosborn "View tadosborn's Profile")**
- [![tadosborn's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33363-tadosborn "View tadosborn's Profile") Topic Author
- [ Offline](/forum/user/33363-tadosborn)

Less More

- Posts: 62
- Thank you received: 4
-
-

11 years 2 months ago [\#215821](#215821) by [tadosborn](/forum/user/33363-tadosborn "View tadosborn's Profile")  Replied by *[tadosborn](/forum/user/33363-tadosborn "View tadosborn's Profile")* on topic *[Virtuemart Import problem - No product images](/forum/37-import-export-csv-xls/879521-virtuemart-import-problem-no-product-images#215821 "-- url of the page with the problem -- :   www.sombrerobrands.com  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.3 -- Browser(s) name and version -- : Internet Explorer 11 -- Error-message(debug-mod must be tuned on) -- : No error messages  None of the images are being imported into HikaCart from Virtuemart. Permissions are wide open. I see all of the images in the images/com&#95;hikashop/upload directory. Why can't I easily import all of my products? Please help!")*

I've purchased CSV Improved in hopes of importing from a csv file, but not having any success there either.
Why don't the images come through? I see lots of these errors while importing:
File already exists "C:\wamp\www\sombrero\images\com_hikashop\upload\/shanks-diagram-670-x-799.jpg" ("C:\wamp\www\sombrero\images/stories/virtuemart/product/shanks-diagram-670-x-799.jpg")

Any assistance would be greatly appreciated.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84Nzk1MjEtdmlydHVlbWFydC1pbXBvcnQtcHJvYmxlbS1uby1wcm9kdWN0LWltYWdlcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[tadosborn](/forum/user/33363-tadosborn "View tadosborn's Profile")**
- [![tadosborn's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33363-tadosborn "View tadosborn's Profile") Topic Author
- [ Offline](/forum/user/33363-tadosborn)

Less More

- Posts: 62
- Thank you received: 4
-
-

11 years 2 months ago -  11 years 2 months ago [\#215840](#215840) by [tadosborn](/forum/user/33363-tadosborn "View tadosborn's Profile")  Replied by *[tadosborn](/forum/user/33363-tadosborn "View tadosborn's Profile")* on topic *[Virtuemart Import problem - No product images](/forum/37-import-export-csv-xls/879521-virtuemart-import-problem-no-product-images#215840 "-- url of the page with the problem -- :   www.sombrerobrands.com  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.3 -- Browser(s) name and version -- : Internet Explorer 11 -- Error-message(debug-mod must be tuned on) -- : No error messages  None of the images are being imported into HikaCart from Virtuemart. Permissions are wide open. I see all of the images in the images/com&#95;hikashop/upload directory. Why can't I easily import all of my products? Please help!")*

Since no one has taken the time to help with this issue, I created a stored procedure in MySQL to import the images from VirtueMart to HikaShop. I'd suggest deleting any product images from the hikashop_file table first. Obviously you will need to change the table prefix to match your table prefix.

I've provided it here for anyone with the same problem:
DELIMITER &#124;
DROP PROCEDURE IF EXISTS import_images &#124;
CREATE PROCEDURE import_images()
BEGIN
DECLARE v_title varchar(100);
DECLARE v_product_id INT;
DECLARE DONE INT DEFAULT 0;
DECLARE flag1 VARCHAR(5) DEFAULT 'START' ;
DECLARE getImages CURSOR FOR SELECT l7hr9_virtuemart_medias.file_title, l7hr9_virtuemart_product_medias.virtuemart_product_id
FROM l7hr9_virtuemart_product_medias
INNER JOIN l7hr9_virtuemart_medias ON l7hr9_virtuemart_product_medias.virtuemart_media_id = l7hr9_virtuemart_medias.virtuemart_media_id;
DECLARE CONTINUE HANDLER FOR NOT FOUND SET flag1 = 'END';

OPEN getImages;
WHILE flag1 &lt;&gt; 'END' DO
FETCH getImages INTO v_title,v_product_id;
IF flag1 &lt;&gt; 'END' THEN
insert into l7hr9_hikashop_file(file_path,file_type,file_ref_id)
VALUES(concat('/',v_title),'product', v_product_id);
END IF;
END WHILE;

CLOSE getImages;

END &#124;
DELIMITER ;

Last edit: 11 years 2 months ago by [tadosborn](/forum/user/33363-tadosborn "View tadosborn's Profile").

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

11 years 2 months ago [\#216050](#216050) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Virtuemart Import problem - No product images](/forum/37-import-export-csv-xls/879521-virtuemart-import-problem-no-product-images#216050 "-- url of the page with the problem -- :   www.sombrerobrands.com  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.3 -- Browser(s) name and version -- : Internet Explorer 11 -- Error-message(debug-mod must be tuned on) -- : No error messages  None of the images are being imported into HikaCart from Virtuemart. Permissions are wide open. I see all of the images in the images/com&#95;hikashop/upload directory. Why can't I easily import all of my products? Please help!")*

Hi,

Thank you for your feedback.
The issue is that VM keeps changing the way they store the images of the products.
Sometimes it's in the file_meta field, sometimes in the file_url field.
So the import system handles these two, but not yet file_title.

I've added some additional code on our end to take into account that field, by adding the code: Code:

if(!$result &amp;&amp; !empty($c-&gt;file_title) ) { $file_name = str_replace('\\','/',$c-&gt;file_title); if( strpos($file_name,'/') !== false ) { $file_name = substr($file_name, strrpos($file_name,'/')); } $result = $this-&gt;copyFile($this-&gt;copyImgDir,$c-&gt;file_title, $this-&gt;options-&gt;uploadfolder.$file_name); if($result){ $meta_files[] = $this-&gt;db-&gt;Quote($c-&gt;file_title); } }

after the code Code:

if( !empty($c-&gt;file_meta) ) { $file_name = str_replace('\\','/',$c-&gt;file_meta); if( strpos($file_name,'/') !== false ) { $file_name = substr($file_name, strrpos($file_name,'/')); } $result = $this-&gt;copyFile($this-&gt;copyImgDir,$c-&gt;file_meta, $this-&gt;options-&gt;uploadfolder.$file_name); if($result){ $meta_files[] = $this-&gt;db-&gt;Quote($c-&gt;file_meta); } }

and changing the code: Code:

'SELECT vmp.virtuemart_product_id, vmm.file_meta, vmm.file_url '.

to: Code:

'SELECT vmp.virtuemart_product_id, vmm.file_meta, vmm.file_url, vmm.file_title '.

in the file administrator/components/com_hikashop/helpers/import/vm.php
Hopefully, that will be enough to support that.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84Nzk1MjEtdmlydHVlbWFydC1pbXBvcnQtcHJvYmxlbS1uby1wcm9kdWN0LWltYWdlcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Sennrox](/forum/user/39062-sennrox "View Sennrox's Profile")**
- [![Sennrox's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/39062-sennrox "View Sennrox's Profile")
- [ Offline](/forum/user/39062-sennrox)

Less More

- Posts: 30
- Thank you received: 0
-
-

11 years 1 month ago [\#216377](#216377) by [Sennrox](/forum/user/39062-sennrox "View Sennrox's Profile")  Replied by *[Sennrox](/forum/user/39062-sennrox "View Sennrox's Profile")* on topic *[Virtuemart Import problem - No product images](/forum/37-import-export-csv-xls/879521-virtuemart-import-problem-no-product-images#216377 "-- url of the page with the problem -- :   www.sombrerobrands.com  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.3 -- Browser(s) name and version -- : Internet Explorer 11 -- Error-message(debug-mod must be tuned on) -- : No error messages  None of the images are being imported into HikaCart from Virtuemart. Permissions are wide open. I see all of the images in the images/com&#95;hikashop/upload directory. Why can't I easily import all of my products? Please help!")*

I got the problem that the url isnt correct. it shows halfways a backslash and a forward slash.

/home/deb55134/domains/onzetoekomst.nl/public_html/bsl/images\/stories\/virtuemart\/product\/MM1007_Dark_Antraciet.jpg

after the images folder it goes wrong... :blink:

how can i fix this ?

i am at the moment using starter, but if i can make this work i am buying the essential version ![:)](/media/kunena/emoticons/3.png ":)")
vm3
joomla 3.4.3
Hikashop 2.6.0

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

11 years 1 month ago [\#216452](#216452) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Virtuemart Import problem - No product images](/forum/37-import-export-csv-xls/879521-virtuemart-import-problem-no-product-images#216452 "-- url of the page with the problem -- :   www.sombrerobrands.com  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.3 -- Browser(s) name and version -- : Internet Explorer 11 -- Error-message(debug-mod must be tuned on) -- : No error messages  None of the images are being imported into HikaCart from Virtuemart. Permissions are wide open. I see all of the images in the images/com&#95;hikashop/upload directory. Why can't I easily import all of my products? Please help!")*

Hi,

Is it possible to know your exact HikaShop build number ?
You can find that information in the HikaShop configuration, in the "main" tab under "advanced" section.

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84Nzk1MjEtdmlydHVlbWFydC1pbXBvcnQtcHJvYmxlbS1uby1wcm9kdWN0LWltYWdlcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Sennrox](/forum/user/39062-sennrox "View Sennrox's Profile")**
- [![Sennrox's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/39062-sennrox "View Sennrox's Profile")
- [ Offline](/forum/user/39062-sennrox)

Less More

- Posts: 30
- Thank you received: 0
-
-

11 years 1 month ago [\#216498](#216498) by [Sennrox](/forum/user/39062-sennrox "View Sennrox's Profile")  Replied by *[Sennrox](/forum/user/39062-sennrox "View Sennrox's Profile")* on topic *[Virtuemart Import problem - No product images](/forum/37-import-export-csv-xls/879521-virtuemart-import-problem-no-product-images#216498 "-- url of the page with the problem -- :   www.sombrerobrands.com  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.3 -- Browser(s) name and version -- : Internet Explorer 11 -- Error-message(debug-mod must be tuned on) -- : No error messages  None of the images are being imported into HikaCart from Virtuemart. Permissions are wide open. I see all of the images in the images/com&#95;hikashop/upload directory. Why can't I easily import all of my products? Please help!")*

This is my hikashop version : HikaShop Starter 2.6.0 [1510051113]

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

11 years 1 month ago [\#216619](#216619) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Virtuemart Import problem - No product images](/forum/37-import-export-csv-xls/879521-virtuemart-import-problem-no-product-images#216619 "-- url of the page with the problem -- :   www.sombrerobrands.com  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.3 -- Browser(s) name and version -- : Internet Explorer 11 -- Error-message(debug-mod must be tuned on) -- : No error messages  None of the images are being imported into HikaCart from Virtuemart. Permissions are wide open. I see all of the images in the images/com&#95;hikashop/upload directory. Why can't I easily import all of my products? Please help!")*

Hi,

Okay so you have the latest patch except the patch Nicolas gave in that thread 5 days ago.
Did you applied that patch .

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84Nzk1MjEtdmlydHVlbWFydC1pbXBvcnQtcHJvYmxlbS1uby1wcm9kdWN0LWltYWdlcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Sennrox](/forum/user/39062-sennrox "View Sennrox's Profile")**
- [![Sennrox's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/39062-sennrox "View Sennrox's Profile")
- [ Offline](/forum/user/39062-sennrox)

Less More

- Posts: 30
- Thank you received: 0
-
-

11 years 1 month ago [\#216624](#216624) by [Sennrox](/forum/user/39062-sennrox "View Sennrox's Profile")  Replied by *[Sennrox](/forum/user/39062-sennrox "View Sennrox's Profile")* on topic *[Virtuemart Import problem - No product images](/forum/37-import-export-csv-xls/879521-virtuemart-import-problem-no-product-images#216624 "-- url of the page with the problem -- :   www.sombrerobrands.com  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.3 -- Browser(s) name and version -- : Internet Explorer 11 -- Error-message(debug-mod must be tuned on) -- : No error messages  None of the images are being imported into HikaCart from Virtuemart. Permissions are wide open. I see all of the images in the images/com&#95;hikashop/upload directory. Why can't I easily import all of my products? Please help!")*

Yes i have tried replacing the code, which didnt solved the problem with importing the product images.
It also didnt import the products, is the image related to the products? So that if the image upload fails the products wont be imported either?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84Nzk1MjEtdmlydHVlbWFydC1pbXBvcnQtcHJvYmxlbS1uby1wcm9kdWN0LWltYWdlcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Sennrox](/forum/user/39062-sennrox "View Sennrox's Profile")**
- [![Sennrox's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/39062-sennrox "View Sennrox's Profile")
- [ Offline](/forum/user/39062-sennrox)

Less More

- Posts: 30
- Thank you received: 0
-
-

11 years 1 month ago [\#217130](#217130) by [Sennrox](/forum/user/39062-sennrox "View Sennrox's Profile")  Replied by *[Sennrox](/forum/user/39062-sennrox "View Sennrox's Profile")* on topic *[Virtuemart Import problem - No product images](/forum/37-import-export-csv-xls/879521-virtuemart-import-problem-no-product-images#217130 "-- url of the page with the problem -- :   www.sombrerobrands.com  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.3 -- Browser(s) name and version -- : Internet Explorer 11 -- Error-message(debug-mod must be tuned on) -- : No error messages  None of the images are being imported into HikaCart from Virtuemart. Permissions are wide open. I see all of the images in the images/com&#95;hikashop/upload directory. Why can't I easily import all of my products? Please help!")*

Is there any progress in the virtuemart import problem with the product images ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84Nzk1MjEtdmlydHVlbWFydC1pbXBvcnQtcHJvYmxlbS1uby1wcm9kdWN0LWltYWdlcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Sennrox](/forum/user/39062-sennrox "View Sennrox's Profile")**
- [![Sennrox's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/39062-sennrox "View Sennrox's Profile")
- [ Offline](/forum/user/39062-sennrox)

Less More

- Posts: 30
- Thank you received: 0
-
-

11 years 1 month ago [\#217416](#217416) by [Sennrox](/forum/user/39062-sennrox "View Sennrox's Profile")  Replied by *[Sennrox](/forum/user/39062-sennrox "View Sennrox's Profile")* on topic *[Virtuemart Import problem - No product images](/forum/37-import-export-csv-xls/879521-virtuemart-import-problem-no-product-images#217416 "-- url of the page with the problem -- :   www.sombrerobrands.com  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.3 -- Browser(s) name and version -- : Internet Explorer 11 -- Error-message(debug-mod must be tuned on) -- : No error messages  None of the images are being imported into HikaCart from Virtuemart. Permissions are wide open. I see all of the images in the images/com&#95;hikashop/upload directory. Why can't I easily import all of my products? Please help!")*

Hey, i have never worked with stored procedures.
How can i use this ?
Is this something i load into PHPmyAdmin ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84Nzk1MjEtdmlydHVlbWFydC1pbXBvcnQtcHJvYmxlbS1uby1wcm9kdWN0LWltYWdlcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[tadosborn](/forum/user/33363-tadosborn "View tadosborn's Profile")**
- [![tadosborn's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33363-tadosborn "View tadosborn's Profile") Topic Author
- [ Offline](/forum/user/33363-tadosborn)

Less More

- Posts: 62
- Thank you received: 4
-
-

11 years 2 weeks ago [\#221263](#221263) by [tadosborn](/forum/user/33363-tadosborn "View tadosborn's Profile")  Replied by *[tadosborn](/forum/user/33363-tadosborn "View tadosborn's Profile")* on topic *[Virtuemart Import problem - No product images](/forum/37-import-export-csv-xls/879521-virtuemart-import-problem-no-product-images#221263 "-- url of the page with the problem -- :   www.sombrerobrands.com  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.3 -- Browser(s) name and version -- : Internet Explorer 11 -- Error-message(debug-mod must be tuned on) -- : No error messages  None of the images are being imported into HikaCart from Virtuemart. Permissions are wide open. I see all of the images in the images/com&#95;hikashop/upload directory. Why can't I easily import all of my products? Please help!")*

I just had to create a new stored procedure to import images because the import script failed to import ANY images. The version of VirtueMart had put the images in a different location (table and file location). Here is the stored procedure that you can adapt to your install to get the images imported:
DELIMITER $$
CREATE DEFINER=&#96;root&#96;@&#96;localhost&#96; PROCEDURE &#96;import_images&#96;()
BEGIN
DECLARE v_title varchar(100);
DECLARE v_product_id INT;
DECLARE v_hika_product_id INT;
DECLARE v_new_image varchar(100);
DECLARE DONE INT DEFAULT 0;
DECLARE flag1 VARCHAR(5) DEFAULT 'START' ;
DECLARE getImages CURSOR FOR SELECT
xn39k_virtuemart_product_medias.virtuemart_product_id,
xn39k_hikashop_vm_prod.hk_id,
xn39k_virtuemart_medias.file_url
FROM
xn39k_virtuemart_product_medias
INNER JOIN xn39k_virtuemart_medias ON xn39k_virtuemart_product_medias.virtuemart_media_id = xn39k_virtuemart_medias.virtuemart_media_id
INNER JOIN xn39k_hikashop_vm_prod ON xn39k_hikashop_vm_prod.vm_id = xn39k_virtuemart_product_medias.virtuemart_product_id;

DECLARE CONTINUE HANDLER FOR NOT FOUND SET flag1 = 'END';

OPEN getImages;
WHILE flag1 &lt;&gt; 'END' DO
FETCH getImages INTO v_product_id,v_hika_product_id, v_title;
IF flag1 &lt;&gt; 'END' THEN
-- find image name
SET v_new_image = substring_index(v_title,'/',-1);
insert into xn39k_hikashop_file(file_path,file_type,file_ref_id)
VALUES(concat('/',v_new_image),'product', v_hika_product_id);
END IF;
END WHILE;

CLOSE getImages;

END$$
DELIMITER ;

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

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