Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2005
    Location
    Manchester ~ UK
    Posts
    130
    Plugin Contributions
    0

    Default Paypal module will not uninstall and re-install

    Hello, the Paypal module on a clients website will not uninstall or reinstall itself, in fact all of the payment modules will not do this on this installation.

    The zencart was installed for the client via fantastico on his C-Panel.

    When clicking on the uninstall or reinstall modules buttons, the site is getting the following errors:

    1062 Duplicate entry 'MODULE_PAYMENT_PAYPAL_STATUS' for key 2
    in:
    [insert into zen_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Enable PayPal Module', 'MODULE_PAYMENT_PAYPAL_STATUS', 'True', 'Do you want to accept PayPal payments?', '6', '0', 'zen_cfg_select_option(array(\'True\', \'False\'), ', now())]
    If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

    and this one for the credit card module:

    1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'If an email address is entered, the middle digits of the credit card number will' at line 1
    in:
    [insert into zen_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Split Credit Card Email Address', 'MODULE_PAYMENT_CC_EMAIL', '\', 'If an email address is entered, the middle digits of the credit card number will be sent to the email address (the outside digits are stored in the database with the middle digits censored)', '6', '131', now())]
    If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

    Please can anyone help with this?

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Paypal module will not uninstall and re-install

    You can manually remove the paypal module by running this SQL:
    Code:
    delete from configuration where configuration_key like 'MODULE_PAYMENT_PAYPAL_%';
    (change delete from configuration to delete from zen_configuration for this client)
    .

    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
    Feb 2005
    Location
    Manchester ~ UK
    Posts
    130
    Plugin Contributions
    0

    Default Re: Paypal module will not uninstall and re-install

    Thanks Dr Byte, seems it was a Mysql version conflict with the code.

  4. #4
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: Paypal module will not uninstall and re-install

    Note: For future reference, since it has not been mentionned where DrByte's modifications has to be executed, it is under the admin - > tools - > Install SQL Patches.

 

 

Similar Threads

  1. Install file will not run
    By brush4hire in forum Installing on a Linux/Unix Server
    Replies: 17
    Last Post: 9 Jan 2010, 07:10 PM
  2. Simply will not install
    By Suzanne1973 in forum Installing on a Windows Server
    Replies: 7
    Last Post: 18 Sep 2009, 10:13 AM
  3. Paypal Module will not Uninstall
    By Volkeman in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 2 Jun 2006, 12:18 AM
  4. Modules will not install
    By rmjr in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 11 May 2006, 08:04 PM

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