# Fehler Shopmigration

**URL:** <https://forum.shopware.com/t/fehler-shopmigration/32994>\
**Category:** Plugins\
**Tags:** offizielle-shopware-\
**Created:** [14. Dezember 2015 um 12:05 UTC](https://forum.shopware.com/t/fehler-shopmigration/32994 "2015-12-14T12:05:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lousilver](https://avatars.discourse-cdn.com/v4/letter/l/4da419/32.png) [@Lousilver](https://forum.shopware.com/u/Lousilver)\
**Post date:** [14. Dezember 2015 um 12:05 UTC](https://forum.shopware.com/t/fehler-shopmigration/32994/1 "2015-12-14T12:05:19Z")

</div>

Liebe Community Gemeinde, Aktuell sind wir dabei den Shop von Magento zu Shopware zu migrieren, dabei bekommen wir immer kurz vor Abschluss folgenden Fehler. [code]

**Beim Importieren der Kategorien ist ein Fehler aufgetreten**

**Code** : 42  
**Line** : 234  
**File** : /var/www/virtual/dampfalarm.net/htdocs/engine/Library/Zend/Db/Statement/Pdo.php

**Error** : SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘magento\_db.catalog\_category\_flat\_store\_1’ doesn’t exist  
**Trace** : #0 /var/www/virtual/dampfalarm.net/htdocs/engine/Library/Zend/Db/Statement.php(303): Zend\_Db\_Statement\_Pdo-\>\_execute(Array) #1 /var/www/virtual/dampfalarm.net/htdocs/engine/Library/Zend/Db/Adapter/Abstract.php(480): Zend\_Db\_Statement-\>execute(Array) #2 /var/www/virtual/dampfalarm.net/htdocs/engine/Library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend\_Db\_Adapter\_Abstract-\>query(’(\n\t\t\t\tSELECT\n\t\t…’, Array) #3 /var/www/virtual/dampfalarm.net/htdocs/engine/Library/Enlight/Components/Db/Adapter/Pdo/Mysql.php(75): Zend\_Db\_Adapter\_Pdo\_Abstract-\>query(’(\n\t\t\t\tSELECT\n\t\t…’, Array) #4 /var/www/virtual/dampfalarm.net/htdocs/engine/Shopware/Plugins/Community/Backend/SwagMigration/Components/Migration/Profile.php(519): Enlight\_Components\_Db\_Adapter\_Pdo\_Mysql-\>query(’(\n\t\t\t\tSELECT\n\t\t…’) #5 /var/www/virtual/dampfalarm.net/htdocs/engine/Shopware/Plugins/Community/Backend/SwagMigration/Components/Migration/Import/Resource/Category.php(209): Shopware\_Components\_Migration\_Profile-\>queryCategories(0) #6 /var/www/virtual/dampfalarm.net/htdocs/engine/Shopware/Plugins/Community/Backend/SwagMigration/Components/Migration/Import/Resource/Category.php(184): Shopware\_Components\_Migration\_Import\_Resource\_Category-\>importCategories() #7 /var/www/virtual/dampfalarm.net/htdocs/engine/Shopware/Plugins/Community/Backend/SwagMigration/Controllers/Backend/SwagMigration.php(474): Shopware\_Components\_Migration\_Import\_Resource\_Category-\>run() #8 /var/www/virtual/dampfalarm.net/htdocs/engine/Shopware/Plugins/Community/Backend/SwagMigration/Controllers/Backend/SwagMigration.php(511): Shopware\_Controllers\_Backend\_SwagMigration-\>runImport(‘import\_categori…’) #9 /var/www/virtual/dampfalarm.net/htdocs/engine/Library/Enlight/Controller/Action.php(159): Shopware\_Controllers\_Backend\_SwagMigration-\>importAction() #10 /var/www/virtual/dampfalarm.net/htdocs/engine/Library/Enlight/Controller/Dispatcher/Default.php(524): Enlight\_Controller\_Action-\>dispatch(‘importAction’) #11 /var/www/virtual/dampfalarm.net/htdocs/engine/Library/Enlight/Controller/Front.php(227): Enlight\_Controller\_Dispatcher\_Default-\>dispatch(Object(Enlight\_Controller\_Request\_RequestHttp), Object(Enlight\_Controller\_Response\_ResponseHttp)) #12 /var/www/virtual/dampfalarm.net/htdocs/engine/Shopware/Kernel.php(143): Enlight\_Controller\_Front-\>dispatch() #13 /var/www/virtual/dampfalarm.net/htdocs/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/HttpCache.php(490): Shopware\Kernel-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #14 /var/www/virtual/dampfalarm.net/htdocs/engine/Shopware/Components/HttpCache/AppCache.php(255): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #15 /var/www/virtual/dampfalarm.net/htdocs/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/HttpCache.php(261): Shopware\Components\HttpCache\AppCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true) #16 /var/www/virtual/dampfalarm.net/htdocs/engine/Shopware/Components/HttpCache/AppCache.php(103): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>pass(Object(Symfony\Component\HttpFoundation\Request), true) #17 /var/www/virtual/dampfalarm.net/htdocs/shopware.php(101): Shopware\Components\HttpCache\AppCache-\>handle(Object(Symfony\Component\HttpFoundation\Request)) #18 {main}

[/code] Ich hoffe das uns hier jemand erklären kann woran der Fehler liegt, bezw. was den Fehler erzeugt. Liebe Grüße und angenehmen Start in die Woche.

---

<div class="post-metadata">

**Author:** ![R4M](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/r4m/32/9983_2.png) [@R4M](https://forum.shopware.com/u/R4M)\
**Post date:** [17. Dezember 2015 um 09:10 UTC](https://forum.shopware.com/t/fehler-shopmigration/32994/2 "2015-12-17T09:10:44Z")

</div>

[quote]Table ‘magento\_db.catalog\_category\_flat\_store\_1’ doesn’t exist[/quote] Wird denn deine Magento Version überhaupt unterstützt? Jedenfalls würde ich mir diese Frage stellen, wenn auf Tabellen zugriffen wird die es gar gibt.

---

<div class="post-metadata">

**Author:** ![schaltwerk](https://avatars.discourse-cdn.com/v4/letter/s/258eb7/32.png) [@schaltwerk](https://forum.shopware.com/u/schaltwerk)\
**Post date:** [20. Januar 2016 um 23:52 UTC](https://forum.shopware.com/t/fehler-shopmigration/32994/3 "2016-01-20T23:52:18Z")

</div>

Fehler gefunden bzw. Problem gelöst? Vielen Dank

---

<div class="post-metadata">

**Author:** ![Lousilver](https://avatars.discourse-cdn.com/v4/letter/l/4da419/32.png) [@Lousilver](https://forum.shopware.com/u/Lousilver)\
**Post date:** [21. Januar 2016 um 00:08 UTC](https://forum.shopware.com/t/fehler-shopmigration/32994/4 "2016-01-21T00:08:53Z")

</div>

Ja das Problem war das die Datenbank nicht vorhanden war. Durch das manuelle Anlegen konnten wir die Migration abschließen.

---

<div class="post-metadata">

**Author:** ![schaltwerk](https://avatars.discourse-cdn.com/v4/letter/s/258eb7/32.png) [@schaltwerk](https://forum.shopware.com/u/schaltwerk)\
**Post date:** [27. Januar 2016 um 15:55 UTC](https://forum.shopware.com/t/fehler-shopmigration/32994/5 "2016-01-27T15:55:25Z")

</div>

Danke. Bei mir lags daran, dass meine Magento-Version zu neu war. Es wird wohl nur bis Version 1.9.0.1 unterstützt.
