|
| 1 | +<?php |
| 2 | +/** @var array $_ */ |
| 3 | +/** @var \OCP\IL10N $l */ |
| 4 | + |
| 5 | +style('core', ['styles', 'header']); |
| 6 | +?> |
| 7 | + <h2 class="title is-1"><?php p($l->t('Internal Server Error')) ?></h2> |
| 8 | + </div> |
| 9 | + <p class="subtitle is-4"><?php p($l->t('The server encountered an internal error and was unable to complete your request.')) ?></p> |
| 10 | + <p class="subtitle is-6"><?php p($l->t('Please contact the server administrator if this error reappears multiple times and include the technical details below in your report.')) ?></p> |
| 11 | + <p><?php print_unescaped($l->t('More details can be found in the <a target="_blank" rel="noreferrer" href="%s">server log</a>.', [link_to_docs('admin-logfiles')])); ?></p> |
| 12 | + <br> |
| 13 | + <h2 class="title is-3"><strong><?php p($l->t('Technical details')) ?></strong></h2> |
| 14 | + <div class="message is-danger"> |
| 15 | + <ul class="message-body"> |
| 16 | + <li><?php p($l->t('Remote Address: %s', $_['remoteAddr'])) ?></li> |
| 17 | + <li><?php p($l->t('Request ID: %s', $_['requestID'])) ?></li> |
| 18 | + <?php if ($_['debugMode']): ?> |
| 19 | + <li><?php p($l->t('Type: %s', $_['errorClass'])) ?></li> |
| 20 | + <li><?php p($l->t('Code: %s', $_['errorCode'])) ?></li> |
| 21 | + <li><?php p($l->t('Message: %s', $_['errorMsg'])) ?></li> |
| 22 | + <li><?php p($l->t('File: %s', $_['file'])) ?></li> |
| 23 | + <li><?php p($l->t('Line: %s', $_['line'])) ?></li> |
| 24 | + <?php endif; ?> |
| 25 | + </ul> |
| 26 | + </div> |
| 27 | + |
| 28 | +<?php if ($_['debugMode']): ?> |
| 29 | + <br /> |
| 30 | + <h2><strong><?php p($l->t('Trace')) ?></strong></h2> |
| 31 | + <pre><?php p($_['trace']) ?></pre> |
| 32 | +<?php endif; ?> |
| 33 | + </span> |
0 commit comments