-
-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation with innodb_file_format = Antelope and innodb_large_prefix = On fails #91
Comments
|
Kannst Du bitte mal folgendes testen:
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. |
leofeyer
added a commit
to contao/core-bundle
that referenced
this issue
Apr 19, 2018
|
So, jetzt. Behoben in contao/core-bundle@7b2c571. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: