Files
firefly-iii/resources/views/debug.twig

47 lines
1.9 KiB
Twig
Raw Normal View History

2017-11-01 20:23:28 +01:00
<html>
<head>
<title>Debug page</title>
</head>
<body>
2017-11-03 10:28:45 +01:00
<p style="font-family:Arial, Arial, Helvetica, sans-serif;font-size:12pt;width:600px;">
If you are running into problems, you can use the information in this box as debug information. Please copy-and-paste into a new
or existing <a href="https://github.com/firefly-iii/firefly-iii/issues">Github issue</a>. It will generate a beautiful table that can
be used to quickly diagnose your problem.
2017-11-01 20:23:28 +01:00
</p>
2017-11-03 10:28:45 +01:00
<textarea rows="30" cols="100" name="debug_info" style="font-family:Menlo, Monaco, Consolas, monospace;font-size:8pt;">
2017-11-01 20:23:28 +01:00
Debug information generated at {{ now }} for Firefly III version **{{ FF_VERSION }}**.
| Variable | Content |
| --- | --- |
| FF version | {{ FF_VERSION }} |
| PHP version | {{ phpVersion }} |
2017-11-03 10:28:45 +01:00
| Host | {{ phpOs }} |
| Interface | {{ interface }} |
2017-11-01 20:23:28 +01:00
| Loaded extensions | {{ extensions }} |
| UserID | {{ Auth.user.id }} |
| DB drivers | {{ drivers }} |
| Current driver | {{ currentDriver }} |
| Using Sandstorm? | {% if SANDSTORM == true %}yes{% else %}no{% endif %} |
{% if SANDSTORM == true %}| Sandstorm anon? | {% if SANDSTORM_ANON == true %}yes{% else %}no{% endif %} |{% endif %}
2017-11-08 08:23:58 +01:00
| Is Sandstorm (.env) | {{ isSandstorm }} |
| Is Docker (.env) | {{ isDocker }} |
| Trusted proxies (.env) | {{ trustedProxies }} |
2017-11-03 10:28:45 +01:00
| User agent | {{ userAgent }} |
2017-11-08 08:23:58 +01:00
2017-11-03 10:28:45 +01:00
</textarea>
<p style="font-family:Arial, Arial, Helvetica, sans-serif;font-size:12pt;width:600px;color:#a00;">
You may also share the content of the box below. You can also copy-and-paste this into a new
or existing <a href="https://github.com/firefly-iii/firefly-iii/issues">Github issue</a>. However, the content of this
box may contain private information such as account names, transaction details or email addresses.
</p>
<textarea rows="30" cols="100" name="log_info" style="font-family:Menlo, Monaco, Consolas, monospace;font-size:7pt;">
```
{{ logContent }}
```
2017-11-01 20:23:28 +01:00
</textarea>
</body>
</html>