Thread: Sql Patch

Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2006
    Posts
    76
    Plugin Contributions
    0

    Default Sql Patch

    How do you install an Sql patch. I have been trying to install the login as customer modual and ad customer from admin for a year and can't get it to work. I had the modual instaled by my hosting company once and it works but I'd like to be able to do it myself.

  2. #2
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Sql Patch

    in admin

    Tools / install SQL patches

    here you have two option , either upload the sql file for it being process by zc or copy past the sql command from the file

  3. #3
    Join Date
    Nov 2006
    Posts
    76
    Plugin Contributions
    0

    Default Re: Sql Patch

    I tried to install the sql patch as you instructed but I get an error message:
    Failed: 1 ERROR: Cannot insert configuration_key "MASTER_PASS" because it already exists
    Note: 1 statements ignored. See "upgrade_exceptions" table for additional details.

    Below is the file I'm attempting to insert.


    INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('Master Password', 'MASTER_PASS', 'yourpassword', 'This password will allow you to login to any customer\'s account.', 1, 23, now(), now(), NULL, NULL);

  4. #4
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: Sql Patch

    ERROR: Cannot insert configuration_key "MASTER_PASS" because it already exists
    The error code is self-explanatory - It is telling you it is already in the database.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  5. #5
    Join Date
    Nov 2006
    Posts
    76
    Plugin Contributions
    0

    Default Re: Sql Patch

    Yes but the modual (add customers from admin) just won't seem to function. The add customer button will not show up in admin under the customer box. I also noticed that when I had my hosting company install the mod in a seperate instance of zen-cart the sql file shows the data base #. When I try to install the mod I don't get that file to show up. I host with site ground and my version of zen cart is 1.3.8. I am using the default template on a fresh install of zen-cart to attempt this; so far without sucsess.

 

 

Similar Threads

  1. v139h Upload SQL Patch via phpMyAdmin in MySQL INSTEAD OF Amin-Tools-Install AQL patch ????
    By shags38 in forum Customization from the Admin
    Replies: 11
    Last Post: 20 Aug 2012, 04:19 AM
  2. v139h DB/SQL Error when using SQL Patch for Add Pages More Info Sidebox addon
    By maperr55 in forum All Other Contributions/Addons
    Replies: 6
    Last Post: 5 Mar 2012, 09:32 PM
  3. SQL Patch
    By tstanley in forum General Questions
    Replies: 1
    Last Post: 7 Nov 2010, 07:02 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