Fehler bei der Installation
Hi Leute,
ich habe heute bei der Installation einer Contao 4.5.4 via CM eine Fehlermeldung erhalten, die auf einen zu langen Installationspfad hinweist:
Code:
[2018-03-06 10:04:15] app.CRITICAL: An exception occurred. {"exception":"[object] (Doctrine\\DBAL\\Exception\\DriverException(code: 0): An exception occurred while executing 'CREATE TABLE tl_files (id INT UNSIGNED AUTO_INCREMENT NOT NULL, pid BINARY(16) DEFAULT NULL, tstamp INT UNSIGNED DEFAULT 0 NOT NULL, uuid BINARY(16) DEFAULT NULL, type VARCHAR(16) DEFAULT '' NOT NULL, path VARCHAR(1022) DEFAULT '' NOT NULL, extension VARCHAR(16) DEFAULT '' NOT NULL, hash VARCHAR(32) DEFAULT '' NOT NULL, found CHAR(1) DEFAULT '1' NOT NULL, name VARCHAR(255) DEFAULT '' NOT NULL, importantPartX INT DEFAULT 0 NOT NULL, importantPartY INT DEFAULT 0 NOT NULL, importantPartWidth INT DEFAULT 0 NOT NULL, importantPartHeight INT DEFAULT 0 NOT NULL, meta BLOB DEFAULT NULL, INDEX pid (pid), UNIQUE INDEX uuid (uuid), INDEX path (path), INDEX extension (extension), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ENGINE = InnoDB ROW_FORMAT = DYNAMIC':\n\nSQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 3072 bytes at /var/www/vhosts/hostingxxxxxx.xxxxx.xxxxxx.xxx/httpdocs/XX/xxxxx/contao4-xx/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:121, Doctrine\\DBAL\\Driver\\PDOException(code: 42000): SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 3072 bytes at /var/www/vhosts/hostingxxxxxx.xxxxx.xxxxxx.xxx/httpdocs/XX/xxxxx/contao4-xx/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:106, PDOException(code: 42000): SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 3072 bytes at /var/www/vhosts/hostingxxxxxx.xxxxx.xxxxxx.xxx/httpdocs/XX/xxxxx/contao4-xx/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:104)"} []
Komischweise habe ich vor ein paar Tagen in genau gleich "tiefem" Verzeichnis eine erfolgreiche Installation gemacht. Kann es sein, dass sich etwas an den Installationsdateien bzw. der Länge getan hat und es deshalb jetzt zu lang wurde?
Oder ist es ein ganz anderer Fehler?
Grüße aus Ludwigsburg
Jochen Kubik
Liste der Anhänge anzeigen (Anzahl: 1)
Ok, jetzt bich ich bei "Datenbank aktualisieren"
Anhang 20617
Liste der Anhänge anzeigen (Anzahl: 1)
Hier scheinen die langen Pfade zu sein:
Anhang 20619