Hi,
when I try to update the available fields, I get an error - see attachement.
This is in the live-version. I have J2Commerce, on Joomla 5.4.2
Everything is up-to-date.
Any ideas?
Thanks
Sigrid
- seagul
- RO CSVI
- Friday, 23 January 2026
- Subscribe via email
Attachments (1)
0
Accepted Answer
Pending Moderation
Hi Sigrid,
That is really weird. I cannot reproduce it in anyway I try. Removing that line from the database doesn't help because we already empty the table before it starts. Could you post the login details for the site and (S)FTP access please? I will take a look to see what is going on.
That is really weird. I cannot reproduce it in anyway I try. Removing that line from the database doesn't help because we already empty the table before it starts. Could you post the login details for the site and (S)FTP access please? I will take a look to see what is going on.
Kind regards,
RolandD
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
RolandD
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Accepted Answer
Pending Moderation
Hi Sigrid,
With attached patch file we removed duplicate entry of orderitem field in J2Commerce. That is the same file Roland told you to edit. Please load the attached patch file and run the update of available fields. Check if that solves the error.
With attached patch file we removed duplicate entry of orderitem field in J2Commerce. That is the same file Roland told you to edit. Please load the attached patch file and run the update of available fields. Check if that solves the error.
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
Hi Sigrid,
Yes remove entries from the table and edit the file Roland mentioned in his reply and run the update of available fields again. See if that solves the error.
Can I remove entries manually from the table?
Yes remove entries from the table and edit the file Roland mentioned in his reply and run the update of available fields again. See if that solves the error.
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
no, it is still not workting.
error:
An error occurred running the query ALTER TABLE `t2cap_csvi_availabletables` ADD unique INDEX `type_name` (`task_name`,`template_table`,`component`,`action`);. This generates the error Duplicate entry 'orderitem-j2store_orderitemattributes-com_j2store-import' for key 'type_name'
Can I remove entries manually from the table?
error:
An error occurred running the query ALTER TABLE `t2cap_csvi_availabletables` ADD unique INDEX `type_name` (`task_name`,`template_table`,`component`,`action`);. This generates the error Duplicate entry 'orderitem-j2store_orderitemattributes-com_j2store-import' for key 'type_name'
Can I remove entries manually from the table?
Accepted Answer
Pending Moderation
Hi Sigrid,
The error happens because the update tries to insert a second entry into the csvi_availabletables table. The entry is where task name is orderitem, template_table is j2store_orderitemattributes, component is com_j2store, and action is import.
Now I looked and see there is a duplicate entry in the file plugins/csviaddon/j2store/com_j2store/install/tasks.sql. If you edit that file and remove the line 47 and save the file. After that you should be able to update the list of available fields again.
Let us know how it goes.
The error happens because the update tries to insert a second entry into the csvi_availabletables table. The entry is where task name is orderitem, template_table is j2store_orderitemattributes, component is com_j2store, and action is import.
Now I looked and see there is a duplicate entry in the file plugins/csviaddon/j2store/com_j2store/install/tasks.sql. If you edit that file and remove the line 47 and save the file. After that you should be able to update the list of available fields again.
Let us know how it goes.
Kind regards,
RolandD
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
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!
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 »