Hello,
Have anyone an idea what is the problem here?
Status error: 200
Status message: OK
Warning: strstr(): Empty needle in ....../plugins/csviaddon/virtuemart/com_virtuemart/table/productprice.php on line 152 {"error":true,"process":false,"url":"administrator\/index.php?option=com_csvi&view=imports","message":"Duplicate entry '0' for key 'PRIMARY'"}
Many thanks
- owegen
- RO CSVI
- Tuesday, 05 November 2019
- Subscribe via email
0
Accepted Answer
Pending Moderation
hello, I made the changes, now it work as expected. Many thanks :-)
Accepted Answer
Pending Moderation
Hello,
Yes and that is the reason images are not imported for products. Are the images placed in the given location on your server?
The error shows that RO CSVI is not able to find the images in the location and so it is not able to link it to the product.
Yes and that is the reason images are not imported for products. Are the images placed in the given location on your server?
/home/httpd/vhosts/lemusse.ch/2020.fabien-bike.ch/images/stories/virtuemart/product
The error shows that RO CSVI is not able to find the images in the location and so it is not able to link it to the product.
Kind regards,
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Accepted Answer
Pending Moderation
Hello,
Can you post the debug log of your product import to check? To get the debug log check How to collect debug information? document.
For categories, you need to use VirtueMart Categories import operation to import images and by using file_url field. VirtueMart Product import will only import images for a product.
One last problem: I don't see any Image for article and categories.
Can you post the debug log of your product import to check? To get the debug log check How to collect debug information? document.
For categories, you need to use VirtueMart Categories import operation to import images and by using file_url field. VirtueMart Product import will only import images for a product.
Kind regards,
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Accepted Answer
Pending Moderation
I think I found the problem. Now the import template is correct and I can see the right category name and the articles inside the categories with right price.
One last problem: I don't see any Image for article and categories.
One last problem: I don't see any Image for article and categories.
Accepted Answer
Pending Moderation
Hello, I made the changes to be correct with my import files. But I become an error, the same as before.
Can you take a look at the new xml file?
Can you take a look at the new xml file?
Attachments (1)
Accepted Answer
Pending Moderation
You need to place custom_title field in the right place in your template fields and run the import again.
can you tell me where? I'm sorry, I'm beginner with this tool and need your assistance
Attachments (1)
Accepted Answer
Pending Moderation
it looks like the product price is imported as the category_path (name)
Attachments (2)
Accepted Answer
Pending Moderation
hello,
I see the categories (and the articles inside), but the categories become a number as category name
I see the categories (and the articles inside), but the categories become a number as category name
Attachments (2)
Accepted Answer
Pending Moderation
Hello Raphael,
Do you mean that you are not seeing the imported products on VirtueMart Products page? Can you post a screenshot on what you have on VirtueMart Products page?
It is because of order of your template fields. You have added custom_title field in place of category_path and so the fields are messed up. product_price field has been used as category_path. You need to place custom_title field in the right place in your template fields and run the import again.
But I don't see any visible article in Virtuemart.
Do you mean that you are not seeing the imported products on VirtueMart Products page? Can you post a screenshot on what you have on VirtueMart Products page?
something is strange with the new created categories
It is because of order of your template fields. You have added custom_title field in place of category_path and so the fields are messed up. product_price field has been used as category_path. You need to place custom_title field in the right place in your template fields and run the import again.
Kind regards,
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Accepted Answer
Pending Moderation
something is strange with the new created categories
Attachments (1)
Accepted Answer
Pending Moderation
hello, I made this change. Import seems to work now.
But I don't see any visible article in Virtuemart.
Can you help me?
But I don't see any visible article in Virtuemart.
Can you help me?
Accepted Answer
Pending Moderation
Hello Raphael,
I checked your template and you still have manufacturer_id in the template fields. You need to replace manufacturer_id with Skip field. Check attached screenshot. Please try import after that.
I checked your template and you still have manufacturer_id in the template fields. You need to replace manufacturer_id with Skip field. Check attached screenshot. Please try import after that.
Attachments (1)
Kind regards,
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Accepted Answer
Pending Moderation
Hello,
Before i look into your site, can you send me your template XML file? To get your template XML file, in CSVI maintenance menu select CSVI Pro on first option, backup templates on second option, select your template and download the XML file. Post the XML file so i can check it.
Before i look into your site, can you send me your template XML file? To get your template XML file, in CSVI maintenance menu select CSVI Pro on first option, backup templates on second option, select your template and download the XML file. Post the XML file so i can check it.
Kind regards,
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Accepted Answer
Pending Moderation
Hello, I did it (set Use file for configuration as No) but still the same error. Maybe the best way is I give you the access to administration?
Accepted Answer
Pending Moderation
Hello,
You need to add template fields for your template in the order of column headers as in your import file. Check Adding template fields document to know on how to add template fields. For manufacturer_id you need to add Skip as the template field so RO CSVI will skip this column on import. Also in your import template settings on File tab set Use file for configuration as No so RO CSVI will use the template fields as headers and not the column headers from the import file. Let me know if you need any more clarification.
You need to add template fields for your template in the order of column headers as in your import file. Check Adding template fields document to know on how to add template fields. For manufacturer_id you need to add Skip as the template field so RO CSVI will skip this column on import. Also in your import template settings on File tab set Use file for configuration as No so RO CSVI will use the template fields as headers and not the column headers from the import file. Let me know if you need any more clarification.
Kind regards,
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Accepted Answer
Pending Moderation
hello,
ok I can try. But can you explain me how I can skip the manufacturer_id field?
Thanks
ok I can try. But can you explain me how I can skip the manufacturer_id field?
Thanks
Accepted Answer
Pending Moderation
Hello,
I was able to reproduce this error with your file and that is because of manufacturer_id field. The entries for manufacturer_id which is the primary key field of manufacturers table goes as 0 in the database and so the error. I see that you have both manufacturer_id and manufacturer_name in your file. You can skip the use of manufacturer_id field in your import, RO CSVI will create manufacturer using manufacturer_name. If there is an existing record with same manufacturer_name, the row will be updated else a new manufacturer row will be created. Can you skip the manufacturer_id field and see how the import goes?
I was able to reproduce this error with your file and that is because of manufacturer_id field. The entries for manufacturer_id which is the primary key field of manufacturers table goes as 0 in the database and so the error. I see that you have both manufacturer_id and manufacturer_name in your file. You can skip the use of manufacturer_id field in your import, RO CSVI will create manufacturer using manufacturer_name. If there is an existing record with same manufacturer_name, the row will be updated else a new manufacturer row will be created. Can you skip the manufacturer_id field and see how the import goes?
Kind regards,
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
- Page :
- 1
- 2
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here. Register Here »