Hallo Leute, ich kann in einem Shop kein “eigenes” Template anlegen, ich erhalte dann folgenden Fehlercode:
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 [35, "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;}", 148]: SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction in vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php on line 119 Stack trace: #0 vendor/doctrine/dbal/lib/Doctrine/DBAL/Statement.php(172): Doctrine\DBAL\DBALException::driverExceptionDuringQuery(Object(Doctrine\DBAL\Driver\PDOMySql\Driver), Object(PDOException), 'INSERT INTO s_c...', Array) #1 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 Shopware/Components/Form/Persister/Theme.php(63): Doctrine\ORM\EntityManager->flush() #6 Shopware/Components/Theme/Configurator.php(132): Shopware\Components\Form\Persister\Theme->save(Object(Shopware\Components\Form\Container\TabContainer), Object(Shopware\Models\Shop\Template)) #7 Shopware/Components/Theme/Installer.php(156): Shopware\Components\Theme\Configurator->synchronize(Object(Shopware\Themes\Cahler\Theme)) #8 Shopware/Components/Theme/Installer.php(117): Shopware\Components\Theme\Installer->synchronizeThemes() #9 Shopware/Controllers/Backend/Theme.php(208): Shopware\Components\Theme\Installer->synchronize() #10 Enlight/Controller/Action.php(158): Shopware_Controllers_Backend_Theme->listAction() #11 Enlight/Controller/Dispatcher/Default.php(523): Enlight_Controller_Action->dispatch('listAction') #12 Enlight/Controller/Front.php(226): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp)) #13 Shopware/Kernel.php(153): Enlight_Controller_Front->dispatch() #14 vendor/symfony/http-kernel/HttpCache/HttpCache.php(492): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #15 Shopware/Components/HttpCache/AppCache.php(255): Symfony\Component\HttpKernel\HttpCache
Das Template erscheint dann zwar im Templatemanager, liefert aber Aktivierung nur ein “leeres” Template aus. Das entsprechende Verzeichnis kann ich via FTP ebenfalls sehen. Woran kann das liegen? Danke.