This commit is contained in:
xesmyd committed 2025-08-14 22:41:49 +02:00
1 parent 2de81ccc46
commit 8ce45119b6
39774 files changed
+4309466

No files matched your search

@@ -0,0 +1 @@
{% include '@Twig/Exception/error.xml.twig' %}
@@ -0,0 +1,4 @@
/*
{{ status_code }} {{ status_text }}
*/
@@ -0,0 +1,16 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="{{ _charset }}" />
<title>An Error Occurred: {{ status_text }}</title>
</head>
<body>
<h1>Oops! An Error Occurred</h1>
<h2>The server returned a "{{ status_code }} {{ status_text }}".</h2>
<div>
Something is broken. Please let us know what you were doing when this error occurred.
We will fix it as soon as possible. Sorry for any inconvenience caused.
</div>
</body>
</html>
@@ -0,0 +1,4 @@
/*
{{ status_code }} {{ status_text }}
*/
@@ -0,0 +1 @@
{{ { 'error': { 'code': status_code, 'message': status_text } }|json_encode|raw }}
@@ -0,0 +1 @@
{% include '@Twig/Exception/error.xml.twig' %}
@@ -0,0 +1,7 @@
Oops! An Error Occurred
=======================
The server returned a "{{ status_code }} {{ status_text }}".
Something is broken. Please let us know what you were doing when this error occurred.
We will fix it as soon as possible. Sorry for any inconvenience caused.
@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="{{ _charset }}" ?>
<error code="{{ status_code }}" message="{{ status_text }}" />
@@ -0,0 +1 @@
{% include '@Twig/Exception/exception.xml.twig' with { 'exception': exception } %}
@@ -0,0 +1,3 @@
/*
{% include '@Twig/Exception/exception.txt.twig' with { 'exception': exception } %}
*/
@@ -0,0 +1,120 @@
<div class="block-exception">
<div class="block-exception-detected clear-fix">
<div class="support">
<a href="http://symfony.com/support">Need support?</a>
</div>
<div class="illustration-exception">
{{ include('@Twig/Exception/exception.svg') }}
</div>
<div class="text-exception">
<div class="open-quote">“</div>
<h1>{{ exception.message|nl2br|format_file_from_text }}</h1>
<div>
<strong>{{ status_code }}</strong> {{ status_text }} - {{ exception.class|abbr_class }}
</div>
{% set previous_count = exception.allPrevious|length %}
{% if previous_count %}
<div class="linked"><span><strong>{{ previous_count }}</strong> linked Exception{{ previous_count > 1 ? 's' : '' }}:</span>
<ul>
{% for i, previous in exception.allPrevious %}
<li>
{{ previous.class|abbr_class }} <a href="#traces-link-{{ i + 1 }}" onclick="toggle('traces-{{ i + 1 }}', 'traces'); switchIcons('icon-traces-{{ i + 1 }}-open', 'icon-traces-{{ i + 1 }}-close');">&#187;</a>
</li>
{% endfor %}
</ul>
</div>
{% endif %}
<div class="close-quote">”</div>
</div>
</div>
</div>
{% for position, e in exception.toarray %}
{% include '@Twig/Exception/traces.html.twig' with { 'exception': e, 'position': position, 'count': previous_count } only %}
{% endfor %}
{% if logger %}
<div class="block">
<div class="logs clear-fix">
{% spaceless %}
<h2>
Logs&nbsp;
<a href="#" onclick="toggle('logs'); switchIcons('icon-logs-open', 'icon-logs-close'); return false;">
<img class="toggle" id="icon-logs-open" alt="+" src="data:image/gif;base64,R0lGODlhEgASAMQTANft99/v+Ga44bHb8ITG52S44dXs9+z1+uPx+YvK6WC24G+944/M6W28443L6dnu+Ge54v/+/l614P///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAABMALAAAAAASABIAQAVS4DQBTiOd6LkwgJgeUSzHSDoNaZ4PU6FLgYBA5/vFID/DbylRGiNIZu74I0h1hNsVxbNuUV4d9SsZM2EzWe1qThVzwWFOAFCQFa1RQq6DJB4iIQA7" style="display: none" />
<img class="toggle" id="icon-logs-close" alt="-" src="data:image/gif;base64,R0lGODlhEgASAMQSANft94TG57Hb8GS44ez1+mC24IvK6ePx+Wa44dXs92+942e54o3L6W2844/M6dnu+P/+/l614P///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAABIALAAAAAASABIAQAVCoCQBTBOd6Kk4gJhGBCTPxysJb44K0qD/ER/wlxjmisZkMqBEBW5NHrMZmVKvv9hMVsO+hE0EoNAstEYGxG9heIhCADs=" style="display: inline" />
</a>
</h2>
{% endspaceless %}
{% if logger.counterrors %}
<div class="error-count">
<span>
{{ logger.counterrors }} error{{ logger.counterrors > 1 ? 's' : ''}}
</span>
</div>
{% endif %}
</div>
<div id="logs">
{% include '@Twig/Exception/logs.html.twig' with { 'logs': logger.logs } only %}
</div>
</div>
{% endif %}
{% if currentContent %}
<div class="block">
{% spaceless %}
<h2>
Content of the Output&nbsp;
<a href="#" onclick="toggle('output-content'); switchIcons('icon-content-open', 'icon-content-close'); return false;">
<img class="toggle" id="icon-content-close" alt="-" src="data:image/gif;base64,R0lGODlhEgASAMQSANft94TG57Hb8GS44ez1+mC24IvK6ePx+Wa44dXs92+942e54o3L6W2844/M6dnu+P/+/l614P///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAABIALAAAAAASABIAQAVCoCQBTBOd6Kk4gJhGBCTPxysJb44K0qD/ER/wlxjmisZkMqBEBW5NHrMZmVKvv9hMVsO+hE0EoNAstEYGxG9heIhCADs=" style="display: none" />
<img class="toggle" id="icon-content-open" alt="+" src="data:image/gif;base64,R0lGODlhEgASAMQTANft99/v+Ga44bHb8ITG52S44dXs9+z1+uPx+YvK6WC24G+944/M6W28443L6dnu+Ge54v/+/l614P///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAABMALAAAAAASABIAQAVS4DQBTiOd6LkwgJgeUSzHSDoNaZ4PU6FLgYBA5/vFID/DbylRGiNIZu74I0h1hNsVxbNuUV4d9SsZM2EzWe1qThVzwWFOAFCQFa1RQq6DJB4iIQA7" style="display: inline" />
</a>
</h2>
{% endspaceless %}
<div id="output-content" style="display: none">
{{ currentContent }}
</div>
<div style="clear: both"></div>
</div>
{% endif %}
{% include '@Twig/Exception/traces_text.html.twig' with { 'exception': exception } only %}
<script type="text/javascript">//<![CDATA[
function toggle(id, clazz) {
var el = document.getElementById(id),
current = el.style.display,
i;
if (clazz) {
var tags = document.getElementsByTagName('*');
for (i = tags.length - 1; i >= 0; i--) {
if (tags[i].className === clazz) {
tags[i].style.display = 'none';
}
}
}
el.style.display = current === 'none' ? 'block' : 'none';
}
function switchIcons(id1, id2) {
var icon1, icon2, display1, display2;
icon1 = document.getElementById(id1);
icon2 = document.getElementById(id2);
display1 = icon1.style.display;
display2 = icon2.style.display;
icon1.style.display = display2;
icon2.style.display = display1;
}
//]]></script>
@@ -0,0 +1,3 @@
/*
{% include '@Twig/Exception/exception.txt.twig' with { 'exception': exception } %}
*/
@@ -0,0 +1 @@
{{ { 'error': { 'code': status_code, 'message': status_text, 'exception': exception.toarray } }|json_encode|raw }}
@@ -0,0 +1 @@
{% include '@Twig/Exception/exception.xml.twig' with { 'exception': exception } %}
@@ -0,0 +1,7 @@
<svg xmlns="http://www.w3.org/2000/svg" width="112" height="126" viewBox="0 0 112 126">
<path d="M106.17 97a1.92 1.92 0 0 1-2 0 2.05 2.05 0 0 1 0-1.87c3.92-5.25-4.58-5.46-1.9-.6.37.66.5 2.66-.1 2.48-5.17-1.57-5 1.95 0 2 .63 0-1 5.1-5.17 4.92V97c0-26.67-39.2-26.67-39.2 0v6.88c-4.8.74-6.44-4.82-5.8-4.88 5-.1 5.16-3.62 0-2-.6.18-.48-1.82-.12-2.48 2.7-4.86-5.8-4.65-1.9.6A2.05 2.05 0 0 1 50 97a1.92 1.92 0 0 1-2 0c-5.5-6.83-7.25 2.67 0 2 .5 0 1.64-.07 1.5.42-1.84 6.9 3.35 7 8.3 7.64V116c0 10.33 12.7 10.33 12.7 0 0 10.33 13 10.33 13 0 0 10.33 13.52 10.33 13.52 0v-9c4.95-.63 9.48-.85 7.67-7.6-.14-.47 1-.45 1.5-.4 7.22.67 5.47-8.83-.03-2zm-44-6c0-4.23 3.08-7.65 6.87-7.65S75.9 86.77 75.9 91a7.48 7.48 0 0 1-5.5 7.5 3.23 3.23 0 0 0 1.9-2.94 3.26 3.26 0 1 0-4.62 2.94 7.48 7.48 0 0 1-5.5-7.5zm15.33 21.5c-4.72 0-9.5-2.92-9.5-8.5a1 1 0 0 1 2 0c0 4.47 3.9 6.5 7.5 6.5s7.5-2 7.5-6.5a1 1 0 0 1 2 0c0 5.58-4.78 8.5-9.5 8.5zm9.7-14a3.26 3.26 0 1 0-2.72 0A7.5 7.5 0 0 1 79 91c0-4.23 3.08-7.65 6.88-7.65s6.87 3.42 6.87 7.65a7.5 7.5 0 0 1-5.54 7.48z" fill="#3f3f3f"/>
<g fill="#aacd4e">
<path d="M61.33 28.16a1.75 1.75 0 0 0 1.3.35 1.77 1.77 0 0 0 1.2-.63 1.6 1.6 0 0 0 .4-1.25 1.58 1.58 0 0 0-.67-1.12 1.8 1.8 0 0 0-1.32-.34 1.76 1.76 0 0 0-1.2.64 1.58 1.58 0 0 0-.36 1.2 1.6 1.6 0 0 0 .65 1.16z"/>
<path d="M56.65 70.4C75 66.1 88.42 52.52 88.42 36.42 88.42 16.86 68.62 1 44.22 1S0 16.86 0 36.42c0 19.26 19.2 34.92 43.12 35.4H43C43 77.2 50.88 84 57 84c-4.3-5.33-2.92-13-.35-13.6zm4.84-28.25a1.76 1.76 0 0 0-1.2.64 1.6 1.6 0 0 0-.38 1.2 1.6 1.6 0 0 0 .66 1.13 1.75 1.75 0 0 0 1.3.35l1.32-.15a1 1 0 0 1 .74.17.9.9 0 0 1 .35.64.9.9 0 0 1-.2.7 1 1 0 0 1-.68.36l-1.3.15a3.75 3.75 0 0 1-2.8-.72 3.53 3.53 0 0 1-.6-5.06 4 4 0 0 1 5.4-.57.9.9 0 0 1 .37.6.92.92 0 0 1-.35.83l-1.68 2a1.05 1.05 0 0 1-.66.36 1 1 0 0 1-.74-.2.9.9 0 0 1-.38-.65.9.9 0 0 1 .25-.7l.94-1.1a1.9 1.9 0 0 0-.38 0zm11.65-5.23a.9.9 0 0 1 .2-.7 1 1 0 0 1 .67-.35 1 1 0 0 1 .75.17.88.88 0 0 1 .36.64l.6 5a.9.9 0 0 1-.2.72 1 1 0 0 1-.7.35 1 1 0 0 1-.75-.18.92.92 0 0 1-.35-.65zM76 45.25a1.3 1.3 0 0 1-1.74.2 1.1 1.1 0 0 1-.45-.77 1.06 1.06 0 0 1 .28-.85 1.3 1.3 0 0 1 1.72-.2 1.06 1.06 0 0 1 .46.76 1.1 1.1 0 0 1-.26.85zm-8.38-21.77a3.4 3.4 0 0 1 4.52-.53 2.83 2.83 0 0 1 1.17 2l.5 4.15a1.07 1.07 0 0 0 .44.76 1.2 1.2 0 0 0 .88.23h.06a1 1 0 0 1 .75.17.9.9 0 0 1 .36.65.88.88 0 0 1-.2.7 1 1 0 0 1-.7.35h-.06a3.2 3.2 0 0 1-2.37-.6 2.86 2.86 0 0 1-1.17-2l-.08-.66-.4-3.5a1 1 0 0 0-.45-.74 1.18 1.18 0 0 0-.88-.23 1.2 1.2 0 0 0-.82.42 1 1 0 0 0-.25.84l.37 3.16a.88.88 0 0 1-.2.7 1 1 0 0 1-.7.35 1 1 0 0 1-.73-.16.9.9 0 0 1-.35-.64L67 25.72a2.83 2.83 0 0 1 .62-2.24zm1.2 15.9a1 1 0 0 1 .76.18.9.9 0 0 1 .36.65.88.88 0 0 1-.2.72 1 1 0 0 1-.7.34 1.76 1.76 0 0 0-1.18.64 1.6 1.6 0 0 0-.37 1.24 1.56 1.56 0 0 0 .64 1.12 1.77 1.77 0 0 0 1.3.34 1.8 1.8 0 0 0 1.2-.64A1.57 1.57 0 0 0 71 42.7l-.64-5.45a.88.88 0 0 1 .2-.7 1 1 0 0 1 .67-.35 1 1 0 0 1 .75.17.88.88 0 0 1 .36.64l.66 5.47a3.35 3.35 0 0 1-.8 2.65 4 4 0 0 1-5.33.63 3.5 3.5 0 0 1-.6-5 3.76 3.76 0 0 1 2.56-1.37zM59.48 24.6a4 4 0 0 1 5.35-.6 3.5 3.5 0 0 1 .6 5.06 4 4 0 0 1-5.35.63 3.53 3.53 0 0 1-.6-5.07zM58.2 30a.88.88 0 0 1-.2.7 1 1 0 0 1-.7.35 1 1 0 0 1-.74-.17.9.9 0 0 1-.35-.64L55.6 25a.9.9 0 0 1 .2-.7 1 1 0 0 1 .67-.35q1-.12 1.1.82zm-2.9-8.56a1.27 1.27 0 0 1 1.7-.24 1.1 1.1 0 0 1 .2 1.63 1.27 1.27 0 0 1-1.73.2 1.1 1.1 0 0 1-.2-1.63zm-6.87 2.07a1 1 0 0 1 .68-.34 1 1 0 0 1 .76.18.9.9 0 0 1 .36.65l.1.73 3.36-.4a1 1 0 0 1 .74.17.9.9 0 0 1 .35.64.86.86 0 0 1-.87 1.06l-3.37.4.26 2.17a1.07 1.07 0 0 0 .43.76 1.2 1.2 0 0 0 .88.23 1.17 1.17 0 0 0 .8-.43 1.08 1.08 0 0 0 .25-.84v-.13a.87.87 0 0 1 .2-.7 1 1 0 0 1 .7-.35 1 1 0 0 1 .73.18.9.9 0 0 1 .36.63v.13a2.85 2.85 0 0 1-.66 2.24 3.16 3.16 0 0 1-2.15 1.14A3.2 3.2 0 0 1 50 31a2.84 2.84 0 0 1-1.17-2l-.57-4.78a.92.92 0 0 1 .17-.75zM28.1 28.3a3.76 3.76 0 0 1 2.55-1.3 1 1 0 0 1 .75.18.9.9 0 0 1 .36.65.88.88 0 0 1-.2.7 1 1 0 0 1-.7.35 1.76 1.76 0 0 0-1.18.64 1.6 1.6 0 0 0-.38 1.24 1.57 1.57 0 0 0 .7 1.1 1.77 1.77 0 0 0 1.3.33 1 1 0 0 1 .76.17.9.9 0 0 1 .36.65.88.88 0 0 1-.2.7 1 1 0 0 1-.7.35 3.76 3.76 0 0 1-2.77-.7 3.5 3.5 0 0 1-.6-5zM13 31.23a4.7 4.7 0 0 1 1.1-3.72 5.27 5.27 0 0 1 3.58-1.9 1 1 0 0 1 .75.18.88.88 0 0 1 .36.64.9.9 0 0 1-.2.7 1 1 0 0 1-.7.36 3.35 3.35 0 0 0-1.9.82 3.07 3.07 0 0 0-1 1.7l3.1-.37a1 1 0 0 1 .75.17.9.9 0 0 1 .36.64.9.9 0 0 1-.2.7 1 1 0 0 1-.68.36l-3.15.37a3.06 3.06 0 0 0 1.37 1.47 3.34 3.34 0 0 0 2 .4 1 1 0 0 1 .75.17.9.9 0 0 1 .35.66.88.88 0 0 1-.2.7 1 1 0 0 1-.7.35 5.27 5.27 0 0 1-3.9-1A4.7 4.7 0 0 1 13 31.23zm8.4 19.9a4 4 0 0 1-5.34.64 3.5 3.5 0 0 1-.6-5A3.76 3.76 0 0 1 18 45.4a1 1 0 0 1 .75.17.9.9 0 0 1 .36.65.88.88 0 0 1-.2.7 1 1 0 0 1-.68.35 1.76 1.76 0 0 0-1.22.63 1.6 1.6 0 0 0-.37 1.24 1.57 1.57 0 0 0 .65 1.12 1.77 1.77 0 0 0 1.3.34 1.8 1.8 0 0 0 1.22-.6 1.57 1.57 0 0 0 .38-1.25l-.65-5.46a.9.9 0 0 1 .2-.7 1 1 0 0 1 .67-.36 1 1 0 0 1 .75.17.88.88 0 0 1 .36.65l.66 5.46a3.35 3.35 0 0 1-.8 2.63zm1.07-16.93a.88.88 0 0 1-.2.7 1 1 0 0 1-.7.34 1 1 0 0 1-.73-.17.9.9 0 0 1-.35-.64v-.36a2.86 2.86 0 0 1 .8-2.38 2.8 2.8 0 0 1-1.34-2.13v-.36a.9.9 0 0 1 .2-.7 1 1 0 0 1 .67-.34q1-.12 1.1.82v.36a1.05 1.05 0 0 0 .45.76 1.2 1.2 0 0 0 .88.22 1.17 1.17 0 0 0 .8-.43 1.06 1.06 0 0 0 .24-.84v-.36a.9.9 0 0 1 .2-.7 1 1 0 0 1 .7-.35 1 1 0 0 1 .73.17.9.9 0 0 1 .35.64v.36a2.8 2.8 0 0 1-.8 2.37 2.86 2.86 0 0 1 1.33 2.12v.36a.9.9 0 0 1-.18.7 1 1 0 0 1-.68.35 1 1 0 0 1-.74-.18.87.87 0 0 1-.37-.63v-.36a1.07 1.07 0 0 0-.44-.75 1.16 1.16 0 0 0-.88-.23 1.2 1.2 0 0 0-.8.43 1.07 1.07 0 0 0-.26.84zm4.07 12.08a1.76 1.76 0 0 0-1.2.64 1.6 1.6 0 0 0-.36 1.25 1.6 1.6 0 0 0 .66 1.13 1.75 1.75 0 0 0 1.3.35l1.32-.15a1 1 0 0 1 .74.17.9.9 0 0 1 .35.64.9.9 0 0 1-.2.72 1 1 0 0 1-.67.35l-1.3.15a3.75 3.75 0 0 1-2.8-.72 3.53 3.53 0 0 1-.6-5.06 4 4 0 0 1 5.4-.57.9.9 0 0 1 .37.6.92.92 0 0 1-.34.83l-1.67 2a1 1 0 0 1-.66.36 1 1 0 0 1-.75-.2.9.9 0 0 1-.38-.65.9.9 0 0 1 .25-.68l.93-1.12a1.9 1.9 0 0 0-.42-.02zm9.76 3.25a3.4 3.4 0 0 1-4.52.54 2.84 2.84 0 0 1-1.17-2l-.6-4.8a.92.92 0 0 1 .2-.72 1 1 0 0 1 .67-.35 1 1 0 0 1 .75.18.9.9 0 0 1 .38.62l.1.74 3.36-.4a1 1 0 0 1 .74.17.9.9 0 0 1 .35.65.86.86 0 0 1-.87 1.06l-3.37.4.27 2.18a1.07 1.07 0 0 0 .44.76 1.2 1.2 0 0 0 .9.23 1.17 1.17 0 0 0 .8-.43 1.08 1.08 0 0 0 .23-.84v-.1a.87.87 0 0 1 .2-.7 1 1 0 0 1 .7-.35 1 1 0 0 1 .73.18.9.9 0 0 1 .36.63v.13a2.85 2.85 0 0 1-.65 2Line truncated
</g>
</svg>

After

Width:  |  Height:  |  Size: 8.0 KiB

@@ -0,0 +1,7 @@
[exception] {{ status_code ~ ' | ' ~ status_text ~ ' | ' ~ exception.class }}
[message] {{ exception.message }}
{% for i, e in exception.toarray %}
[{{ i + 1 }}] {{ e.class }}: {{ e.message }}
{% include '@Twig/Exception/traces.txt.twig' with { 'exception': e } only %}
{% endfor %}
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="{{ _charset }}" ?>
<error code="{{ status_code }}" message="{{ status_text }}">
{% for e in exception.toarray %}
<exception class="{{ e.class }}" message="{{ e.message }}">
{% include '@Twig/Exception/traces.xml.twig' with { 'exception': e } only %}
</exception>
{% endfor %}
</error>
@@ -0,0 +1,142 @@
{% extends '@Twig/layout.html.twig' %}
{% block head %}
<style>
.sf-reset .traces {
padding-bottom: 14px;
}
.sf-reset .traces li {
font-size: 12px;
color: #868686;
padding: 5px 4px;
list-style-type: decimal;
margin-left: 20px;
}
.sf-reset #logs .traces li.error {
font-style: normal;
color: #AA3333;
background: #f9ecec;
}
.sf-reset #logs .traces li.warning {
font-style: normal;
background: #ffcc00;
}
/* fix for Opera not liking empty <li> */
.sf-reset .traces li:after {
content: "\00A0";
}
.sf-reset .trace {
border: 1px solid #D3D3D3;
padding: 10px;
overflow: auto;
margin: 10px 0 20px;
}
.sf-reset .block-exception {
-moz-border-radius: 16px;
-webkit-border-radius: 16px;
border-radius: 16px;
margin-bottom: 20px;
background-color: #f6f6f6;
border: 1px solid #dfdfdf;
padding: 30px 28px;
word-wrap: break-word;
overflow: hidden;
}
.sf-reset .block-exception div {
color: #313131;
font-size: 10px;
}
.sf-reset .block-exception-detected .illustration-exception,
.sf-reset .block-exception-detected .text-exception {
float: left;
}
.sf-reset .block-exception-detected .illustration-exception {
width: 152px;
}
.sf-reset .block-exception-detected .text-exception {
width: 670px;
padding: 30px 44px 24px 46px;
position: relative;
}
.sf-reset .text-exception .open-quote,
.sf-reset .text-exception .close-quote {
font-family: Arial, Helvetica, sans-serif;
position: absolute;
color: #C9C9C9;
font-size: 8em;
}
.sf-reset .open-quote {
top: 0;
left: 0;
}
.sf-reset .close-quote {
bottom: -0.5em;
right: 50px;
}
.sf-reset .block-exception p {
font-family: Arial, Helvetica, sans-serif;
}
.sf-reset .block-exception p a,
.sf-reset .block-exception p a:hover {
color: #565656;
}
.sf-reset .logs h2 {
float: left;
width: 654px;
}
.sf-reset .error-count, .sf-reset .support {
float: right;
width: 170px;
text-align: right;
}
.sf-reset .error-count span {
display: inline-block;
background-color: #aacd4e;
-moz-border-radius: 6px;
-webkit-border-radius: 6px;
border-radius: 6px;
padding: 4px;
color: white;
margin-right: 2px;
font-size: 11px;
font-weight: bold;
}
.sf-reset .support a {
display: inline-block;
-moz-border-radius: 6px;
-webkit-border-radius: 6px;
border-radius: 6px;
padding: 4px;
color: #000000;
margin-right: 2px;
font-size: 11px;
font-weight: bold;
}
.sf-reset .toggle {
vertical-align: middle;
}
.sf-reset .linked ul,
.sf-reset .linked li {
display: inline;
}
.sf-reset #output-content {
color: #000;
font-size: 12px;
}
.sf-reset #traces-text pre {
white-space: pre;
font-size: 12px;
font-family: monospace;
}
</style>
{% endblock %}
{% block title %}
{{ exception.message }} ({{ status_code }} {{ status_text }})
{% endblock %}
{% block body %}
{% include '@Twig/Exception/exception.html.twig' %}
{% endblock %}
@@ -0,0 +1,7 @@
<ol class="traces logs">
{% for log in logs %}
<li{% if log.priority >= 400 %} class="error"{% elseif log.priority >= 300 %} class="warning"{% endif %}>
{{ log.priorityName }} - {{ log.message|format_log_message(log.context) }}
</li>
{% endfor %}
</ol>
@@ -0,0 +1,22 @@
{% if trace.function %}
at
<strong>
<abbr title="{{ trace.class }}">{{ trace.short_class }}</abbr>
{{ trace.type ~ trace.function }}
</strong>
({{ trace.args|format_args }})
{% endif %}
{% if trace.file is defined and trace.file and trace.line is defined and trace.line %}
{{ trace.function ? '<br />' : '' }}
in {{ trace.file|format_file(trace.line) }}&nbsp;
{% spaceless %}
<a href="#" onclick="toggle('trace-{{ prefix ~ '-' ~ i }}'); switchIcons('icon-{{ prefix ~ '-' ~ i }}-open', 'icon-{{ prefix ~ '-' ~ i }}-close'); return false;">
<img class="toggle" id="icon-{{ prefix ~ '-' ~ i }}-close" alt="-" src="data:image/gif;base64,R0lGODlhEgASAMQSANft94TG57Hb8GS44ez1+mC24IvK6ePx+Wa44dXs92+942e54o3L6W2844/M6dnu+P/+/l614P///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAABIALAAAAAASABIAQAVCoCQBTBOd6Kk4gJhGBCTPxysJb44K0qD/ER/wlxjmisZkMqBEBW5NHrMZmVKvv9hMVsO+hE0EoNAstEYGxG9heIhCADs=" style="display: {{ 0 == i ? 'inline' : 'none' }}" />
<img class="toggle" id="icon-{{ prefix ~ '-' ~ i }}-open" alt="+" src="data:image/gif;base64,R0lGODlhEgASAMQTANft99/v+Ga44bHb8ITG52S44dXs9+z1+uPx+YvK6WC24G+944/M6W28443L6dnu+Ge54v/+/l614P///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAABMALAAAAAASABIAQAVS4DQBTiOd6LkwgJgeUSzHSDoNaZ4PU6FLgYBA5/vFID/DbylRGiNIZu74I0h1hNsVxbNuUV4d9SsZM2EzWe1qThVzwWFOAFCQFa1RQq6DJB4iIQA7" style="display: {{ 0 == i ? 'none' : 'inline' }}" />
</a>
{% endspaceless %}
<div id="trace-{{ prefix ~ '-' ~ i }}" style="display: {{ 0 == i ? 'block' : 'none' }}" class="trace">
{{ trace.file|file_excerpt(trace.line) }}
</div>
{% endif %}
@@ -0,0 +1,8 @@
{% if trace.function %}
at {{ trace.class ~ trace.type ~ trace.function }}({{ trace.args|format_args_as_text }})
{% else %}
at n/a
{% endif %}
{% if trace.file is defined and trace.line is defined %}
in {{ trace.file }} line {{ trace.line }}
{% endif %}
@@ -0,0 +1,25 @@
<div class="block">
{% if count > 0 %}
<h2>
<span><small>[{{ count - position + 1 }}/{{ count + 1 }}]</small></span>
{{ exception.class|abbr_class }}: {{ exception.message|nl2br|format_file_from_text }}&nbsp;
{% spaceless %}
<a href="#" onclick="toggle('traces-{{ position }}', 'traces'); switchIcons('icon-traces-{{ position }}-open', 'icon-traces-{{ position }}-close'); return false;">
<img class="toggle" id="icon-traces-{{ position }}-close" alt="-" src="data:image/gif;base64,R0lGODlhEgASAMQSANft94TG57Hb8GS44ez1+mC24IvK6ePx+Wa44dXs92+942e54o3L6W2844/M6dnu+P/+/l614P///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAABIALAAAAAASABIAQAVCoCQBTBOd6Kk4gJhGBCTPxysJb44K0qD/ER/wlxjmisZkMqBEBW5NHrMZmVKvv9hMVsO+hE0EoNAstEYGxG9heIhCADs=" style="display: {{ 0 == count ? 'inline' : 'none' }}" />
<img class="toggle" id="icon-traces-{{ position }}-open" alt="+" src="data:image/gif;base64,R0lGODlhEgASAMQTANft99/v+Ga44bHb8ITG52S44dXs9+z1+uPx+YvK6WC24G+944/M6W28443L6dnu+Ge54v/+/l614P///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAABMALAAAAAASABIAQAVS4DQBTiOd6LkwgJgeUSzHSDoNaZ4PU6FLgYBA5/vFID/DbylRGiNIZu74I0h1hNsVxbNuUV4d9SsZM2EzWe1qThVzwWFOAFCQFa1RQq6DJB4iIQA7" style="display: {{ 0 == count ? 'none' : 'inline' }}" />
</a>
{% endspaceless %}
</h2>
{% else %}
<h2>Stack Trace</h2>
{% endif %}
<a id="traces-link-{{ position }}"></a>
<ol class="traces list-exception" id="traces-{{ position }}" style="display: {{ 0 == count ? 'block' : 'none' }}">
{% for i, trace in exception.trace %}
<li>
{% include '@Twig/Exception/trace.html.twig' with { 'prefix': position, 'i': i, 'trace': trace } only %}
</li>
{% endfor %}
</ol>
</div>
@@ -0,0 +1,6 @@
{% if exception.trace|length %}
{% for trace in exception.trace %}
{% include '@Twig/Exception/trace.txt.twig' with { 'trace': trace } only %}
{% endfor %}
{% endif %}
@@ -0,0 +1,8 @@
<traces>
{% for trace in exception.trace %}
<trace>
{% include '@Twig/Exception/trace.txt.twig' with { 'trace': trace } only %}
</trace>
{% endfor %}
</traces>
@@ -0,0 +1,18 @@
<div class="block">
<h2>
Stack Trace (Plain Text)&nbsp;
{% spaceless %}
<a href="#" onclick="toggle('traces-text'); switchIcons('icon-traces-text-open', 'icon-traces-text-close'); return false;">
<img class="toggle" id="icon-traces-text-close" alt="-" src="data:image/gif;base64,R0lGODlhEgASAMQSANft94TG57Hb8GS44ez1+mC24IvK6ePx+Wa44dXs92+942e54o3L6W2844/M6dnu+P/+/l614P///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAABIALAAAAAASABIAQAVCoCQBTBOd6Kk4gJhGBCTPxysJb44K0qD/ER/wlxjmisZkMqBEBW5NHrMZmVKvv9hMVsO+hE0EoNAstEYGxG9heIhCADs=" style="display: none" />
<img class="toggle" id="icon-traces-text-open" alt="+" src="data:image/gif;base64,R0lGODlhEgASAMQTANft99/v+Ga44bHb8ITG52S44dXs9+z1+uPx+YvK6WC24G+944/M6W28443L6dnu+Ge54v/+/l614P///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAABMALAAAAAASABIAQAVS4DQBTiOd6LkwgJgeUSzHSDoNaZ4PU6FLgYBA5/vFID/DbylRGiNIZu74I0h1hNsVxbNuUV4d9SsZM2EzWe1qThVzwWFOAFCQFa1RQq6DJB4iIQA7" style="display: inline" />
</a>
{% endspaceless %}
</h2>
<div id="traces-text" class="trace" style="display: none;">
<pre>{% for i, e in exception.toarray %}
[{{ i + 1 }}] {{ e.class }}: {{ e.message }}
{% include '@Twig/Exception/traces.txt.twig' with { 'exception': e } only %}
{% endfor %}</pre>
</div>
</div>