Zen Cart Logo
Forums / Installing on a Windows Server / 1217 Cannot delete or update

1217 Cannot delete or update

Locked

Views: 2,218

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
22 Jan 2009, 3:40 AM
#1
tsweany avatar

tsweany

New Zenner

Join Date:
Jan 2009
Posts:
1
Plugin Contributions:
0

1217 Cannot delete or update

Using the latest version of Zen Cart, I am trying to install on WAMP 5 however I am getting the following error message. Please advise:

"1217 Cannot delete or update a parent row: a foreign key constraint fails
in:
[DROP TABLE IF EXISTS categories;]"

22 Jan 2009, 4:23 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: 1217 Cannot delete or update

Zen Cart out-of-the-box does not use any foreign key constraints.
You'll have to undo whatever you've done to add foreign key constraints if you want to proceed with whatever you're trying to do that shows that error.

27 Apr 2009, 9:05 AM
#3
erniethemilk avatar

erniethemilk

New Zenner

Join Date:
Nov 2007
Posts:
20
Plugin Contributions:
0

Re: 1217 Cannot delete or update

I'm getting this same error message.

All I've done is upload the files and run the installer!

Any clues anyone?

27 Apr 2009, 9:10 AM
#4
erniethemilk avatar

erniethemilk

New Zenner

Join Date:
Nov 2007
Posts:
20
Plugin Contributions:
0

Re: 1217 Cannot delete or update

Please ignore, found the answer! :blink::smile: