<?php

use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;

/* @ContaoInstallation/configuration_error.html.twig */
class __TwigTemplate_4ae1e160ab9d004f13fed8bd7e084135b53ef106eac1ab91d4ccc963b4d10c55 extends \Twig\Template
{
    private $source;
    private $macros = [];

    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        $this->blocks = [
            'main' => [$this, 'block_main'],
        ];
    }

    protected function doGetParent(array $context)
    {
        // line 1
        return "@ContaoInstallation/layout.html.twig";
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        $macros = $this->macros;
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@ContaoInstallation/configuration_error.html.twig"));

        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@ContaoInstallation/configuration_error.html.twig"));

        $this->parent = $this->loadTemplate("@ContaoInstallation/layout.html.twig", "@ContaoInstallation/configuration_error.html.twig", 1);
        $this->parent->display($context, array_merge($this->blocks, $blocks));
        
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);

        
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);

    }

    // line 4
    public function block_main($context, array $blocks = [])
    {
        $macros = $this->macros;
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));

        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));

        // line 5
        echo "  <fieldset class=\"tl_tbox nolegend\">
    <h3>";
        // line 6
        echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("an_error_occurred", [], "ContaoInstallationBundle"), "html", null, true);
        echo "</h3>
    ";
        // line 7
        if (((isset($context["errorCode"]) || array_key_exists("errorCode", $context) ? $context["errorCode"] : (function () { throw new RuntimeError('Variable "errorCode" does not exist.', 7, $this->source); })()) == 1)) {
            // line 8
            echo "      <p class=\"tl_error\">";
            echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("unsupported_version", [], "ContaoInstallationBundle"), "html", null, true);
            echo "</p>
      <p>";
            // line 9
            echo twig_escape_filter($this->env, sprintf($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("unsupported_version_explain", [], "ContaoInstallationBundle"), (isset($context["version"]) || array_key_exists("version", $context) ? $context["version"] : (function () { throw new RuntimeError('Variable "version" does not exist.', 9, $this->source); })())), "html", null, true);
            echo "</p>
    ";
        } elseif ((        // line 10
(isset($context["errorCode"]) || array_key_exists("errorCode", $context) ? $context["errorCode"] : (function () { throw new RuntimeError('Variable "errorCode" does not exist.', 10, $this->source); })()) == 2)) {
            // line 11
            echo "      <p class=\"tl_error\">";
            echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("unsupported_collation", [], "ContaoInstallationBundle"), "html", null, true);
            echo "</p>
      <p>";
            // line 12
            echo sprintf($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("unsupported_collation_explain", [], "ContaoInstallationBundle"), (isset($context["collation"]) || array_key_exists("collation", $context) ? $context["collation"] : (function () { throw new RuntimeError('Variable "collation" does not exist.', 12, $this->source); })()));
            echo "</p>
      <div id=\"sql_wrapper\">
        <pre>doctrine:
    dbal:
        connections:
            default:
                default_table_options:
                    charset: utf8
                    collate: utf8_unicode_ci</pre>
      </div>
    ";
        } elseif ((        // line 22
(isset($context["errorCode"]) || array_key_exists("errorCode", $context) ? $context["errorCode"] : (function () { throw new RuntimeError('Variable "errorCode" does not exist.', 22, $this->source); })()) == 3)) {
            // line 23
            echo "      <p class=\"tl_error\">";
            echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("unsupported_engine", [], "ContaoInstallationBundle"), "html", null, true);
            echo "</p>
      <p>";
            // line 24
            echo sprintf($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("unsupported_engine_explain", [], "ContaoInstallationBundle"), (isset($context["engine"]) || array_key_exists("engine", $context) ? $context["engine"] : (function () { throw new RuntimeError('Variable "engine" does not exist.', 24, $this->source); })()));
            echo "</p>
      <div id=\"sql_wrapper\">
        <pre>doctrine:
    dbal:
        connections:
            default:
                default_table_options:
                    engine: MyISAM
                    row_format: ~</pre>
      </div>
    ";
        } elseif ((        // line 34
(isset($context["errorCode"]) || array_key_exists("errorCode", $context) ? $context["errorCode"] : (function () { throw new RuntimeError('Variable "errorCode" does not exist.', 34, $this->source); })()) == 4)) {
            // line 35
            echo "      <p class=\"tl_error\">";
            echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("engine_mismatch", [], "ContaoInstallationBundle"), "html", null, true);
            echo "</p>
      <p>";
            // line 36
            echo sprintf($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("engine_mismatch_explain", [], "ContaoInstallationBundle"), (isset($context["engine"]) || array_key_exists("engine", $context) ? $context["engine"] : (function () { throw new RuntimeError('Variable "engine" does not exist.', 36, $this->source); })()));
            echo "</p>
      <div id=\"sql_wrapper\">
        <pre>doctrine:
    dbal:
        connections:
            default:
                default_table_options:
                    charset: utf8
                    collate: utf8_unicode_ci</pre>
      </div>
    ";
        } elseif ((        // line 46
(isset($context["errorCode"]) || array_key_exists("errorCode", $context) ? $context["errorCode"] : (function () { throw new RuntimeError('Variable "errorCode" does not exist.', 46, $this->source); })()) == 5)) {
            // line 47
            echo "      <p class=\"tl_error\">";
            echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("innodb_large_prefix", [], "ContaoInstallationBundle"), "html", null, true);
            echo "</p>
      <p>";
            // line 48
            echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("innodb_large_prefix_explain", [], "ContaoInstallationBundle");
            echo "</p>
      <div id=\"sql_wrapper\">
        <pre>doctrine:
    dbal:
        connections:
            default:
                default_table_options:
                    charset: utf8
                    collate: utf8_unicode_ci</pre>
      </div>
    ";
        } elseif ((        // line 58
(isset($context["errorCode"]) || array_key_exists("errorCode", $context) ? $context["errorCode"] : (function () { throw new RuntimeError('Variable "errorCode" does not exist.', 58, $this->source); })()) == 6)) {
            // line 59
            echo "      <p class=\"tl_error\">";
            echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("innodb_additional", [], "ContaoInstallationBundle"), "html", null, true);
            echo "</p>
      <p>";
            // line 60
            echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("innodb_additional_explain", [], "ContaoInstallationBundle");
            echo "</p>
      <div id=\"sql_wrapper\">
        <pre>innodb_large_prefix = 1
innodb_file_format = Barracuda
innodb_file_per_table = 1</pre>
      </div>
    ";
        }
        // line 67
        echo "  </fieldset>
";
        
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);

        
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);

    }

    public function getTemplateName()
    {
        return "@ContaoInstallation/configuration_error.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  183 => 67,  173 => 60,  168 => 59,  166 => 58,  153 => 48,  148 => 47,  146 => 46,  133 => 36,  128 => 35,  126 => 34,  113 => 24,  108 => 23,  106 => 22,  93 => 12,  88 => 11,  86 => 10,  82 => 9,  77 => 8,  75 => 7,  71 => 6,  68 => 5,  58 => 4,  35 => 1,);
    }

    public function getSourceContext()
    {
        return new Source("{% extends \"@ContaoInstallation/layout.html.twig\" %}
{% trans_default_domain 'ContaoInstallationBundle' %}

{% block main %}
  <fieldset class=\"tl_tbox nolegend\">
    <h3>{{ 'an_error_occurred'|trans }}</h3>
    {% if errorCode == 1 %}
      <p class=\"tl_error\">{{ 'unsupported_version'|trans }}</p>
      <p>{{ 'unsupported_version_explain'|trans|format(version) }}</p>
    {% elseif errorCode == 2 %}
      <p class=\"tl_error\">{{ 'unsupported_collation'|trans }}</p>
      <p>{{ 'unsupported_collation_explain'|trans|format(collation)|raw }}</p>
      <div id=\"sql_wrapper\">
        <pre>doctrine:
    dbal:
        connections:
            default:
                default_table_options:
                    charset: utf8
                    collate: utf8_unicode_ci</pre>
      </div>
    {% elseif errorCode == 3 %}
      <p class=\"tl_error\">{{ 'unsupported_engine'|trans }}</p>
      <p>{{ 'unsupported_engine_explain'|trans|format(engine)|raw }}</p>
      <div id=\"sql_wrapper\">
        <pre>doctrine:
    dbal:
        connections:
            default:
                default_table_options:
                    engine: MyISAM
                    row_format: ~</pre>
      </div>
    {% elseif errorCode == 4 %}
      <p class=\"tl_error\">{{ 'engine_mismatch'|trans }}</p>
      <p>{{ 'engine_mismatch_explain'|trans|format(engine)|raw }}</p>
      <div id=\"sql_wrapper\">
        <pre>doctrine:
    dbal:
        connections:
            default:
                default_table_options:
                    charset: utf8
                    collate: utf8_unicode_ci</pre>
      </div>
    {% elseif errorCode == 5 %}
      <p class=\"tl_error\">{{ 'innodb_large_prefix'|trans }}</p>
      <p>{{ 'innodb_large_prefix_explain'|trans|raw }}</p>
      <div id=\"sql_wrapper\">
        <pre>doctrine:
    dbal:
        connections:
            default:
                default_table_options:
                    charset: utf8
                    collate: utf8_unicode_ci</pre>
      </div>
    {% elseif errorCode == 6 %}
      <p class=\"tl_error\">{{ 'innodb_additional'|trans }}</p>
      <p>{{ 'innodb_additional_explain'|trans|raw }}</p>
      <div id=\"sql_wrapper\">
        <pre>innodb_large_prefix = 1
innodb_file_format = Barracuda
innodb_file_per_table = 1</pre>
      </div>
    {% endif %}
  </fieldset>
{% endblock %}
", "@ContaoInstallation/configuration_error.html.twig", "/is/htdocs/wp12322556_AW0OHTSSL8/www/vierzehn/vendor/contao/installation-bundle/src/Resources/views/configuration_error.html.twig");
    }
}
