Zen Cart Logo

Sql Patch

Locked

Views: 2,457

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
30 Apr 2009, 2:43 AM
#1
astarkley avatar

astarkley

New Zenner

Join Date:
Nov 2006
Posts:
72
Plugin Contributions:
0

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. :blink:

30 Apr 2009, 9:16 AM
#2
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

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

2 May 2009, 2:01 AM
#3
astarkley avatar

astarkley

New Zenner

Join Date:
Nov 2006
Posts:
72
Plugin Contributions:
0

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.:blink:

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);

2 May 2009, 2:38 AM
#4
kim avatar

kim

Obaa-san

Join Date:
Jun 2003
Posts:
26,594
Plugin Contributions:
0

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.

2 May 2009, 4:34 AM
#5
astarkley avatar

astarkley

New Zenner

Join Date:
Nov 2006
Posts:
72
Plugin Contributions:
0

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.:no: