Replying to [djazayeri|comment:6]:
> Hi Malawi,
>
> What does the 'location' table in your production 1.4 database look like? Does it have a parent_location_id column?
>
> Are you using a location hierarchy module of some sort?
>
> -Darius
Our location table does have a parent_location_id column:
| retire_reason |
varchar(255) |
YES |
|
NULL |
|
| parent_location_id |
int(11) |
YES |
MUL |
NULL |
|
| location_type_id |
int(11) |
YES |
MUL |
NULL |
|
------------------------------------------------------------------------+
I don't think we are using a location hierarchy right now, although Jeff and I had discussed it. We would like to move to using one though.
ew
Justin, can you get this error again and then do a "show innodb status" on the mysql command line? It should give the (more helpful) foreign key error in that output somewhere.