Ошибка
Добавлено: 18 май 2011, 16:08
Помогите починить
И вот такая ещё
Код: Выделить всё
Cannot add or update a child row: a foreign key constraint fails (`nova`.`sn_alliance_negotiation`, CONSTRAINT `FK_negotiation_ally_name` FOREIGN KEY (`alliance_negotiation_ally_name`) REFERENCES `sn_alliance` (`ally_name`) ON DELETE CASCADE ON UPDATE CASCAD)
INSERT INTO sn_alliance_negotiation SET `alliance_negotiation_ally_id` = '49', `alliance_negotiation_ally_name` = 'Одинокий Бандит', `alliance_negotiation_contr_ally_id` = 29, `alliance_negotiation_contr_ally_name` = '-=Sопротивление=-', `alliance_negotiation_relation` = 'peace', `alliance_negotiation_time` = 1306123774, `alliance_negotiation_propose` = '', `alliance_negotiation_status` = 0
И вот такая ещё
Код: Выделить всё
Cannot add or update a child row: a foreign key constraint fails (`nova`.`sn_alliance_diplomacy`, CONSTRAINT `FK_diplomacy_contr_ally_name` FOREIGN KEY (`alliance_diplomacy_contr_ally_name`) REFERENCES `sn_alliance` (`ally_name`) ON DELETE CASCADE ON UPDATE )
INSERT INTO sn_alliance_diplomacy SET `alliance_diplomacy_ally_id` = '29', `alliance_diplomacy_contr_ally_id` = '49', `alliance_diplomacy_contr_ally_name` = 'Одинокий Бандит', `alliance_diplomacy_relation` = 'peace', `alliance_diplomacy_time` = 1306122495