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

Fatal error: Class 'app\Home\controller\Home' not found in /alidata/www/jinrisheng/application/home/controller/About.php on line 4

[1] ErrorException in About.php line 4

Class 'app\Home\controller\Home' not found

  1. <?php
  2. namespace app\Home\controller;
  3. use think\Controller;
  4. class About extends Home{
  5. function __construct(){
  6. parent::__construct();
  7. $this->assign("banner_list",$this->banner_get("about"));//轮播图传输
  8. }
  9. function about(){
  10. $catid=$this->request->param('catid');
  11. $web=$this->web_set;
  12. $class=db("column")->where('id',$catid)->find();
  13. $web['web_title']=$this->web_title($class['name']);
  14. $show=db($class['modular'])->where("class".$class['cat'],$class['id'])->where("lang",$this->lang)->find();
  15. //print_r($show);exit;
  16. //$class['content']=htmlspecialchars_decode($show['content']);
  17. if(!empty($class['keywords'])){
  18. $web['web_keywords']=$this->web_keywords($class['keywords']);
  19. }

Call Stack

  1. in About.php line 4
  2. at Error::appShutdown()

Environment Variables

GET Data
empty
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/alidata/www
FCGI_ROLE
RESPONDER
SCRIPT_FILENAME
/alidata/www/jinrisheng/public/index.php
QUERY_STRING
s=/home-about-about-catid-38.html
REQUEST_METHOD
GET
CONTENT_TYPE
application/x-www-form-urlencoded; charset=utf-8
CONTENT_LENGTH
SCRIPT_NAME
/index.php
REQUEST_URI
/home-about-about-catid-38.html
DOCUMENT_URI
/index.php
DOCUMENT_ROOT
/alidata/www/jinrisheng/public
SERVER_PROTOCOL
HTTP/1.1
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.4.7
REMOTE_ADDR
92.118.191.21
REMOTE_PORT
61462
SERVER_ADDR
172.31.91.182
SERVER_PORT
80
SERVER_NAME
ifamilys.com
REDIRECT_STATUS
200
HTTP_HOST
www.ifamilys.com
HTTP_REFERER
http://www.baidu.com/search/spider.htm
HTTP_X_APPLE_TZ
0
HTTP_X_APPLE_STORE_FRONT
143444,12
HTTP_ACCEPT
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_ENCODING
gzip, deflate
HTTP_ACCEPT_LANGUAGE
zh-CN,zh;q=0.9
HTTP_CACHE_CONTROL
no-cache
HTTP_CONTENT_TYPE
application/x-www-form-urlencoded; charset=utf-8
HTTP_USER_AGENT
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1625419465.5977
REQUEST_TIME
1625419465
PATH_INFO
/home-about-about-catid-38.html
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/alidata/www/jinrisheng/public/../application/
CONF_PATH
/alidata/www/jinrisheng/public/../config/
THINK_VERSION
5.0.24
THINK_START_TIME
1625419465.5983
THINK_START_MEM
263192
EXT
.php
DS
/
THINK_PATH
/alidata/www/jinrisheng/thinkphp/
LIB_PATH
/alidata/www/jinrisheng/thinkphp/library/
CORE_PATH
/alidata/www/jinrisheng/thinkphp/library/think/
TRAIT_PATH
/alidata/www/jinrisheng/thinkphp/library/traits/
ROOT_PATH
/alidata/www/jinrisheng/
EXTEND_PATH
/alidata/www/jinrisheng/extend/
VENDOR_PATH
/alidata/www/jinrisheng/vendor/
RUNTIME_PATH
/alidata/www/jinrisheng/runtime/
LOG_PATH
/alidata/www/jinrisheng/runtime/log/
CACHE_PATH
/alidata/www/jinrisheng/runtime/cache/
TEMP_PATH
/alidata/www/jinrisheng/runtime/temp/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false