#summary { background: #F50000; padding:20px; height: 100px; color: #ccc; font-weight: bold; }
#summary h1 { margin: 0; <?php echo $do_not_overflow ?> }
- #summary h2 { margin: 10px 0; color: #eee; <?php echo $do_not_overflow ?> }
+ #summary h2 { margin: 10px 0; color: #eee; height: 1.5em; line-height: 1.5em; <?php echo $do_not_overflow ?> }
#sidebar { background:#eee; float: left; width: 260px; margin:0; padding: 0 20px; height: calc(100% - 140px); overflow: auto; border-right: 1px solid #ccc; }
#sidebar a { display: block; margin: 10px 0; color: #666; text-decoration: none; line-height: 1.5em; border-bottom: 1px dotted #ccc; padding: 10px 0; <?php echo $do_not_overflow ?> }
#content h2 { margin: 20px 0 10px;font-size:200%; }
#content h3 { margin: 10px 0 5px;font-size:150%; }
- .dump {border: 1px dotted #666;<?php echo $code ?>}
+ .dump {border: 1px dotted #666;padding: 0.5em;<?php echo $code ?>}
table.values { padding: 0;margin:10px 0;border-collapse: collapse;table-layout:fixed;width:100%; }
table.values th { vertical-align: top; padding: 0.5em 1em 0.5em 0; text-align: left; width:200px; }
<!-- /Summary -->
<div id="sidebar">
+ <a href="#message" title="Error Message">Error Message</a>
<a href="#request" title="Request">Request</a>
<a href="#response" title="Response">Response</a>
<h3>Stacktrace</h3>
</div>
<div id="content">
+ <div id="message">
+ <h2>Error Message</h2>
+ <div class="dump"><?php $this->e($msg) ?></div>
+ </div>
+
<div id="request">
<h2>Request</h2>
$line = $exception->getLine();
foreach ($exception->getTrace() as $frame) {
$params = array();
- if ($frame["function"]) {
+ if (isset($frame["function"])) {
try {
- if ($frame["class"]) {
+ if (isset($frame["class"])) {
$r = new ReflectionMethod($frame["class"]."::".$frame["function"]);
} else {
$r = new ReflectionFunction($frame["function"]);