source of /sprout/views/dbtools/exception_details.php<?php use Sprout\Helpers\Enc; use Sprout\Helpers\Form; Form::setData([ 'id' => 'SE' . $log['id'], ]); ?> <style> pre { height: 200px; overflow: auto; resize: vertical; } </style> <div class="mainbar-with-right-sidebar"> <?php if (!empty($log)): ?> <table class="main-list" style="margin-top: 0"> <thead> <tr> <th class="header">Date</th> <th class="header">Class</th> <th class="header">Message</th> </tr> </thead> <tbody> <tr> <td><?php echo Enc::html($log['date_generated']); ?></td> <td><a href="dbtools/exceptionLog?class=<?php echo Enc::html(Enc::url($log['class_name'])); ?>"><?php echo Enc::html($log['class_name']); ?></a></td> <td><?php echo Enc::html($log['message']); ?></td> </tr> </tbody> </table> <h3>Exception object</h3> <pre> <?php echo Enc ::html(print_r(json_decode($log['exception_object'], true), true)); ?></pre> <h3>Exception trace</h3> <pre> <?php echo Enc ::html(print_r(json_decode($log['exception_trace'], true), true)); ?></pre> <h3>$_SERVER</h3> <h3>$_GET</h3> <h3>$_POST</h3> <p><em>This is not stored for security reasons.</em></p> <h3>$_SESSION</h3> <?php else: ?> <p><em>Exception not found</em></p> <p><a href="dbtools/exceptionLog" class="button button-blue icon-before icon-keyboard_arrow_left">Back</a></p> <?php endif; ?> </div> <div class="right-sidebar"> <div class="right-sidebar-anchor"></div> <div class="right-sidebar-inner"> <div class="white-box"> <h3 style="margin-top: 0">Lookup</h3> <form action="dbtools/exceptionDetail" method="get" class="-clearfix"> <div class="field-group-item col col--two-third"> <?php echo Form::text('id', ['placeholder' => 'SE2400']); ?> </div> <div class="field-group-item col col--one-third"> <button type="submit" class="button button-block icon-after icon-keyboard_arrow_right">Lookup</button> </div> </form> </div> </div> </div>
|