Hallo Leute,
es hat mir beim letzten Update irgendwie das Theme zerschossen.
Das Responsive wir “nur” noch als reiner Text angezeigt, völlig ohne CSS usw.
Weiter scheint es auch Probleme mit dem Kompilieren zu geben, das System hängt sich auf.
Wenn ich ein neues Theme vom “Responsive” ableiten möchte, erhalte ich folgende Fehlermeldung:
Ups! Ein Fehler ist aufgetreten! Die nachfolgenden Hinweise sollten Ihnen weiterhelfen. An exception occurred while executing 'INSERT INTO s_core_templates_config_elements (template_id, type, name, position, default_value, selection, field_label, support_text, allow_blank, less_compatible, attributes, container_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)' with params [38, "theme-media-selection", "mobileLogo", 0, "s:47:\"frontend\/_public\/src\/img\/logos\/logo--mobile.png\";", "N;", " __smartphone__", null, 1, 0, "a:1:{s:14:\"lessCompatible\";b:0;}", 277]: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '38-mobileLogo' for key 'template_id_name' in vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php on line 119 Stack trace: #0 vendor/doctrine/dbal/lib/Doctrine/DBAL/Statement.php(175): Doctrine\DBAL\DBALException::driverExceptionDuringQuery(Object(Doctrine\DBAL\Driver\PDOMySql\Driver), Object(PDOException), 'INSERT INTO s_c...', Array) #1 engine/Library/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php(281): Doctrine\DBAL\Statement->execute() #2 vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(1018): Doctrine\ORM\Persisters\Entity\BasicEntityPersister->executeInserts() #3 vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(378): Doctrine\ORM\UnitOfWork->executeInserts(Object(Doctrine\ORM\Mapping\ClassMetadata)) #4 vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php(356): Doctrine\ORM\UnitOfWork->commit(NULL) #5 engine/Shopware/Components/Form/Persister/Theme.php(62): Doctrine\ORM\EntityManager->flush() #6 engine/Shopware/Components/Theme/Configurator.php(132): Shopware\Components\Form\Persister\Theme->save(Object(Shopware\Components\Form\Container\TabContainer), Object(Shopware\Models\Shop\Template)) #7 engine/Shopware/Components/Theme/Installer.php(154): Shopware\Components\Theme\Configurator->synchronize(Object(Shopware\Themes\Muster\Theme)) #8 engine/Shopware/Components/Theme/Installer.php(116): Shopware\Components\Theme\Installer->synchronizeThemes() #9 engine/Shopware/Controllers/Backend/Theme.php(219): Shopware\Components\Theme\Installer->synchronize() #10 engine/Library/Enlight/Controller/Action.php(159): Shopware_Controllers_Backend_Theme->listAction() #11 engine/Library/Enlight/Controller/Dispatcher/Default.php(523): Enlight_Controller_Action->dispatch('listAction') #12 engine/Library/Enlight/Controller/Front.php(226): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp)) #13 engine/Shopware/Kernel.php(176): Enlight_Controller_Front->dispatch() #14 vendor/symfony/http-kernel/HttpCache/HttpCache.php(487): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #15
Was ist zu tun?
Danke.