# Kann keine Kategorie anlegen

**URL:** <https://forum.shopware.com/t/kann-keine-kategorie-anlegen/12759>\
**Category:** Shopware 3.5\
**Tags:** administration\
**Created:** [17. April 2013 um 23:24 UTC](https://forum.shopware.com/t/kann-keine-kategorie-anlegen/12759 "2013-04-17T23:24:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![au\_lait](https://avatars.discourse-cdn.com/v4/letter/a/82dd89/32.png) [@au\_lait](https://forum.shopware.com/u/au_lait)\
**Post date:** [17. April 2013 um 23:24 UTC](https://forum.shopware.com/t/kann-keine-kategorie-anlegen/12759/1 "2013-04-17T23:24:41Z")

</div>

Frisch installiertes shopware mit importierten Daten aus XTC mit dem Migrationstool [quote]Kategorie wurde nicht gespeichert. SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`shopware`.`s_categories_attributes`, CONSTRAINT `s_categories_attributes_ibfk_1` FOREIGN KEY (`categoryID`) REFERENCES `s_categories_bck` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION)[/quote] Tja was nun?! 😉

---

<div class="post-metadata">

**Author:** ![SebastianKloepper](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/sebastiankloepper/32/21435_2.png) [@SebastianKloepper](https://forum.shopware.com/u/SebastianKloepper)\
**Post date:** [18. April 2013 um 08:08 UTC](https://forum.shopware.com/t/kann-keine-kategorie-anlegen/12759/2 "2013-04-18T08:08:43Z")

</div>

Hi, da scheint an einer Stelle eine falsche Verknüpfung vorzuliegen. Kannst du einmal bitte zur Sicherheit die Foreign Keys reparieren? [http://wiki.shopware.de/Foreign-Keys-re … l\_954.html](http://wiki.shopware.de/Foreign-Keys-reparieren%5C_detail%5C_954.html)

---

<div class="post-metadata">

**Author:** ![au\_lait](https://avatars.discourse-cdn.com/v4/letter/a/82dd89/32.png) [@au\_lait](https://forum.shopware.com/u/au_lait)\
**Post date:** [18. April 2013 um 08:57 UTC](https://forum.shopware.com/t/kann-keine-kategorie-anlegen/12759/3 "2013-04-18T08:57:11Z")

</div>

Vielen Dank war erfolgreich!
