You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
213 lines
71 KiB
213 lines
71 KiB
10 months ago
|
<?php
|
||
|
if(!function_exists('parse_padding')){
|
||
|
function parse_padding($source)
|
||
|
{
|
||
|
$length = strlen(strval(count($source['source']) + $source['first']));
|
||
|
return 40 + ($length - 1) * 8;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
if(!function_exists('parse_class')){
|
||
|
function parse_class($name)
|
||
|
{
|
||
|
$names = explode('\\', $name);
|
||
|
return '<abbr title="'.$name.'">'.end($names).'</abbr>';
|
||
|
}
|
||
|
}
|
||
|
|
||
|
if(!function_exists('parse_file')){
|
||
|
function parse_file($file, $line)
|
||
|
{
|
||
|
return '<a class="toggle" title="'."{$file} line {$line}".'">'.basename($file)." line {$line}".'</a>';
|
||
|
}
|
||
|
}
|
||
|
|
||
|
if(!function_exists('parse_args')){
|
||
|
function parse_args($args)
|
||
|
{
|
||
|
$result = [];
|
||
|
|
||
|
foreach ($args as $key => $item) {
|
||
|
switch (true) {
|
||
|
case is_object($item):
|
||
|
$value = sprintf('<em>object</em>(%s)', parse_class(get_class($item)));
|
||
|
break;
|
||
|
case is_array($item):
|
||
|
if(count($item) > 3){
|
||
|
$value = sprintf('[%s, ...]', parse_args(array_slice($item, 0, 3)));
|
||
|
} else {
|
||
|
$value = sprintf('[%s]', parse_args($item));
|
||
|
}
|
||
|
break;
|
||
|
case is_string($item):
|
||
|
if(strlen($item) > 20){
|
||
|
$value = sprintf(
|
||
|
'\'<a class="toggle" title="%s">%s...</a>\'',
|
||
|
htmlentities($item),
|
||
|
htmlentities(substr($item, 0, 20))
|
||
|
);
|
||
|
} else {
|
||
|
$value = sprintf("'%s'", htmlentities($item));
|
||
|
}
|
||
|
break;
|
||
|
case is_int($item):
|
||
|
case is_float($item):
|
||
|
$value = $item;
|
||
|
break;
|
||
|
case is_null($item):
|
||
|
$value = '<em>null</em>';
|
||
|
break;
|
||
|
case is_bool($item):
|
||
|
$value = '<em>' . ($item ? 'true' : 'false') . '</em>';
|
||
|
break;
|
||
|
case is_resource($item):
|
||
|
$value = '<em>resource</em>';
|
||
|
break;
|
||
|
default:
|
||
|
$value = htmlentities(str_replace("\n", '', var_export(strval($item), true)));
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
$result[] = is_int($key) ? $value : "'{$key}' => {$value}";
|
||
|
}
|
||
|
|
||
|
return implode(', ', $result);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
?>
|
||
|
<!DOCTYPE html>
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<meta charset="UTF-8">
|
||
|
<title>系统发生错误</title>
|
||
|
<style>
|
||
|
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,p,blockquote,th,td { margin:0; padding:0; box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -ms-box-sizing: border-box;}
|
||
|
body { background:#fff; color:#555; font-size:14px; font-family: "Microsoft Yahei"; }
|
||
|
a { color:#555; text-decoration:none; }
|
||
|
a:hover { text-decoration:none; }
|
||
|
img { border:none; }
|
||
|
.clearfix:after, .clearfix:before {content: ""; display: block; height:0; clear:both; visibility: hidden;}
|
||
|
.clearfix { *zoom:1; }
|
||
|
.errPage{width:800px;margin:0 auto;}
|
||
|
.errPage .header{margin-top:160px;}
|
||
|
.errPage .header .left{width:290px;height:290px;float:left;}
|
||
|
.errPage .header .left img{width:100%;height:100%;}
|
||
|
.errPage .header .right{width:395px;float:right;margin-top:15px;margin-right: 50px;}
|
||
|
.errPage .header .right .picture{width:228px;height:80px;}
|
||
|
.errPage .header .right .picture img{width:100%;height:100%;}
|
||
|
.errPage .header .right .title{font-size:20px;color:#979DAB;margin-top:26px;height:70px;}
|
||
|
.errPage .header .right .question{margin-top:40px;}
|
||
|
.errPage .header .right .question .btn{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;-khtml-user-select:none;user-select:none;display:inline-block;*display:inline;zoom:0;width:116px;height:28px;border-radius:18px;background-color:#999;font-size:12px;color:#fff;text-align:center;line-height:28px;cursor:pointer;}
|
||
|
.errPage .header .right .question .btn.on{background-color:#1951FC;}
|
||
|
.errPage .header .right .question .btn img{width:10px;height:6px;margin-left:10px;}
|
||
|
.errPage .conter{width:800px;height:424px;padding:25px 29px;background-color:#F7F7F7;border-radius:18px;overflow:auto;font-size:14px;color:#666666;margin-top:55px;line-height:2.4;display:none;}
|
||
|
.source-code pre {margin: 0;}
|
||
|
.source-code pre li {height: 18px;line-height: 18px;}
|
||
|
.source-code pre ol{margin: 0;color: #4288ce;display: inline-block;min-width: 100%;box-sizing: border-box;font-size:14px;font-family: "Century Gothic",Consolas,"Liberation Mono",Courier,Verdana;padding-left: <?php echo (isset($source) && !empty($source)) ? parse_padding($source) : 40; ?>px;}
|
||
|
.line-error{background: #f8cbcb;}
|
||
|
/* SPAN elements with the classes below are added by prettyprint. */
|
||
|
pre.prettyprint .pln { color: #000 } /* plain text */
|
||
|
pre.prettyprint .str { color: #080 } /* string content */
|
||
|
pre.prettyprint .kwd { color: #008 } /* a keyword */
|
||
|
pre.prettyprint .com { color: #800 } /* a comment */
|
||
|
pre.prettyprint .typ { color: #606 } /* a type name */
|
||
|
pre.prettyprint .lit { color: #066 } /* a literal value */
|
||
|
/* punctuation, lisp open bracket, lisp close bracket */
|
||
|
pre.prettyprint .pun, pre.prettyprint .opn, pre.prettyprint .clo { color: #660 }
|
||
|
pre.prettyprint .tag { color: #008 } /* a markup tag name */
|
||
|
pre.prettyprint .atn { color: #606 } /* a markup attribute name */
|
||
|
pre.prettyprint .atv { color: #080 } /* a markup attribute value */
|
||
|
pre.prettyprint .dec, pre.prettyprint .var { color: #606 } /* a declaration; a variable name */
|
||
|
pre.prettyprint .fun { color: red } /* a function name */
|
||
|
h2 {color: #4288ce;font-weight: 400;padding: 6px 0;margin: 6px 0 0;font-size: 14px;border-bottom: 1px solid #eee;}
|
||
|
abbr {cursor: help;text-decoration: underline;text-decoration-style: dotted;}
|
||
|
h1 {margin: 10px 0 0;font-size: 28px;font-weight: 500;line-height: 32px;}
|
||
|
.source-code::-webkit-scrollbar{width:10px;height:10px;}
|
||
|
.source-code::-webkit-scrollbar-track{border-radius:2px;}
|
||
|
.source-code::-webkit-scrollbar-thumb{background: #bfbfbf;border-radius:10px;}
|
||
|
.source-code::-webkit-scrollbar-thumb:hover{background: #333;}
|
||
|
</style>
|
||
|
</head>
|
||
|
<body>
|
||
|
<div class="errPage">
|
||
|
<div class="header">
|
||
|
<div class="left"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAAEkCAYAAACL5zyrAAAgAElEQVR4XuxdBXRURxf+5q0mARKcQIBAIMFdi9OWGg4tVGihQI22fxVtS4u7uxbXAMW1eJEEJxCCBAlBQiCeleyb/9xZQpGsxunec3JYkpE78+bdvXPluwwucu2Aawcc2oFatWpVg0JR/GRQ0E4AskOdXY3T3AHm2hfXDrh2wP4dqF27dlUw6RQABQebfTL4+Bf293a1tLQDLkH0Hz8bkZy75zXAV8VTfGSmLAguF2IMBTlDQZhQiDFGnwtwzt0kMDUH1wBMDfEv1IzRZ4BzbgBgAJge4AYGppfpX8aSGcdDznk0FHjAOKI5RzSY9EDiKdFGpoyIV+N6ccaScsOjqFW3bkfGEZjKKwcfdDI4eERu4D0n8+gSRDn56WQQb3GcF1SloKpskgMYhy8k+ELmZcAkX4AXAZDd54AD7D64fB0SC4eM65zhuqSQLhmVOJePsegM2op0D1Ozfv1KkkkOeWogzsC6BwcfX5zuwf/DA2T3AfwPb33GL51zrjIYUFGGqRqDoqqJ07+sGoDiGT9blo4YycHPKpjiLIfpnATFWbUaFxljxizlAkDt2rVVYFIiABVn7jBJXlCaIg0yw9ungoL2ZDU/L8t8LkGUi59kbCwvoPFAQ26SG4GzRgCvywG3XLwku1lnQDLAgsD4YaaQDusTccTTkz20e4B0NKxdp+55zjSV9erqAFNBZbwMhel+rMTQKCgo6GltKR2z/Le6ugRR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XzgdnbjCoA+CRtxB69uyJpvXKI
|
||
|
<div class="right">
|
||
|
<div class="picture"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAN0AAAA4CAYAAAB5Tf0rAAARV0lEQVR4Xu1da5QcxXX+blXP7mIRZGRJOz16WcGWOeDYCYQQRHgEJAIcPbbHWiUEOcRgi0hJyMHEJwQ4YGIbc2LiGOs42GBjCBhirzW9ehCBiRPexvELgRwdHsboNT0ryRICJO3udPXN6Z1dMTv9nNbs7uyq++fMrap7v6qv3vcWtRs8XUDdj6iP0MuM/QSyHPCP+lg+82Y3vRmVLP1/9BGIXacxVHMgr+gxaXcM0VQkJgKU6+TZbKttMeWrxOgQgG84ELenlVI/eiOZInmderUiTc4pdtH2kdT3WMv7KEh3BKqdAs6iXWbL5mMNvGa1NyVds9ZMRa9GkA4MvM1Q83vM1i3Nbe6xoV1Kuuau54aQbpC/W1onizPeuI96m9vkia9dSrrmruMGkg5g0GdKpryjuU2e+NqlpGvuOg4lHdly0pD6moNWuw3tYGchM24EuN1n2f2KZYqTAeLmNntiaxdGuuo6jYNCcQMOp/UZB6n4MqGks0yN/LLS8zwHrF4A8N7a/5WQH929ll6Mr0Iq2WgEwkgXVKeN1iHNLxiBRKRzs8vm1S3E/Flv1nKFZdJ3UtDHDoGUdGOHfZySE5OufSmfKYR63lMI0RetgrwhTuGpzMggkJJuZHBtVK6JSTetk7OaraxaRRh0b8mUVzVKwTSf+hFISVc/ZqOZIjHpplzOJ7QeUgc8pGP6bqlb/tloGpGWNRyBlHTN3SISk25mJx+nbOVeBRv2MbCxZGqL45jt5lHuVwuIsJAIswGcSMBbINoB5qcOa3LT/i7yEDtO3q6MnufTwM4KEM8F470gFBm0WZTFvcUNtHdgbdphLxdE02rztEls2l2g1+OW5crNyPNMxc5lBJwE5llEaGNQDwhbFImNo7XBNFqky3aoVYIgajE6rIkHq+vNvQsq2VnOhI8QOGcLeUMtFnoHn07k/KF3uSJeLhbov979nSlr4FwBe5EDmimYdx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f0Parfz9CUdO4IIS8qmvR4PQ0hkHSM56xu7ey68jLU5wH2kr5O0gFI1MFH2X+UpCNFjNuKGXFr1EFiHNDaP86TMr1w3G3alHRxEPOXCd29JMS6jE6OfDnqulpQT+848iM96yjW+mvIgpCRrmCZ2sfqQUMfY9JF2Z+QdFQCO/+hiO/bnTD0Xm4Zz2flLGPwWQTMY2DykXuLjINMsAneNWDS3me0RjoAjzO5RwXDP2IsBNA21tPLRnqOR909rIsoMe5exs1vrEkX1NaG9I/YvZTv7kSyfViwVurPoLSnC7uTTiXd44AWqR5k4I/jglgjl2jIH0XS1WXWaK/pUtLFX9M1uoOPRbpGVpBb4KwlnLPlgLd5yG3vyDabki4CorG+kRLV0/upH8fLILJlDAqM65Gu0aTLGvY6AuJ7F/ijnJIuJV0oAinpBuHJLu47lTQZHgGasReEXw9sxTN+2+9mSaOH/ERHBiG7l3F74yG5dHpZQSId6QZbRCNHuqyhbibwrf6NUjxBRDcVC/Tskd2sBp/TjdaaTmjy9/oUYvn9ubbu3Ya9Ue5K9RI5nV6O7ZFB1PQ6wd3LeptART54aik2Owfp7NrbCxPtyCAZaslSpaRLSVeZPhhqK8An1zYjAq4qmtq9tb83NenOZ00/Ufm69AcdjiejT7JUKenKnwdozA7Hm2ak0w21B2CP6z6zPLPUTR5P70aTzhZy3p615LkTmWhNV1mDHAaz59wtJR0Q1ehGevcyZ6jrGfxFn3LusUzNEzdHz6urwex6u9d+IVEQ3Due4TFigrrMUZte6oYbOYyPq1Uk6PQ+Z6jPMHiYn9Rg2tDdS92w3fALnnLg4608OA
|
||
|
<div class="title">
|
||
|
<div class="info">
|
||
|
<div>
|
||
|
<h2><?php echo nl2br(htmlentities($message)); ?></h2>
|
||
|
</div>
|
||
|
<div>
|
||
|
<h1 style="font-size: 14px;">[<?php echo $code; ?>] <?php echo isset($name) ? sprintf('%s in %s', parse_class($name), parse_file($file, $line)) : $exception->getMessage(); ?></h1>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="question">
|
||
|
<div class="btn">查看错误代码<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAABtElEQVRoQ+2Y3SoFURiGv+dmHHABTt2AM1FSkkRKUlIi2SmpnRJKJElJbWduwCGX4U6Wds3sttkz3/x8a+2xa83hNGvN87zvrFnTIBN+MOH8EgXabjA2EBswJhAfIWOA5uGxAXOExgliA0UBOuemReRYRL6AG2PQhcODNJDA90RkJrnzO7AYQsK7QA58yh1EwquAAh9MwptABfggEl4EFPiOiCwMrQXvEmYBBf4MOAm9JkwCCtw5cJTGHVKisYACdQEcZl+ZoSQaCSgwXeCgZHMb3h/Ma6K2gAJ/CeyXbVa+m6gloNz8Ctgrgw+xJioLKPDXwG5VeN8SlQQU+Ftgpy68T4lSAQX+DthuCu9LQhVQ4O+BLSu8D4lCAQX+EdjwBW+VyBVQ4J+Add/wFokRAQX+GVgLBd9U4o+AAv8CrIaGbyKRFfgWkdkM6CuwMi74ChIPwGZ63UDAOTcnIp8Z0DdgedzwZRLAgDvbwIeIzCcT9ICltuAViQ5wOtJA/4RzbkpE+p8FP0C3bfiMRO4vmtKd+L9IFHFEgbYbig3EBowJxEfIGKB5eGzAHKFxgtiAMUDz8F/6UtIxXjMNGgAAAABJRU5ErkJggg=="></div>
|
||
|
<div class="btn on"><a style="color: #ffffff" href="javascript:history.back(-1)">返回上一页</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="clearfix"></div>
|
||
|
<div class="conter source-code">
|
||
|
<?php if(!empty($source)){?>
|
||
|
<div class="source-code">
|
||
|
<pre class="prettyprint lang-php"><ol start="<?php echo $source['first']; ?>"><?php foreach ((array) $source['source'] as $key => $value) { ?><li class="line-<?php echo $key + $source['first']; ?>"><code><?php echo htmlentities($value); ?></code></li><?php } ?></ol></pre>
|
||
|
</div>
|
||
|
<?php }?>
|
||
|
</div>
|
||
|
</div>
|
||
|
<script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js"></script>
|
||
|
<script>
|
||
|
|
||
|
var LINE =<?php echo isset($line) ? $line : 0; ?>;
|
||
|
var down = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAABuElEQVRoQ+2Y4SoEURiGn+8mXIkbcAuKkpKSlFBSkhIpSUmhLUlJbYqUW3ADfvLPVbiAV1uztYY1Z+Z8x1id+bez55x9nvc9u81ZY8QvG3F+skDbDeYGcgORCeQtFBlg9PTcQHSEkQv8vwYk7QJjQMfMXiMDcpsu6Rh4B7pm9tZf+FMDBfxe8eYLMP0XJCTd9VgKrkczmxwmoFJkrUtIugVmSlwTZvbUu1du4AxY/SsSkrrAbInn2czGv22gd1PSPTDVtoSkG2CuiuPbX6G2JSRdA/NV8F+20OCEtiQkXQELIfA/CrSxnSRdAouh8JUCvykh6QJYqgMfJPAbEpI6wHJd+GCBlBKSzoGVJvC1BFJISDoF1prC1xbwlJB0AqzHwDcS8JAoHsw2YuEbC8RISDoCNj3gowSaSEg6BLa84KMF6khIOgC2PeFdBEIkJO0DO97wbgIVEg9A75Q3eLmdM1zPxEMeAEvsuMG7NtCnrJBwhU8iEPKdKFcS89p1Cw2ClJpwT77/WckEiiaS/0WTVCBma4TOzQKhSaUalxtIlWzourmB0KRSjcsNpEo2dN3cQGhSqcaNfAMfxuz5MbcQ4poAAAAASUVORK5CYII=";
|
||
|
var up = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAABtElEQVRoQ+2Y3SoFURiGv+dmHHABTt2AM1FSkkRKUlIi2SmpnRJKJElJbWduwCGX4U6Wds3sttkz3/x8a+2xa83hNGvN87zvrFnTIBN+MOH8EgXabjA2EBswJhAfIWOA5uGxAXOExgliA0UBOuemReRYRL6AG2PQhcODNJDA90RkJrnzO7AYQsK7QA58yh1EwquAAh9MwptABfggEl4EFPiOiCwMrQXvEmYBBf4MOAm9JkwCCtw5cJTGHVKisYACdQEcZl+ZoSQaCSgwXeCgZHMb3h/Ma6K2gAJ/CeyXbVa+m6gloNz8Ctgrgw+xJioLKPDXwG5VeN8SlQQU+Ftgpy68T4lSAQX+DthuCu9LQhVQ4O+BLSu8D4lCAQX+EdjwBW+VyBVQ4J+Add/wFokRAQX+GVgLBd9U4o+AAv8CrIaGbyKRFfgWkdkM6CuwMi74ChIPwGZ63UDAOTcnIp8Z0DdgedzwZRLAgDvbwIeIzCcT9ICltuAViQ5wOtJA/4RzbkpE+p8FP0C3bfiMRO4vmtKd+L9IFHFEgbYbig3EBowJxEfIGKB5eGzAHKFxgtiAMUDz8F/6UtIxXjMNGgAAAABJRU5ErkJggg==";
|
||
|
$(document).ready(function(){
|
||
|
|
||
|
$.getScript = function(src, func){
|
||
|
var script = document.createElement('script');
|
||
|
|
||
|
script.async = 'async';
|
||
|
script.src = src;
|
||
|
script.onload = func || function(){};
|
||
|
|
||
|
$('head')[0].appendChild(script);
|
||
|
}
|
||
|
|
||
|
var k = true;
|
||
|
$(".question .btn").on('click',function(){
|
||
|
if(k){
|
||
|
$('.conter').show();
|
||
|
$(this).addClass('on');
|
||
|
$(this).find('img').attr('src',down);
|
||
|
k = false;
|
||
|
}else {
|
||
|
$('.conter').hide();
|
||
|
$(this).removeClass('on');
|
||
|
$(this).find('img').attr('src',up);
|
||
|
k = true;
|
||
|
}
|
||
|
});
|
||
|
var ol = $('ol', $('.prettyprint')[0]);
|
||
|
// 设置出错行
|
||
|
var err_line = $('.line-' + LINE, ol[0])[0];
|
||
|
if(err_line) err_line.className = err_line.className + ' line-error';
|
||
|
$.getScript('//cdn.bootcss.com/prettify/r298/prettify.min.js', function(){
|
||
|
prettyPrint();
|
||
|
|
||
|
// 解决Firefox浏览器一个很诡异的问题
|
||
|
// 当代码高亮后,ol的行号莫名其妙的错位
|
||
|
// 但是只要刷新li里面的html重新渲染就没有问题了
|
||
|
if(window.navigator.userAgent.indexOf('Firefox') >= 0){
|
||
|
ol[0].innerHTML = ol[0].innerHTML;
|
||
|
}
|
||
|
});
|
||
|
});
|
||
|
</script>
|
||
|
</body>
|
||
|
</html>
|