[0] HttpException in Module.php line 97

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

  1. $this->app['hook']->listen('module_init');
  2. try {
  3. // 实例化控制器
  4. $instance = $this->app->controller($this->controller,
  5. $this->rule->getConfig('url_controller_layer'),
  6. $this->rule->getConfig('controller_suffix'),
  7. $this->rule->getConfig('empty_controller'));
  8. } catch (ClassNotFoundException $e) {
  9. throw new HttpException(404, 'controller not exists:' . $e->getClass());
  10. }
  11. $this->app['middleware']->controller(function (Request $request, $next) use ($instance) {
  12. // 获取当前操作名
  13. $action = $this->actionName . $this->rule->getConfig('action_suffix');
  14. if (is_callable([$instance, $action])) {
  15. // 执行操作方法
  16. $call = [$instance, $action];

Call Stack

  1. in Module.php line 97
  2. at Module->exec() in Dispatch.php line 168
  3. at Dispatch->run() in App.php line 432
  4. at App->think\{closure}(object(Request), object(Closure), null)
  5. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  6. at Middleware->think\{closure}(object(Request))
  7. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  8. at Middleware->dispatch(object(Request)) in App.php line 435
  9. at App->run() in index.php line 25

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER
nginx
HOME
/var/lib/nginx
HTTP_ACCEPT_ENCODING
deflate, gzip
HTTP_ACCEPT
*/*
HTTP_HOST
jxr168.com
HTTP_USER_AGENT
Mozilla/5.0+(compatible;+Baiduspider/2.0;++http://www.baidu.com/search/spider.html)
REDIRECT_STATUS
200
SERVER_NAME
www.jxr168.com
SERVER_PORT
80
SERVER_ADDR
172.31.72.88
REMOTE_PORT
20000
REMOTE_ADDR
154.221.102.65
SERVER_SOFTWARE
nginx/1.12.2
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_URI
/index.php
REQUEST_URI
/home/home/index.html
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/home/home/index.html
SCRIPT_FILENAME
/home/www/juxiangrui/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1620505025.9005
REQUEST_TIME
1620505025
Environment Variablesempty
ThinkPHP Constants
APP_LOG_TYPE
app_info
EC_SUCCESS
200
EC_FAILURE
500
EC_DATABASE_ERROR
501
EC_DATA_EMPTY
100000
EC_SIGN_ERROR
100001
EC_PARAMS_ILLEGAL
100002
EC_REQUEST_ERROR
100003
EC_UPLOAD_ILLEGAL
100004
EC_UPLOAD_ERROR
100005
EC_ENV_CONFIG_ERROR
100006
EC_REPEAT_REQUEST
100007
EC_AD_BEHAVIOR_NO_CONFIGURATION_PERMISSION
200000
EC_AD_BEHAVIOR_NO_ACCESS_PERMISSION
200001
EC_AD_AUTH_MEMBER_USERNAME_NOT_EXIST
201000
EC_AD_AUTH_MEMBER_USERNAME_ALREADY_EXIST
201001
EC_AD_AUTH_MEMBER_LOGIN_CAPTCHA_ERROR
201002
EC_AD_AUTH_MEMBER_LOGIN_PASSWORD_ERROR
201003
EC_HOME_GUEST_BOOK_MOBILE_ALREADY_EXIST
300000
BANNER_STATUS_YES
1
BANNER_STATUS_NO
0
WEB_ARTICLE_STATUS_YES
1
WEB_ARTICLE_STATUS_NO
0
WEB_AD_STATUS_YES
1
WEB_AD_STATUS_NO
0
WEB_CONFIG_STATUS_YES
1
WEB_CONFIG_STATUS_NO
0
AUTH_MEMBER_STATUS_YES
1
AUTH_MEMBER_STATUS_NO
0
AUTH_RULE_STATUS_YES
1
AUTH_RULE_STATUS_NO
0