If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / 1062 Duplicate entry 'MODULE_PAYMENT_EBS_SORT_ORDER' for key 2

1062 Duplicate entry 'MODULE_PAYMENT_EBS_SORT_ORDER' for key 2

Started by crashxtrme on 2 Jun 2012, 4:41 PM · Views: 453

Results 1 to 4 of 4
2 Jun 2012, 4:41 PM
#1
crashxtrme avatar

crashxtrme

New Zenner

Join Date:
Mar 2012
Posts:
17
Plugin Contributions:
0

1062 Duplicate entry 'MODULE_PAYMENT_EBS_SORT_ORDER' for key 2

Hi I am new to zen cart,

Today I was installing a new payment module and ran into this problem.

1062 Duplicate entry 'MODULE_PAYMENT_EBS_SORT_ORDER' for key 2
in:
[insert into zen_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Sort order of display', 'MODULE_PAYMENT_EBS_SORT_ORDER', '0', 'Sort order of display. Lowest is displayed first.', '6', '2', now())]

This error pops up whenever i try installing the module.

Thank You

2 Jun 2012, 5:30 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: 1062 Duplicate entry 'MODULE_PAYMENT_EBS_SORT_ORDER' for key 2

That's because you've already got traces of the module installed in your site.

I suspect the module doesn't have a proper uninstall process, and thus leaves remnants behind, preventing you from re-installing it.

Try running this via Admin->Tools->Install SQL Patch:```
delete from configuration where configuration_key like 'MODULE_PAYMENT_EBS_%';

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

3 Jun 2012, 5:45 AM
#3
crashxtrme avatar

crashxtrme

New Zenner

Join Date:
Mar 2012
Posts:
17
Plugin Contributions:
0

Re: 1062 Duplicate entry 'MODULE_PAYMENT_EBS_SORT_ORDER' for key 2

Thanks a lot.

3 Jun 2012, 7:13 PM
#4
crashxtrme avatar

crashxtrme

New Zenner

Join Date:
Mar 2012
Posts:
17
Plugin Contributions:
0

Re: 1062 Duplicate entry 'MODULE_PAYMENT_EBS_SORT_ORDER' for key 2

Can you please help me creating a order total module for ebs 2.5.php

Thanks in advance