1. owegen
  2. RO CSVI
  3. Tuesday, 05 November 2019
  4.  Subscribe via email
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
Accepted Answer Pending Moderation
hello, I made the changes, now it work as expected. Many thanks :-)
  1. more than a month ago
  2. RO CSVI
  3. # 1
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?

/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
  1. more than a month ago
  2. RO CSVI
  3. # 2
Accepted Answer Pending Moderation
please take a look at this error
Attachments (1)
  1. more than a month ago
  2. RO CSVI
  3. # 3
Accepted Answer Pending Moderation
Hello,
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
  1. more than a month ago
  2. RO CSVI
  3. # 4
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.
  1. more than a month ago
  2. RO CSVI
  3. # 5
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?
Attachments (1)
  1. more than a month ago
  2. RO CSVI
  3. # 6
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)
  1. more than a month ago
  2. RO CSVI
  3. # 7
Accepted Answer Pending Moderation
it looks like the product price is imported as the category_path (name)
Attachments (2)
  1. more than a month ago
  2. RO CSVI
  3. # 8
Accepted Answer Pending Moderation
category name should be something like that
Attachments (1)
  1. more than a month ago
  2. RO CSVI
  3. # 9
Accepted Answer Pending Moderation
hello,

I see the categories (and the articles inside), but the categories become a number as category name
Attachments (2)
  1. more than a month ago
  2. RO CSVI
  3. # 10
Accepted Answer Pending Moderation
Hello Raphael,
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
  1. more than a month ago
  2. RO CSVI
  3. # 11
Accepted Answer Pending Moderation
something is strange with the new created categories
Attachments (1)
  1. more than a month ago
  2. RO CSVI
  3. # 12
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?
  1. more than a month ago
  2. RO CSVI
  3. # 13
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.
Attachments (1)
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 14
Accepted Answer Pending Moderation
please find the xml

Kind regards
Raphael
Attachments (1)
  1. more than a month ago
  2. RO CSVI
  3. # 15
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.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 16
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?
  1. more than a month ago
  2. RO CSVI
  3. # 17
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.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 18
Accepted Answer Pending Moderation
hello,

ok I can try. But can you explain me how I can skip the manufacturer_id field?

Thanks
  1. more than a month ago
  2. RO CSVI
  3. # 19
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?
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 20
  • Page :
  • 1
  • 2


There are no replies made for this post yet.
Be one of the first to reply to this post!