[2] ErrorException in Intro.php line 63

mt_rand(): max(-1) is smaller than min(1)

  1. protected function rand($content = array())
  2. {
  3. //简介长度控制在40 ~ 60
  4. //根据长度自动补全
  5. //需要避免省略号开头
  6. //需要避免文字过少
  7. //需要避免文字过多
  8. $count = count($content) - 2; //避免随机到结尾处为空
  9. //dump("count:".$count);
  10. $rand = mt_rand(1, $count);
  11. //dump("rand:".$rand);
  12. $data = "";
  13. $length = mb_strlen($content[$rand]);
  14. $dr = mt_rand(40, 60); //随机长度
  15. //dump($content[$rand]);
  16. //dump("length:".$length);
  17. //先判断字数多于60的情况
  18. if($length > 60){

Call Stack

  1. in Intro.php line 63
  2. at Error::appError(2, 'mt_rand(): max(-1) i...', '/www/wwwroot/mz.xshu...', 63, ['content' => ['...'], 'count' => -1])
  3. at mt_rand(1, -1) in Intro.php line 63
  4. at Intro->rand(['...']) in Intro.php line 37
  5. at Intro->index('61899-50878', '')
  6. at ReflectionMethod->invokeArgs(object(Intro), ['61899-50878', '']) in App.php line 343
  7. at App::invokeMethod([object(Intro), 'index'], []) in App.php line 611
  8. at App::module(['index', 'intro', null], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], true) in App.php line 456
  9. at App::exec(['type' => 'module', 'module' => ['index', 'intro', null]], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  10. at App::run() in start.php line 19
  11. at require('/www/wwwroot/mz.xshu...') in index.php line 24

Environment Variables

GET Data

id
61899-50878
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_HOST
mz.xshuoba.com
HTTP_ACCEPT_LANGUAGE
zh-cn,zh,en
HTTP_ACCEPT_ENCODING
gzip,deflate
HTTP_REFERER
http://mz.xshuoba.com/admin/test2/view?dialog=1&nid=61899-50878&c=10&r=6
HTTP_USER_AGENT
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; GTB6; .NET CLR 2.0.50727; CIBA;)
HTTP_ACCEPT
*/*
PATH_INFO
/index/intro
REDIRECT_STATUS
200
SERVER_NAME
mz.xshuoba.com
SERVER_PORT
80
SERVER_ADDR
172.26.229.129
REMOTE_PORT
51865
REMOTE_ADDR
47.108.197.212
SERVER_SOFTWARE
nginx/1.15.10
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/wwwroot/mz.xshuoba.com/public
DOCUMENT_URI
/index.php
REQUEST_URI
/index/intro?id=61899-50878
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/index/intro&id=61899-50878
SCRIPT_FILENAME
/www/wwwroot/mz.xshuoba.com/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1670480463.1504
REQUEST_TIME
1670480463
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/mz.xshuoba.com/public/../application/
THINK_VERSION
5.0.18
THINK_START_TIME
1670480463.1506
THINK_START_MEM
394680
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/mz.xshuoba.com/thinkphp/
LIB_PATH
/www/wwwroot/mz.xshuoba.com/thinkphp/library/
CORE_PATH
/www/wwwroot/mz.xshuoba.com/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/mz.xshuoba.com/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/mz.xshuoba.com/
EXTEND_PATH
/www/wwwroot/mz.xshuoba.com/extend/
VENDOR_PATH
/www/wwwroot/mz.xshuoba.com/vendor/
RUNTIME_PATH
/www/wwwroot/mz.xshuoba.com/runtime/
LOG_PATH
/www/wwwroot/mz.xshuoba.com/runtime/log/
CACHE_PATH
/www/wwwroot/mz.xshuoba.com/runtime/cache/
TEMP_PATH
/www/wwwroot/mz.xshuoba.com/runtime/temp/
CONF_PATH
/www/wwwroot/mz.xshuoba.com/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
ADDON_PATH
/www/wwwroot/mz.xshuoba.com/addons/
var LINE = 63; function $(selector, node){ var elements; node = node || document; if(document.querySelectorAll){ elements = node.querySelectorAll(selector); } else { switch(selector.substr(0, 1)){ case '#': elements = [node.getElementById(selector.substr(1))]; break; case '.': if(document.getElementsByClassName){ elements = node.getElementsByClassName(selector.substr(1)); } else { elements = get_elements_by_class(selector.substr(1), node); } break; default: elements = node.getElementsByTagName(); } } return elements; function get_elements_by_class(search_class, node, tag) { var elements = [], eles, pattern = new RegExp('(^|\\s)' + search_class + '(\\s|$)'); node = node || document; tag = tag || '*'; eles = node.getElementsByTagName(tag); for(var i = 0; i < eles.length; i++) { if(pattern.test(eles[i].className)) { elements.push(eles[i]) } } return elements; } } $.getScript = function(src, func){ var script = document.createElement('script'); script.async = 'async'; script.src = src; script.onload = func || function(){}; $('head')[0].appendChild(script); } ;(function(){ var files = $('.toggle'); var ol = $('ol', $('.prettyprint')[0]); var li = $('li', ol[0]); // 短路径和长路径变换 for(var i = 0; i = 0){ ol[0].innerHTML = ol[0].innerHTML; } }); })(); ..." /> 苏可可秦墨琛小说无广告阅读 - IT宅-个人博客IT宅-个人博客

苏可可秦墨琛小说无广告阅读

好书推荐 2022-12-08 6次浏览
家有玄学小娇妻

家有玄学小娇妻

作者:裸奔的馒头

主角:苏可可秦墨琛

APP离线看全本
文章目录[隐藏]

苏可可秦墨琛小说无广告阅读

《家有玄学小娇妻》小说介绍

小说主人公是苏可可秦墨琛的小说是《家有玄学小娇妻》,是作者裸奔的馒头写的一本言情小说,书中主要讲述了:请求出错,状态码:500 内容:

System Error

/* Base */
body {
color: #333;
font: 14px Verdana, "Helvetica Neue", helvetica, Arial, 'Microsoft YaHei', sans-serif;
margin: 0;
padding: 0 20px 20px;
word-break: break-word;
}
h1{
margin: 10px 0 0;
font-size: 28px;
font-weight: 500;
line-height: 32px;
}
h2{
color: #4288ce;
font-weight: 400;
padding: 6px 0;
margin: 6px 0 0;
font-size: 18px;
border-bottom: 1px solid #eee;
}
h3.subheading {
color: #4288ce;
margin: 6px 0 0;
font-weight: 400;
}
h3{
margin: 12px;
font-size: 16px;
font-weight: bold;
}
abbr{
cursor: help;
text-decoration: underline;
text-decoration-style: dotted;
}
a{
color: #868686;
cursor: pointer;
}
a:hover{
text-decoration: underline;
}
.line-error{
background: #f8cbcb;
}

.echo table {
width: 100%;
}

.echo pre {
padding: 16px;
overflow: auto;
font-size: 85%;
line-height: 1.45;
background-color: #f7f7f7;
border: 0;
border-radius: 3px;
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
}

.echo pre > pre {
padding: 0;
margin: 0;
}
/* Layout */
.col-md-3 {
width: 25%;
}
.col-md-9 {
width: 75%;
}
[class^="col-md-"] {
float: left;
}
.clearfix {
clear:both;
}
@media only screen
and (min-device-width : 375px)
and (max-device-width : 667px) {
.col-md-3,
.col-md-9 {
width: 100%;
}
}
/* Exception Info */
.exception {
margin-top: 20px;
}
.exception .message{
padding: 12px;
border: 1px solid #ddd;
border-bottom: 0 none;
line-height: 18px;
font-size:16px;
border-top-left-radius: 4px;
border-top-right-radius: 4px;
font-family: Consolas,"Liberation Mono",Courier,Verdana,"微软雅黑";
}

.exception .code{
float: left;
text-align: center;
color: #fff;
margin-right: 12px;
padding: 16px;
border-radius: 4px;
background: #999;
}
.exception .source-code{
padding: 6px;
border: 1px solid #ddd;

background: #f9f9f9;
overflow-x: auto;

}
.exception .source-code pre{
margin: 0;
}
.exception .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: 48px;
}
.exception .source-code pre li{
border-left: 1px solid #ddd;
height: 18px;
line-height: 18px;
}
.exception .source-code pre code{
color: #333;
height: 100%;
display: inline-block;
border-left: 1px solid #fff;
font-size:14px;
font-family: Consolas,"Liberation Mono",Courier,Verdana,"微软雅黑";
}
.exception .trace{
padding: 6px;
border: 1px solid #ddd;
border-top: 0 none;
line-height: 16px;
font-size:14px;
font-family: Consolas,"Liberation Mono",Courier,Verdana,"微软雅黑";
}
.exception .trace ol{
margin: 12px;
}
.exception .trace ol li{
padding: 2px 4px;
}
.exception div:last-child{
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
}

/* Exception Variables */
.exception-var table{
width: 100%;
margin: 12px 0;
box-sizing: border-box;
table-layout:fixed;
word-wrap:break-word;
}
.exception-var table caption{
text-align: left;
font-size: 16px;
font-weight: bold;
padding: 6px 0;
}
.exception-var table caption small{
font-weight: 300;
display: inline-block;
margin-left: 10px;
color: #ccc;
}
.exception-var table tbody{
font-size: 13px;
font-family: Consolas,"Liberation Mono",Courier,"微软雅黑";
}
.exception-var table td{
padding: 0 6px;
vertical-align: top;
word-break: break-all;
}
.exception-var table td:first-child{
width: 28%;
font-weight: bold;
white-space: nowrap;
}
.exception-var table td pre{
margin: 0;
}

/* Copyright Info */
.copyright{
margin-top: 24px;
padding: 12px 0;
border-top: 1px solid #eee;
}

/* 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 */

[2] ErrorException in Intro.php line 63

mt_rand(): max(-1) is smaller than min(1)

<ol start="54"><li class="line-54"><code>    protected  function rand($content = array())
</code></li><li class="line-55"><code>    {
</code></li><li class="line-56"><code>        //简介长度控制在 40 ~ 60
</code></li><li class="line-57"><code>        //根据长度自动补全
</code></li><li class="line-58"><code>        //需要避免省略号开头
</code></li><li class="line-59"><code>        //需要避免文字过少
</code></li><li class="line-60"><code>        //需要避免文字过多
</code></li><li class="line-61"><code>        $count = count($content) - 2; //避免随机到结尾处为空
</code></li><li class="line-62"><code>        //dump("count:".$count);
</code></li><li class="line-63"><code>        $rand = mt_rand(1, $count);
</code></li><li class="line-64"><code>        //dump("rand:".$rand);
</code></li><li class="line-65"><code>
</code></li><li class="line-66"><code>        $data = "";
</code></li><li class="line-67"><code>        $length = mb_strlen($content[$rand]);
</code></li><li class="line-68"><code>        $dr = mt_rand(40, 60); //随机长度
</code></li><li class="line-69"><code>        //dump($content[$rand]);
</code></li><li class="line-70"><code>        //dump("length:".$length);
</code></li><li class="line-71"><code>        //先判断字数多于 60 的情况
</code></li><li class="line-72"><code>        if($length > 60){
</code></li></ol>

Call Stack

  1. in Intro.php line 63
  2. at Error::appError(2, 'mt_rand(): max(-1) i...', '/www/wwwroot/mz.xshu...', 63, ['content' => ['...'], 'count' => -1])
  3. at mt_rand(1, -1) in Intro.php line 63
  4. at Intro->rand(['...']) in Intro.php line 37
  5. at Intro->index('61899-50878', '')
  6. at ReflectionMethod->invokeArgs(object(Intro), ['61899-50878', '']) in App.php line 343
  7. at App::invokeMethod([object(Intro), 'index'], []) in App.php line 611
  8. at App::module(['index', 'intro', null], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], true) in App.php line 456
  9. at App::exec(['type' => 'module', 'module' => ['index', 'intro', null]], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  10. at App::run() in start.php line 19
  11. at require('/www/wwwroot/mz.xshu...') in index.php line 24

Environment Variables

GET Data

id

61899-50878

POST Data
empty

Files
empty

Cookies
empty

Session
empty

Server/Request Data

USER

www

HOME

/home/www

HTTP_HOST

mz.xshuoba.com

HTTP_ACCEPT_LANGUAGE

zh-cn,zh,en

HTTP_ACCEPT_ENCODING

gzip,deflate

HTTP_USER_AGENT

Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; GTB6; .NET CLR 2.0.50727; CIBA;)

HTTP_ACCEPT

*/*

PATH_INFO

/index/intro

REDIRECT_STATUS

200

SERVER_NAME

mz.xshuoba.com

SERVER_PORT

80

SERVER_ADDR

172.26.229.129

REMOTE_PORT

51865

REMOTE_ADDR

47.108.197.212

SERVER_SOFTWARE

nginx/1.15.10

GATEWAY_INTERFACE

CGI/1.1

REQUEST_SCHEME

http

SERVER_PROTOCOL

HTTP/1.1

DOCUMENT_ROOT

/www/wwwroot/mz.xshuoba.com/public

DOCUMENT_URI

/index.php

REQUEST_URI

/index/intro?id=61899-50878

SCRIPT_NAME

/index.php

CONTENT_LENGTH

CONTENT_TYPE

REQUEST_METHOD

GET

QUERY_STRING

s=/index/intro&id=61899-50878

SCRIPT_FILENAME

/www/wwwroot/mz.xshuoba.com/public/index.php

FCGI_ROLE

RESPONDER

PHP_SELF

/index.php

REQUEST_TIME_FLOAT

1670480463.1504

REQUEST_TIME

1670480463

Environment Variables
empty

ThinkPHP Constants

APP_PATH

/www/wwwroot/mz.xshuoba.com/public/../application/

THINK_VERSION

5.0.18

THINK_START_TIME

1670480463.1506

THINK_START_MEM

394680

EXT

.php

DS

/

THINK_PATH

/www/wwwroot/mz.xshuoba.com/thinkphp/

LIB_PATH

/www/wwwroot/mz.xshuoba.com/thinkphp/library/

CORE_PATH

/www/wwwroot/mz.xshuoba.com/thinkphp/library/think/

TRAIT_PATH

/www/wwwroot/mz.xshuoba.com/thinkphp/library/traits/

ROOT_PATH

/www/wwwroot/mz.xshuoba.com/

EXTEND_PATH

/www/wwwroot/mz.xshuoba.com/extend/

VENDOR_PATH

/www/wwwroot/mz.xshuoba.com/vendor/

RUNTIME_PATH

/www/wwwroot/mz.xshuoba.com/runtime/

LOG_PATH

/www/wwwroot/mz.xshuoba.com/runtime/log/

CACHE_PATH

/www/wwwroot/mz.xshuoba.com/runtime/cache/

TEMP_PATH

/www/wwwroot/mz.xshuoba.com/runtime/temp/

CONF_PATH

/www/wwwroot/mz.xshuoba.com/public/../application/

CONF_EXT

.php

ENV_PREFIX

PHP_

IS_CLI

false

IS_WIN

false

ADDON_PATH

/www/wwwroot/mz.xshuoba.com/addons/

var LINE = 63;

function $(selector, node){
var elements;

node = node || document;
if(document.querySelectorAll){
elements = node.querySelectorAll(selector);
} else {
switch(selector.substr(0, 1)){
case '#':
elements = [node.getElementById(selector.substr(1))];
break;
case '.':
if(document.getElementsByClassName){
elements = node.getElementsByClassName(selector.substr(1));
} else {
elements = get_elements_by_class(selector.substr(1), node);
}
break;
default:
elements = node.getElementsByTagName();
}
}
return elements;

function get_elements_by_class(search_class, node, tag) {
var elements = [], eles,
pattern = new RegExp('(^|\\s)' + search_class + '(\\s|$)');

node = node || document;
tag = tag || '*';

eles = node.getElementsByTagName(tag);
for(var i = 0; i < eles.length; i++) {
if(pattern.test(eles[i].className)) {
elements.push(eles[i])
}
}

return elements;
}
}

$.getScript = function(src, func){
var script = document.createElement('script');

script.async = 'async';
script.src = src;
script.onload = func || function(){};

$('head')[0].appendChild(script);
}

;(function(){
var files = $('.toggle');
var ol = $('ol', $('.prettyprint')[0]);
var li = $('li', ol[0]);

// 短路径和长路径变换
for(var i = 0; i = 0){
ol[0].innerHTML = ol[0].innerHTML;
}
});

})();

...

《家有玄学小娇妻》小说试读

苏老头心酸过后,就开始教育小徒弟了。

“徒弟啊,你一定要牢记师父的话,不该你管的闲事千万不要多管,就算要管,也一定要收取报酬。

这不是咱贪钱,这是因为钱财能消灾,消的不仅是雇主的灾,更是咱们的灾。”

苏老头语重心长地给小徒弟讲道理,他就这么一个宝贝徒弟,天资又那么好,是他引她入了风水师这一行,他就必须把这些道理给她讲明白。

苏可可连忙点头,“师父您放心,我都知道的。”

“你知道个屁啊!你看你这么笨,为师能放心吗?那本《堪舆金匮》,为师当年只用三天就看完了,你居然看了五天!你说你笨不笨,啊?

还有画符,为师当年还是四岁的时候,不到一天就成功画出了第一张符箓,而你居然用了整整三天,还比为师当年大了一岁!”

激动的苏老头说得唾沫乱飞,然而双眼精光闪烁,根本就不是恨铁不成钢的表情。

苏可可被他说得无地自容,羞愧地垂下了脑袋,“师父,勤能补拙,我以后会更加刻苦学习的。”

苏老头从鼻腔里发出一个“嗯”声,“你明白自己有多笨就好,虽然你正式出师了,但是该学的东西还是要继续学,先去睡吧,赶明儿一早再收拾东西。”

“师父,我还有件事想跟你商量商量。”

苏可可犹豫着把小叔叔想让她上学的事儿给说了。

她以为自己一定会挨上一通骂,但这一次,师父出奇地沉默了。

好一会儿之后,苏老头长叹一声:“去吧,去外面长长见识也好,以前是师父太拘着你了,逼着你学这学那,别的小孩要玩具要糖的时候,你就已经在画符了。”

“师父,我喜欢这些东西,一点儿也不觉得苦和累。”

苏老头一脸欣慰地看着她,“徒弟啊,你长大了,师父真替你高兴,所以以后的学费你自个儿挣吧,钱不够了就滚回来,师父养你。”

苏可可如实拆穿他,“师父,您这一辈子都注定是个穷光蛋,还是徒儿养您吧。”

苏老头:……

这日子没法过了,小白兔都知道咬人了。

苏老头突然想起什么,转身去开了大木箱,从里面取出一个发旧的牛皮本子。

“这本手札你带着,遇到不懂的地方就打电话问我。”

苏可可不可思议地盯着她师父,“师父,您认真的吗?您还没死呢怎么就把这宝贝传给我了?”

老头子拿出的这本手札是从祖师爷那一代传下来的,里面记录了很多风水心得,涉及了诸多领域,非常珍贵,平时老头子宝贝得跟什么似的。

苏老头听了这话,真特么想抄起一个平底锅,朝这小丫头的脑袋上敲去。

但他舍不得啊,哎呦喂,这可是他的宝贝疙瘩,他就指望着小丫头继承自个儿的衣钵了。

“行了行了,快去睡吧,你正长身体呢。”苏老头打了个哈欠,回里屋了。

苏可可简单洗漱了一下之后才爬上床,然后在木床上打了个滚儿。

虽然他们住的是茅草屋,但他们的茅草屋可大啦,跟叔的一样,是套间,床也是木板床里的豪华版呢。

小说《家有玄学小娇妻》 第 11 章 徒弟,你真的太笨了 试读结束。

喜欢 (0)