# &quot;Enlight-Exception&quot; bei Shopware-Umzug

**URL:** <https://forum.shopware.com/t/quot-enlight-exception-quot-bei-shopware-umzug/12101>\
**Category:** Shopware 3.5\
**Tags:** installation--gettin\
**Created:** [12. März 2013 um 09:52 UTC](https://forum.shopware.com/t/quot-enlight-exception-quot-bei-shopware-umzug/12101 "2013-03-12T09:52:54Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![grannysmith](https://avatars.discourse-cdn.com/v4/letter/g/a88e57/32.png) [@grannysmith](https://forum.shopware.com/u/grannysmith)\
**Post date:** [12. März 2013 um 09:52 UTC](https://forum.shopware.com/t/quot-enlight-exception-quot-bei-shopware-umzug/12101/1 "2013-03-12T09:52:54Z")

</div>

Hallo zusammen, ich habe hier gerade ein tragisches Problem. Ich wollte einen Shopware Shop von der Test-URL ( Subdomain: [customer.thepeaklab.com](http://customer.thepeaklab.com) ) auf die Live-URL umstellen ( [http://www.seilzugang.com](http://www.seilzugang.com) ) und seitdem erreicht mich folgende Fehlermeldung beim Aufruf: [quote]Fatal error: Uncaught exception ‘Enlight\_Exception’ with message ‘Class Enlight\_Controller\_Front does not exist and could not be loaded’ in /var/www/vhosts/seilzugang.com/httpdocs/engine/Library/Enlight/Class.php:98 Stack trace: #0 /var/www/vhosts/seilzugang.com/httpdocs/engine/Library/Enlight/Class.php(116): Enlight\_Class::getClassName(‘Enlight\_Control…’) #1 /var/www/vhosts/seilzugang.com/httpdocs/engine/Library/Enlight/Bootstrap.php(139): Enlight\_Class::Instance(‘Enlight\_Control…’) #2 /var/www/vhosts/seilzugang.com/httpdocs/engine/Shopware/Bootstrap.php(96): Enlight\_Bootstrap-\>initFront() #3 [internal function]: Shopware\_Bootstrap-\>initFront() #4 /var/www/vhosts/seilzugang.com/httpdocs/engine/Library/Enlight/Bootstrap.php(304): call\_user\_func(Array) #5 /var/www/vhosts/seilzugang.com/httpdocs/engine/Library/Enlight/Bootstrap.php(258): Enlight\_Bootstrap-\>loadResource(‘Front’) #6 /var/www/vhosts/seilzugang.com/httpdocs/engine/Shopware/Bootstrap.php(75): Enlight\_Bootstrap-\>getResource(‘Front’) #7 /var/www/vhosts/seilzug in /var/www/vhosts/seilzugang.com/httpdocs/engine/Library/Enlight/Class.php on line 98[/quote] Weitere Details: Der Shop liegt auf dem selben Server und sollte “nur” in ein anderes Verzeichnis geschoben werden. Die DB hat sich nicht geändert ( auf localhost erreichbar ), Anpassungen in der DB habe ich in folgenden Tabellen gemacht: [list] s\_core\_shop s\_core\_multilanguage [/list] sowie den Cache Ordner gelöscht bzw. zurückgesetzt. Bevor ich gleich aus dem Fenster springe hoffe ich das jemand noch eine Idee hat! Danke schonmal!

---

<div class="post-metadata">

**Author:** ![leseaw](https://avatars.discourse-cdn.com/v4/letter/l/73ab20/32.png) [@leseaw](https://forum.shopware.com/u/leseaw)\
**Post date:** [12. März 2013 um 10:06 UTC](https://forum.shopware.com/t/quot-enlight-exception-quot-bei-shopware-umzug/12101/2 "2013-03-12T10:06:28Z")

</div>

Proxy und das alles hast du auch gelöscht? und cache von Hand geleert oder mittels Backend?

---

<div class="post-metadata">

**Author:** ![grannysmith](https://avatars.discourse-cdn.com/v4/letter/g/a88e57/32.png) [@grannysmith](https://forum.shopware.com/u/grannysmith)\
**Post date:** [12. März 2013 um 10:09 UTC](https://forum.shopware.com/t/quot-enlight-exception-quot-bei-shopware-umzug/12101/3 "2013-03-12T10:09:34Z")

</div>

Cache von Hand geleert, weil kein Zugriff aufs Backend möglich. Wie kann ich den Proxy Krams löschen ohne Backend?

---

<div class="post-metadata">

**Author:** ![Patrick\_Schucker](https://avatars.discourse-cdn.com/v4/letter/p/a5b964/32.png) [@Patrick\_Schucker](https://forum.shopware.com/u/Patrick_Schucker)\
**Post date:** [12. März 2013 um 17:13 UTC](https://forum.shopware.com/t/quot-enlight-exception-quot-bei-shopware-umzug/12101/4 "2013-03-12T17:13:31Z")

</div>

Hi, du findest die Ordner unter: /engine/Shopware/Proxies/ /engine/Shopware/Models/Attribute/ Wichtig: Nur die Inhalte löschen! Nicht die Ordner selber!! Gruß Patrick

---

<div class="post-metadata">

**Author:** ![grannysmith](https://avatars.discourse-cdn.com/v4/letter/g/a88e57/32.png) [@grannysmith](https://forum.shopware.com/u/grannysmith)\
**Post date:** [12. März 2013 um 17:47 UTC](https://forum.shopware.com/t/quot-enlight-exception-quot-bei-shopware-umzug/12101/5 "2013-03-12T17:47:37Z")

</div>

Hallo Patrick, danke schonmal, wir kommen der Sache anscheinend einen Schritt näher. jetzt kommen zumindest “neue” Fehlermeldungen: Ups! Ein Fehler ist aufgetreten! Die nachfolgenden Hinweise sollten Ihnen weiterhelfen. ` Resource "Shop" not found failure in Enlight/Bootstrap.php on line 261 Stack trace: #0 Shopware/Application.php(140): Enlight\_Bootstrap-\>getResource('Shop') #1 Shopware/Plugins/Default/Frontend/RouterRewrite/Bootstrap.php(211): Shopware-\>Shop() #2 [internal function]: Shopware\_Plugins\_Frontend\_RouterRewrite\_Bootstrap-\>onRoute(Object(Enlight\_Event\_EventArgs)) #3 Enlight/Event/Handler/Default.php(91): call\_user\_func(Array, Object(Enlight\_Event\_EventArgs)) #4 Enlight/Event/EventManager.php(194): Enlight\_Event\_Handler\_Default-\>execute(Object(Enlight\_Event\_EventArgs)) #5 Enlight/Controller/Router/Default.php(65): Enlight\_Event\_EventManager-\>notifyUntil('Enlight\_Control...', Array) #6 Enlight/Controller/Front.php(161): Enlight\_Controller\_Router\_Default-\>route(Object(Enlight\_Controller\_Request\_RequestHttp)) #7 Shopware/Bootstrap.php(79): Enlight\_Controller\_Front-\>dispatch() #8 Enlight/Application.php(192): Shopware\_Bootstrap-\>run() #9 shopware.php(74): Enlight\_Application-\>run() #10 {main} ` Diese Meldung ist jetzt auch direkt von Shopware generiert unter [http://www.seilzugang.com](http://www.seilzugang.com)

---

<div class="post-metadata">

**Author:** ![grannysmith](https://avatars.discourse-cdn.com/v4/letter/g/a88e57/32.png) [@grannysmith](https://forum.shopware.com/u/grannysmith)\
**Post date:** [12. März 2013 um 17:50 UTC](https://forum.shopware.com/t/quot-enlight-exception-quot-bei-shopware-umzug/12101/6 "2013-03-12T17:50:07Z")

</div>

…und noch eine weitere zur Info aus dem Backend: ` Ups! Ein Fehler ist aufgetreten! Die nachfolgenden Hinweise sollten Ihnen weiterhelfen. The target-entity Shopware\Models\Attribute\Emotion cannot be found in 'Shopware\Models\Emotion\Emotion#attribute'. in Doctrine/ORM/Mapping/MappingException.php on line 330 Stack trace: #0 Doctrine/ORM/Mapping/ClassMetadataInfo.php(804): Doctrine\ORM\Mapping\MappingException::invalidTargetEntityClass('Shopware\Models...', 'Shopware\Models...', 'attribute') #1 Doctrine/ORM/Mapping/ClassMetadataFactory.php(368): Doctrine\ORM\Mapping\ClassMetadataInfo-\>validateAssocations() #2 Doctrine/ORM/Mapping/ClassMetadataFactory.php(337): Doctrine\ORM\Mapping\ClassMetadataFactory-\>validateRuntimeMetadata(Object(Doctrine\ORM\Mapping\ClassMetadata), NULL) #3 Doctrine/ORM/Mapping/ClassMetadataFactory.php(178): Doctrine\ORM\Mapping\ClassMetadataFactory-\>loadMetadata('Shopware\Models...') #4 Doctrine/ORM/Mapping/ClassMetadataFactory.php(131): Doctrine\ORM\Mapping\ClassMetadataFactory-\>getMetadataFor('Shopware\Models...') #5 Shopware/Bootstrap.php(606): Doctrine\ORM\Mapping\ClassMetadataFactory-\>getAllMetadata() #6 [internal function]: Shopware\_Bootstrap-\>initModels() #7 Enlight/Bootstrap.php(304): call\_user\_func(Array) #8 Enlight/Bootstrap.php(258): Enlight\_Bootstrap-\>loadResource('Models') #9 Shopware/Application.php(160): Enlight\_Bootstrap-\>getResource('Models') #10 Shopware/Plugins/Default/Backend/Auth/Bootstrap.php(288): Shopware-\>Models() #11 Shopware/Plugins/Default/Backend/Auth/Bootstrap.php(219): Shopware\_Plugins\_Backend\_Auth\_Bootstrap-\>initLocale() #12 Enlight/Event/Handler/Plugin.php(149): Shopware\_Plugins\_Backend\_Auth\_Bootstrap-\>onPreDispatchBackend(Object(Enlight\_Event\_EventArgs)) #13 Enlight/Event/EventManager.php(156): Enlight\_Event\_Handler\_Plugin-\>execute(Object(Enlight\_Event\_EventArgs)) #14 Enlight/Controller/Action.php(122): Enlight\_Event\_EventManager-\>notify('Enlight\_Control...', Array) #15 Enlight/Controller/Dispatcher/Default.php(521): Enlight\_Controller\_Action-\>dispatch('indexAction') #16 Enlight/Controller/Front.php(214): Enlight\_Controller\_Dispatcher\_Default-\>dispatch(Object(Enlight\_Controller\_Request\_RequestHttp), Object(Enlight\_Controller\_Response\_ResponseHttp)) #17 Shopware/Bootstrap.php(79): Enlight\_Controller\_Front-\>dispatch() #18 Enlight/Application.php(192): Shopware\_Bootstrap-\>run() #19 shopware.php(74): Enlight\_Application-\>run() #20 {main} `

---

<div class="post-metadata">

**Author:** ![Patrick\_Schucker](https://avatars.discourse-cdn.com/v4/letter/p/a5b964/32.png) [@Patrick\_Schucker](https://forum.shopware.com/u/Patrick_Schucker)\
**Post date:** [13. März 2013 um 12:14 UTC](https://forum.shopware.com/t/quot-enlight-exception-quot-bei-shopware-umzug/12101/7 "2013-03-13T12:14:54Z")

</div>

Hi, hast du eigentlich einen Serverumzug durchgeführt, oder wurde nur der Domänenname geändert? Eventuell kann dir dieser Betrag helfen: [http://wiki.shopware.de/Foreign-Keys-re … l\_954.html](http://wiki.shopware.de/Foreign-Keys-reparieren%5C_detail%5C_954.html) Wenn du alles auf einen anderen Server umgezogen hast, dann kann es sein, dass bei in der Datenbank die Fremdschlüssel Fehlen. Gruß Patrick

---

<div class="post-metadata">

**Author:** ![grannysmith](https://avatars.discourse-cdn.com/v4/letter/g/a88e57/32.png) [@grannysmith](https://forum.shopware.com/u/grannysmith)\
**Post date:** [13. März 2013 um 12:35 UTC](https://forum.shopware.com/t/quot-enlight-exception-quot-bei-shopware-umzug/12101/8 "2013-03-13T12:35:10Z")

</div>

Ich bin auf der selben physikalischen Maschine wie vorher. die Datenbank ist die selbe. Der Shop wurde in ein anderes Verzeichnis verschoben auf dem Server. Die Domain hat sich natürlich geändert, vorher ( auch bei der Installation ) war er unter [customer.thepeaklab.com/seilzugang](http://customer.thepeaklab.com/seilzugang) erreichbar, jetzt soll er unter [www.seilzugang.com](http://www.seilzugang.com) erreichbar sein. Die URL’s hatte ich ja in der DB dann geändert in den notwendigen Tabellen. Die Foreign-Key Geschichte check ich mal, glaube aber nicht dass es damit zu tun hat.

---

<div class="post-metadata">

**Author:** ![Patrick\_Schucker](https://avatars.discourse-cdn.com/v4/letter/p/a5b964/32.png) [@Patrick\_Schucker](https://forum.shopware.com/u/Patrick_Schucker)\
**Post date:** [13. März 2013 um 15:29 UTC](https://forum.shopware.com/t/quot-enlight-exception-quot-bei-shopware-umzug/12101/9 "2013-03-13T15:29:27Z")

</div>

Hi, du kannst auch mal die Rechte der Ordner prüfen. /engine/Shopware/Proxies/ /engine/Shopware/Models/Attribute/ /cache/template /cache/database Die sollten auf 777 oder 755 stehen. Gruß Patrick

---

<div class="post-metadata">

**Author:** ![grannysmith](https://avatars.discourse-cdn.com/v4/letter/g/a88e57/32.png) [@grannysmith](https://forum.shopware.com/u/grannysmith)\
**Post date:** [13. März 2013 um 15:41 UTC](https://forum.shopware.com/t/quot-enlight-exception-quot-bei-shopware-umzug/12101/10 "2013-03-13T15:41:36Z")

</div>

Hallo Patrick, danke für die Hinweise, habe die Foreign-Keys repariert, Rechte von den Ordnern waren natürlich noch OK. Immer noch dieselben Fehler… Noch irgendeine Idee? Gibt es einen Support bei Euch ( bezahlt ) der mir da helfen kann? Kunde liegt mir im Nacken. Grüße

---

<div class="post-metadata">

**Author:** ![Patrick\_Schucker](https://avatars.discourse-cdn.com/v4/letter/p/a5b964/32.png) [@Patrick\_Schucker](https://forum.shopware.com/u/Patrick_Schucker)\
**Post date:** [13. März 2013 um 16:02 UTC](https://forum.shopware.com/t/quot-enlight-exception-quot-bei-shopware-umzug/12101/11 "2013-03-13T16:02:49Z")

</div>

Hi, Support gibt es bei Shopware in Verbindung mit einem Wartungsvertrag. Setze dich dazu am besten mit unserem Vertrieb in Verbindung. [http://www.shopware.de/shopware-support … tegory=385](http://www.shopware.de/shopware-supportuebersicht/?sCategory=385) Gruß Patrick

---

<div class="post-metadata">

**Author:** ![grannysmith](https://avatars.discourse-cdn.com/v4/letter/g/a88e57/32.png) [@grannysmith](https://forum.shopware.com/u/grannysmith)\
**Post date:** [14. März 2013 um 16:15 UTC](https://forum.shopware.com/t/quot-enlight-exception-quot-bei-shopware-umzug/12101/12 "2013-03-14T16:15:43Z")

</div>

sonst noch jemand eine idee, so dass ich nicht für eine sache nen 12monatigen Support buchen muss?

---

<div class="post-metadata">

**Author:** ![marpie1980](https://avatars.discourse-cdn.com/v4/letter/m/c68b51/32.png) [@marpie1980](https://forum.shopware.com/u/marpie1980)\
**Post date:** [25. März 2014 um 07:57 UTC](https://forum.shopware.com/t/quot-enlight-exception-quot-bei-shopware-umzug/12101/13 "2014-03-25T07:57:02Z")

</div>

Sorry, wenn ich diesen Post nochmal auskrame. Wie hast du das Problem denn damals gelöst? Stehe nämlich vor demselben Problem… Gruß Marco

---

<div class="post-metadata">

**Author:** ![Patrick\_Schucker](https://avatars.discourse-cdn.com/v4/letter/p/a5b964/32.png) [@Patrick\_Schucker](https://forum.shopware.com/u/Patrick_Schucker)\
**Post date:** [25. März 2014 um 09:04 UTC](https://forum.shopware.com/t/quot-enlight-exception-quot-bei-shopware-umzug/12101/14 "2014-03-25T09:04:08Z")

</div>

Guten Morgen Marco, kannst du hier deine genaue Fehlermeldung posten? Bitte auch deine Versionsnummer. Und natürlich auch, was du genau gemacht hast und bis jetzt schon geändert hast. Gruß Patrick Schücker

---

<div class="post-metadata">

**Author:** ![marpie1980](https://avatars.discourse-cdn.com/v4/letter/m/c68b51/32.png) [@marpie1980](https://forum.shopware.com/u/marpie1980)\
**Post date:** [25. März 2014 um 09:13 UTC](https://forum.shopware.com/t/quot-enlight-exception-quot-bei-shopware-umzug/12101/15 "2014-03-25T09:13:13Z")

</div>

Guten Morgen Patrick, hier die komplette Fehlermeldung: `Fatal error: Uncaught exception 'Enlight\_Exception' with message 'Resource "Shop" not found failure' in /home/dh5450/public\_html/00\_marpie/sf4b.com/shopware/engine/Library/Enlight/Bootstrap.php:261 Stack trace: #0 /home/dh5450/public\_html/00\_marpie/sf4b.com/shopware/engine/Shopware/Plugins/Default/Core/Router/Bootstrap.php(343): Enlight\_Bootstrap-\>getResource('Shop') #1 /home/dh5450/public\_html/00\_marpie/sf4b.com/shopware/engine/Shopware/Plugins/Default/Core/Router/Bootstrap.php(453): Shopware\_Plugins\_Core\_Router\_Bootstrap-\>initShopConfig() #2 /home/dh5450/public\_html/00\_marpie/sf4b.com/shopware/engine/Library/Enlight/Event/Handler/Plugin.php(149): Shopware\_Plugins\_Core\_Router\_Bootstrap-\>onFilterUrl(Object(Enlight\_Controller\_Router\_EventArgs)) #3 /home/dh5450/public\_html/00\_marpie/sf4b.com/shopware/engine/Library/Enlight/Event/EventManager.php(239): Enlight\_Event\_Handler\_Plugin-\>execute(Object(Enlight\_Controller\_Router\_EventArgs)) #4 /home/dh5450/public\_html/00\_marpie/sf4b.com/shopware/engine/Library/Enlight/Controller/Ro in /home/dh5450/public\_html/00\_marpie/sf4b.com/shopware/engine/Library/Enlight/Bootstrap.php on line 261` Dies ist eine auf einem anderen Server laufende Shopware-Installation 4.03. Diese wollte ich nun schrittweise bei einem anderen Provider updaten auf die 4.21. Cache-Verzeichnisse sind geleert und DB ist angepasst. Mehr ist bisher nicht passiert.
