| 1 |
www |
1 |
<h1>An error occurred</h1>
|
|
|
2 |
<h2><?= $this->message ?></h2>
|
|
|
3 |
|
|
|
4 |
<?php if (! empty($this->display_exceptions)) : ?>
|
|
|
5 |
<?php if (isset($this->exception) && $this->exception instanceof \Throwable) : ?>
|
|
|
6 |
<hr/>
|
|
|
7 |
|
|
|
8 |
<h2>Additional information:</h2>
|
|
|
9 |
<h3><?= get_class($this->exception) ?></h3>
|
|
|
10 |
<dl>
|
|
|
11 |
<dt>File:</dt>
|
|
|
12 |
<dd>
|
|
|
13 |
<pre><?= $this->exception->getFile() ?>:<?= $this->exception->getLine() ?></pre>
|
|
|
14 |
</dd>
|
|
|
15 |
<dt>Message:</dt>
|
|
|
16 |
<dd>
|
|
|
17 |
<pre><?= $this->escapeHtml($this->exception->getMessage()) ?></pre>
|
|
|
18 |
</dd>
|
|
|
19 |
<dt>Stack trace:</dt>
|
|
|
20 |
<dd>
|
|
|
21 |
<pre><?= $this->escapeHtml($this->exception->getTraceAsString()) ?></pre>
|
|
|
22 |
</dd>
|
|
|
23 |
</dl>
|
|
|
24 |
|
|
|
25 |
<?php if ($ex = $this->exception->getPrevious()) : ?>
|
|
|
26 |
<hr/>
|
|
|
27 |
|
|
|
28 |
<h2>Previous exceptions:</h2>
|
|
|
29 |
<ul class="list-unstyled">
|
|
|
30 |
<?php $icount = 0 ?>
|
|
|
31 |
<?php while ($ex) : ?>
|
|
|
32 |
<li>
|
|
|
33 |
<h3><?= get_class($ex) ?></h3>
|
|
|
34 |
<dl>
|
|
|
35 |
<dt>File:</dt>
|
|
|
36 |
<dd>
|
|
|
37 |
<pre><?= $ex->getFile() ?>:<?= $ex->getLine() ?></pre>
|
|
|
38 |
</dd>
|
|
|
39 |
<dt>Message:</dt>
|
|
|
40 |
<dd>
|
|
|
41 |
<pre><?= $this->escapeHtml($ex->getMessage()) ?></pre>
|
|
|
42 |
</dd>
|
|
|
43 |
<dt>Stack trace:</dt>
|
|
|
44 |
<dd>
|
|
|
45 |
<pre><?= $this->escapeHtml($ex->getTraceAsString()) ?></pre>
|
|
|
46 |
</dd>
|
|
|
47 |
</dl>
|
|
|
48 |
</li>
|
|
|
49 |
<?php
|
|
|
50 |
$ex = $ex->getPrevious();
|
|
|
51 |
if (++$icount >= 50) {
|
|
|
52 |
echo '<li>There may be more exceptions, but we do not have enough memory to process it.</li>';
|
|
|
53 |
break;
|
|
|
54 |
}
|
|
|
55 |
?>
|
|
|
56 |
<?php endwhile ?>
|
|
|
57 |
</ul>
|
|
|
58 |
<?php endif ?>
|
|
|
59 |
<?php else : ?>
|
|
|
60 |
<h3>No Exception available</h3>
|
|
|
61 |
<?php endif ?>
|
|
|
62 |
<?php endif ?>
|
|
|
63 |
|
|
|
64 |
|
|
|
65 |
<!-- card -->
|
|
|
66 |
<div class="card card-outline card-primary">
|
|
|
67 |
<div class="card-header text-center">
|
|
|
68 |
<img src="<?php echo $this->basePath('img/ll-logo.png') ?>" class="img img-responsive" style="width: 300px; height: auto">
|
|
|
69 |
</div>
|
|
|
70 |
<div class="card-body">
|
|
|
71 |
<p class="login-box-msg" style="font-size: 20px">
|
|
|
72 |
<?php echo $this->escapeHtml($this->exception->getMessage()) ?>
|
|
|
73 |
</p>
|
|
|
74 |
</div>
|
|
|
75 |
<!-- /.card-body -->
|
|
|
76 |
</div>
|
|
|
77 |
<!-- /.card -->
|