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
173.82.98.202
REMOTE_PORT
53900
SERVER_ADDR
172.31.91.182
SERVER_PORT
80
SERVER_NAME
greatclub.net
REDIRECT_STATUS
200
HTTP_HOST
www.greatclub.net
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
en-US,en;q=0.5
HTTP_CACHE_CONTROL
no-cache
HTTP_CONTENT_TYPE
application/x-www-form-urlencoded; charset=utf-8
HTTP_USER_AGENT
Mozilla/5.0 (Windows; U; Windows NT 5.2) Gecko/2008070208 Firefox/3.0.1
HTTP_X_MICROSOFTAJAX
Delta=true
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1621717795.0123
REQUEST_TIME
1621717795
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
1621717795.0129
THINK_START_MEM
263768
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