2020-12-09 15:17:45 +03:00
|
|
|
<?php defined('BASEPATH') or exit('No direct script access allowed') ?>
|
2016-04-24 19:14:32 +03:00
|
|
|
|
2021-11-17 11:26:13 +03:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* @var Throwable $exception
|
|
|
|
* @var string $message
|
|
|
|
*/
|
|
|
|
?>
|
2016-04-24 19:14:32 +03:00
|
|
|
|
2021-11-17 11:26:13 +03:00
|
|
|
<div style="
|
2021-11-17 11:28:35 +03:00
|
|
|
border: 1px solid #dfdfdf;
|
|
|
|
margin: 0 0 10px 0;
|
|
|
|
padding: 15px;
|
|
|
|
font-size: 14px;
|
|
|
|
">
|
2016-04-24 19:14:32 +03:00
|
|
|
|
2021-11-17 11:26:13 +03:00
|
|
|
<h4>
|
|
|
|
An uncaught Exception was encountered
|
|
|
|
</h4>
|
|
|
|
|
|
|
|
<h6>
|
|
|
|
Type
|
|
|
|
</h6>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<?= get_class($exception) ?>
|
|
|
|
</p>
|
2021-11-17 11:28:35 +03:00
|
|
|
|
2021-11-17 11:26:13 +03:00
|
|
|
<h6>
|
|
|
|
Message
|
|
|
|
</h6>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<?= $message ?>
|
|
|
|
</p>
|
2021-11-17 11:28:35 +03:00
|
|
|
|
2021-11-17 11:26:13 +03:00
|
|
|
<h6>
|
|
|
|
Filename
|
|
|
|
</h6>
|
2021-11-17 11:28:35 +03:00
|
|
|
|
2021-11-17 11:26:13 +03:00
|
|
|
<p>
|
|
|
|
<?= $exception->getFile() ?>
|
|
|
|
</p>
|
2021-11-17 11:28:35 +03:00
|
|
|
|
2021-11-17 11:26:13 +03:00
|
|
|
<h6>
|
|
|
|
Line Number
|
|
|
|
</h6>
|
2021-11-17 11:28:35 +03:00
|
|
|
|
2021-11-17 11:26:13 +03:00
|
|
|
<p>
|
|
|
|
<?= $exception->getLine() ?>
|
|
|
|
</p>
|
2016-04-24 19:14:32 +03:00
|
|
|
|
2020-12-09 15:17:45 +03:00
|
|
|
<?php if (defined('SHOW_DEBUG_BACKTRACE') && SHOW_DEBUG_BACKTRACE === TRUE): ?>
|
2016-04-24 19:14:32 +03:00
|
|
|
|
2021-11-17 11:26:13 +03:00
|
|
|
<h6>
|
|
|
|
Backtrace
|
|
|
|
</h6>
|
2016-04-24 19:14:32 +03:00
|
|
|
|
2017-09-14 16:18:20 +03:00
|
|
|
<?php foreach ($exception->getTrace() as $error): ?>
|
2016-04-24 19:14:32 +03:00
|
|
|
|
2017-09-14 16:18:20 +03:00
|
|
|
<?php if (isset($error['file']) && strpos($error['file'], realpath(BASEPATH)) !== 0): ?>
|
2016-04-24 19:14:32 +03:00
|
|
|
|
2017-09-14 16:18:20 +03:00
|
|
|
<p style="margin-left:10px">
|
|
|
|
File: <?= $error['file'] ?><br>
|
|
|
|
Line: <?= $error['line'] ?><br>
|
|
|
|
Function: <?= $error['function'] ?>
|
|
|
|
</p>
|
|
|
|
<?php endif ?>
|
2016-04-24 19:14:32 +03:00
|
|
|
|
2017-09-14 16:18:20 +03:00
|
|
|
<?php endforeach ?>
|
2016-04-24 19:14:32 +03:00
|
|
|
|
2017-09-14 16:18:20 +03:00
|
|
|
<?php endif ?>
|
|
|
|
|
|
|
|
</div>
|