{% extends "@ContaoInstallation/layout.html.twig" %} {% trans_default_domain 'ContaoInstallationBundle' %} {% block main %}

{{ 'an_error_occurred'|trans }}

{% if errorCode == 1 %}

{{ 'unsupported_version'|trans }}

{{ 'unsupported_version_explain'|trans([version]) }}

{% elseif errorCode == 2 %}

{{ 'unsupported_collation'|trans }}

{{ 'unsupported_collation_explain'|trans([collation])|raw }}

doctrine:
    dbal:
        connections:
            default:
                default_table_options:
                    charset: utf8
                    collation: utf8_unicode_ci
{% elseif errorCode == 3 %}

{{ 'unsupported_engine'|trans }}

{{ 'unsupported_engine_explain'|trans([engine])|raw }}

doctrine:
    dbal:
        connections:
            default:
                default_table_options:
                    engine: MyISAM
                    row_format: ~
{% elseif errorCode == 4 %}

{{ 'engine_mismatch'|trans }}

{{ 'engine_mismatch_explain'|trans([engine])|raw }}

doctrine:
    dbal:
        connections:
            default:
                default_table_options:
                    charset: utf8
                    collation: utf8_unicode_ci
{% elseif errorCode == 5 %}

{{ 'innodb_large_prefix'|trans }}

{{ 'innodb_large_prefix_explain'|trans|raw }}

doctrine:
    dbal:
        connections:
            default:
                default_table_options:
                    charset: utf8
                    collation: utf8_unicode_ci
{% elseif errorCode == 6 %}

{{ 'innodb_additional'|trans }}

{{ 'innodb_additional_explain'|trans|raw }}

innodb_large_prefix = 1
innodb_file_format = Barracuda
innodb_file_per_table = 1
{% endif %}
{% endblock %}