1. alkoto.com
  2. Pre-sale questions
  3. Thursday, 25 December 2025
  4.  Subscribe via email
Hello at all,

i have Joomla 5.x and Virtuemart 4.x and i like export/import Virtuemart Procucts from one to another shop, the shops are very similar.

But i get this error after importing:
Duplicate entry '0' for key 'PRIMARY'

Can anyone help me what can i do or how can i fix this problem? Thanks Thomas
Accepted Answer Pending Moderation
Hi Thomas,

This is the pre-sale question section and your question is not a pre-sale question, your subscription has also expired so therefore we no longer provide support. If you wish to receive further support, please activate your subscription. However I will give you some info of what might be going on.

Your question is also quite vague so I can only give you some general advice. The error you see is because the value 0 is being imported into a database field that is of the type PRIMARY. This means all values must be unique, you are importing a second entry with the value 0, that is why you get this error.

Check your imports for any ones that may be using the id field but have no value in them, that might be causing it.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
Guest
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,jpeg,zip,rar,pdf,csv,txt,tsv,xml,docx,doc,xls,xlsx,ods,tgz
• Insert • Remove Upload Files (Maximum File Size: 4 MB)
In this section you can provide your site details at here and it visible to the moderators only.