Hallo,
ich kann bei meiner Contao Version 4.11.2 das Install-tool nicht mehr aufrufen. Im Logfile steht folgender Fehler:
Code:
[2021-06-30T15:10:13.046034+00:00] request.INFO: Matched route "contao_install". {"route":"contao_install","route_parameters":{"_route":"contao_install","_scope":"backend","_token_check":true,"_controller":"Contao\\InstallationBundle\\Controller\\InstallationController::installAction"},"request_uri":"https://www.xxxxxx.de/contao/install","method":"GET"} []
[2021-06-30T15:10:13.135561+00:00] request.CRITICAL: Uncaught PHP Exception Doctrine\DBAL\Exception\DriverException: "An exception occurred while executing 'CREATE UNIQUE INDEX pid_email ON tl_newsletter_recipients (pid, email)': SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes" at /home/ie9dxli8rk93/public_html/xxxxxx.de/contao4/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 128 {"exception":"[object] (Doctrine\\DBAL\\Exception\\DriverException(code: 0): An exception occurred while executing 'CREATE UNIQUE INDEX pid_email ON tl_newsletter_recipients (pid, email)':\n\nSQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes at /home/ie9dxli8rk93/public_html/xxxx.de/contao4/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:128)\n[previous exception] [object] (Doctrine\\DBAL\\Driver\\PDO\\Exception(code: 42000): SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes at /home/ie9dxli8rk93/public_html/xxx.de/contao4/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:18)\n[previous exception] [object] (PDOException(code: 42000): SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes at /home/ie9dxli8rk93/public_html/xxxx.de/contao4/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:53)"} []
Update:
Es scheint mit der Die innodb_large_prefix-Option ist nicht aktiv! - Meldung zusammen zu hängen.
Ordner config/config.yml musste ich manuell anlegen. Prod-Cache wurde erneuert. Leider brachte das keine Lösung
Hat jemand eine Idee? Danke.
Lesezeichen