[0] HttpException in App.php line 583

控制器不存在:app\index\controller\Home

  1. try {
  2. $instance = Loader::controller(
  3. $controller,
  4. $config['url_controller_layer'],
  5. $config['controller_suffix'],
  6. $config['empty_controller']
  7. );
  8. } catch (ClassNotFoundException $e) {
  9. throw new HttpException(404, 'controller not exists:' . $e->getClass());
  10. }
  11. // 获取当前操作名
  12. $action = $actionName . $config['action_suffix'];
  13. $vars = [];
  14. if (is_callable([$instance, $action])) {
  15. // 执行操作方法
  16. $call = [$instance, $action];

Call Stack

  1. in App.php line 583
  2. at App::module(['index', 'Home', 'index'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 457
  3. at App::exec(['type' => 'module', 'module' => ['index', 'Home', 'index'], 'convert' => false], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  4. at App::run() in start.php line 19
  5. at require('C:\website\xinhechen...') in index.php line 16

Environment Variables

GET Data

/Home/index/index
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

PATH
C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\python;C:\Program Files\python\Scripts;C:\BtSoft\panel\script
SYSTEMROOT
C:\Windows
COMSPEC
C:\Windows\system32\cmd.exe
PATHEXT
.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
WINDIR
C:\Windows
_FCGI_SHUTDOWN_EVENT_
3356
HTTP_CONNECTION
close
SCRIPT_NAME
/index.php
REQUEST_URI
/Home/index/index
QUERY_STRING
/Home/index/index
REQUEST_METHOD
GET
SERVER_PROTOCOL
HTTP/1.1
GATEWAY_INTERFACE
CGI/1.1
REDIRECT_QUERY_STRING
/Home/index/index
REDIRECT_URL
/Home/index/index
REMOTE_PORT
20000
SCRIPT_FILENAME
C:/website/xinhecheng/public/index.php
SERVER_ADMIN
webmaster@example.com
CONTEXT_DOCUMENT_ROOT
C:/website/xinhecheng/public
CONTEXT_PREFIX
REQUEST_SCHEME
http
DOCUMENT_ROOT
C:/website/xinhecheng/public
REMOTE_ADDR
154.88.122.79
SERVER_PORT
80
SERVER_ADDR
172.16.57.4
SERVER_NAME
www.cnhu.com
SERVER_SOFTWARE
Apache/2.4.39 (Win32) OpenSSL/1.0.2s mod_fcgid/2.3.9a
SERVER_SIGNATURE
SystemRoot
C:\Windows
HTTP_ACCEPT_ENCODING
deflate, gzip
HTTP_ACCEPT
*/*
HTTP_HOST
www.cnhu.com
HTTP_USER_AGENT
Mozilla/5.0+(compatible;+Baiduspider/2.0;++http://www.baidu.com/search/spider.html)
REDIRECT_STATUS
200
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1569316451.5578
REQUEST_TIME
1569316451
PATH_INFO
/Home/index/index
Environment Variables
empty

ThinkPHP Constants

APP_PATH
C:\website\xinhecheng\public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1569316451.5587
THINK_START_MEM
257216
EXT
.php
DS
\
THINK_PATH
C:\website\xinhecheng\thinkphp\
LIB_PATH
C:\website\xinhecheng\thinkphp\library\
CORE_PATH
C:\website\xinhecheng\thinkphp\library\think\
TRAIT_PATH
C:\website\xinhecheng\thinkphp\library\traits\
ROOT_PATH
C:\website\xinhecheng\
EXTEND_PATH
C:\website\xinhecheng\extend\
VENDOR_PATH
C:\website\xinhecheng\vendor\
RUNTIME_PATH
C:\website\xinhecheng\runtime\
LOG_PATH
C:\website\xinhecheng\runtime\log\
CACHE_PATH
C:\website\xinhecheng\runtime\cache\
TEMP_PATH
C:\website\xinhecheng\runtime\temp\
CONF_PATH
C:\website\xinhecheng\public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
true