Nach Kopie einer Installation whitescreen im Fronten

Hallo, so, meine erste Frage im Shopware Forum. Ich auf meinem lokalen Webserver (Mamp) einen funktionierenden Shop. Ich wollte eine Kopie erstellen und habe dazu folgendes gemacht: 1. Datenbank kopiert und in Tabelle s_core_shops den base path angepasst 2. Dateien inklusive verstecketer Dateien kopiert 3. In config.php die Datenbank angepasst 4. Die Ordner aus dem Verzeichnis cache gelöscht 5. Im Backend angemeldet und alle Caches geleert und das Theme neu kompiliert 6. Das Frontend aufgerufen Da bekomme ich aber nichts zurück (weißer Screen) In den Logs steht folgendes: [2015-05-28 10:08:24] core.ERROR: exception ‚Doctrine\ORM\Mapping\MappingException‘ with message ‚No mapping found for field ‚customerGroup‘ on class ‚Shopware\Models\Attribute\CustomerGroup‘.‘ in /Applications/MAMP/htdocs/gsfd_shop_02/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/MappingException.php:153 Stack trace: #0 /Applications/MAMP/htdocs/gsfd_shop_02/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php(1129): Doctrine\ORM\Mapping\MappingException::mappingNotFound(‚Shopware\Models…‘, ‚customerGroup‘) #1 /Applications/MAMP/htdocs/gsfd_shop_02/engine/Library/Doctrine/ORM/Persisters/BasicEntityPersister.php(1297): Doctrine\ORM\Mapping\ClassMetadataInfo->getAssociationMapping(‚customerGroup‘) #2 /Applications/MAMP/htdocs/gsfd_shop_02/engine/Library/Doctrine/ORM/Persisters/BasicEntityPersister.php(1147): Doctrine\ORM\Persisters\BasicEntityPersister->getSelectColumnsSQL() #3 /Applications/MAMP/htdocs/gsfd_shop_02/engine/Library/Doctrine/ORM/Persisters/BasicEntityPersister.php(766): Doctrine\ORM\Persisters\BasicEntityPersister->getSelectSQL(Array, NULL, 0, NULL, NULL, NULL) #4 /Applications/MAMP/htdocs/gsfd_shop_02/vendor/doctrine/orm/lib/Doctrine/ORM/Proxy/ProxyFactory.php(172): Doctrine\ORM\Persisters\BasicEntityPersister->load(Array, Object(Shopware\Proxies__CG__\Shopware\Models\Customer\Group)) #5 /Applications/MAMP/htdocs/gsfd_shop_02/cache/production_201505261453/doctrine/proxies/__CG__ShopwareModelsCustomerGroup.php(208): Doctrine\ORM\Proxy\ProxyFactory->Doctrine\ORM\Proxy{closure}(Object(Shopware\Proxies__CG__\Shopware\Models\Customer\Group), ‚getKey‘, Array) #6 /Applications/MAMP/htdocs/gsfd_shop_02/cache/production_201505261453/doctrine/proxies/__CG__ShopwareModelsCustomerGroup.php(208): Closure->__invoke(Object(Shopware\Proxies__CG__\Shopware\Models\Customer\Group), ‚getKey‘, Array) #7 /Applications/MAMP/htdocs/gsfd_shop_02/engine/Shopware/Bundle/StoreFrontBundle/Service/Core/ContextService.php(179): Shopware\Proxies__CG__\Shopware\Models\Customer\Group->getKey() #8 /Applications/MAMP/htdocs/gsfd_shop_02/engine/Shopware/Models/Shop/Shop.php(711): Shopware\Bundle\StoreFrontBundle\Service\Core\ContextService->initializeShopContext() #9 /Applications/MAMP/htdocs/gsfd_shop_02/engine/Shopware/Plugins/Default/Core/Router/Bootstrap.php(129): Shopware\Models\Shop\Shop->registerResources(Object(Shopware_Proxies_ShopwareBootstrapProxy)) #10 /Applications/MAMP/htdocs/gsfd_shop_02/engine/Library/Enlight/Event/Handler/Plugin.php(149): Shopware_Plugins_Core_Router_Bootstrap->onRouteStartup(Object(Enlight_Controller_EventArgs)) #11 /Applications/MAMP/htdocs/gsfd_shop_02/engine/Library/Enlight/Event/EventManager.php(211): Enlight_Event_Handler_Plugin->execute(Object(Enlight_Controller_EventArgs)) #12 /Applications/MAMP/htdocs/gsfd_shop_02/engine/Library/Enlight/Controller/Front.php(162): Enlight_Event_EventManager->notify(‚Enlight_Control…‘, Object(Enlight_Controller_EventArgs)) #13 /Applications/MAMP/htdocs/gsfd_shop_02/engine/Shopware/Kernel.php(143): Enlight_Controller_Front->dispatch() #14 /Applications/MAMP/htdocs/gsfd_shop_02/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/HttpCache.php(490): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #15 /Applications/MAMP/htdocs/gsfd_shop_02/engine/Shopware/Components/HttpCache/AppCache.php(255): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #16 /Applications/MAMP/htdocs/gsfd_shop_02/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/HttpCache.php(447): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true) #17 /Applications/MAMP/htdocs/gsfd_shop_02/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/HttpCache.php(347): Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch(Object(Symfony\Component\HttpFoundation\Request), true) #18 /Applications/MAMP/htdocs/gsfd_shop_02/engine/Shopware/Components/HttpCache/AppCache.php(178): Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true) #19 /Applications/MAMP/htdocs/gsfd_shop_02/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/HttpCache.php(211): Shopware\Components\HttpCache\AppCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true) #20 /Applications/MAMP/htdocs/gsfd_shop_02/engine/Shopware/Components/HttpCache/AppCache.php(114): Symfony\Component\HttpKernel\HttpCache\HttpCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #21 /Applications/MAMP/htdocs/gsfd_shop_02/shopware.php(101): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request)) #22 {main} {„uid“:„d0235c6“} Ich bin Grafiker und Frontendentwickler - das überfordert mich ein bisschen :wink: Hat jemand eine Idee was da faul ist? Danke Andreas

Klingt nach einem Problem mit den Foreign Keys. Führ mal die Reparatur aus: http://wiki.shopware.com/Foreign-Keys-r … l_954.html

1 „Gefällt mir“

Danke für den Hinweis, ich hatte den Post mit den Foreign Keys auch schon gesehen, habe die DB aber bei meinen Rettungsversuchen zerschossen. Habe aber auch einen Fehler gemacht. Ich habe jetzt noch mal eine Kopie einer Installation angelegt, habe aber NICHT wie vorher mit phpMyAdmin unter „Operationen“ eine Kopie erstellt sondern habe einen dump gemacht, eine neue DB erstellt und den dump importiert. Jetzt tritt der Fehler nicht auf. Ob es an Problemen mit den Foreign Keys liegt kann ich jetzt nicht sagen Danke Andreas