Skip to content

Commit c1a67a2

Browse files
committed
re-add former error text and information
1 parent 42475f6 commit c1a67a2

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

app/Resources/views/error/index.html.twig

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,20 @@
33
{% block content %}
44
<h1>Oops! An Error Occurred</h1>
55
<h2>The server returned a "{{ status_code }} {{ status_text }}".</h2>
6-
7-
<p>
8-
Something is broken. Please let us know what you were doing when this error occurred.
9-
We will fix it as soon as possible. Sorry for any inconvenience caused.
6+
<p>If you see this page, it means your sandbox is not correctly set up.
7+
Please see the README file in the sandbox root folder and if you can't figure out
8+
what is wrong, ask us on freenode irc #symfonycmf or the mailinglist [email protected].
109
</p>
1110

11+
<p>If you are seeing this page as the result of an edit in the admin tool, please report what you were doing
12+
to our <a href=\"https://github.com/symfonycmf/cmfsandbox/issues/new\">ticket system</a>,
13+
so that we can add means to prevent this issue in the future. But to get things working again
14+
for now, please just <a href="{{ app.request.getSchemeAndHttpHost() }}/reloadfixtures.php">click here</a>
15+
to reload the data fixtures.
16+
</p><p style='color:red;'>
17+
<strong>Detected the following problem</strong>:
18+
{{ exception.getMessage() }}
19+
1220
<h3>Suggested pages</h3>
1321

1422
{% for group, list in best_matches if list is not empty %}

0 commit comments

Comments
 (0)