Closed mlwebworker closed 6 years ago
Kannst Du bitte mal folgendes testen:
Öffne die Datei vendor/contao/core-bundle/src/Doctrine/Schema/DcaSchemaProvider.php
Finde die Zeile 463:
return \in_array(strtolower((string) $largePrefix->Value), ['1', 'on'], true) ? 3072 : 767;
$fileFormat = $this->doctrine
->getConnection()
->query("SHOW VARIABLES LIKE 'innodb_file_format'")
->fetch(\PDO::FETCH_OBJ)
;
if (
'barracuda' === strtolower((string) $fileFormat->Value)
&& \in_array(strtolower((string) $largePrefix->Value), ['1', 'on'], true)
) {
return 3072;
}
return 767;
Hat funktioniert. Danke.
Bitte noch nicht schließen, ich muss die Änderungen ja noch übernehmen. 😃
ok, da kenn ich mich noch nicht genau aus.
So, jetzt. Behoben in contao/core-bundle@7b2c571c6cd83a6e59f2f035162a180295dca644.
Wenn innodb_large_prefix an ist aber innodb_file_format nicht auf Barracuda steht tritt folgender Fehler auf
Contao 4.5.7 Maria DB 10.1.17 PHP 7.2.3 (Webgo)
Siehe dazu auch https://community.contao.org/de/showthread.php?70063-Fehler-bei-der-Installation&p=470636&viewfull=1#post470636