Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2012
    Posts
    17
    Plugin Contributions
    0

    bug 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. #2
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default 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:
    Code:
    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. #3
    Join Date
    Mar 2012
    Posts
    17
    Plugin Contributions
    0

    Default Re: 1062 Duplicate entry 'MODULE_PAYMENT_EBS_SORT_ORDER' for key 2

    Thanks a lot.

  4. #4
    Join Date
    Mar 2012
    Posts
    17
    Plugin Contributions
    0

    Default 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

 

 

Similar Threads

  1. 1062 Duplicate entry '1-1' for key 1
    By spooky130 in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 18 Jun 2011, 05:33 AM
  2. 1062 Duplicate entry '0' for key 1
    By FredZ in forum General Questions
    Replies: 4
    Last Post: 3 May 2010, 02:32 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR