[0] HttpException in Module.php line 116

控制器不存在:app\news\controller\Zx

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

Call Stack

  1. in Module.php line 116
  2. at Module->run() in Url.php line 31
  3. at Url->run() in App.php line 405
  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 119
  6. at Middleware->think\{closure}(object(Request))
  7. at call_user_func(object(Closure), object(Request)) in Middleware.php line 74
  8. at Middleware->dispatch(object(Request)) in App.php line 426
  9. at App->run() in index.php line 20

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
FCGI_ROLE RESPONDER
SCRIPT_FILENAME /www/wwwroot/www.xiaohaigui520.com/public/index.php
QUERY_STRING s=/news/zx/2020-09-17/142.html
REQUEST_METHOD GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME /index.php
REQUEST_URI /news/zx/2020-09-17/142.html
DOCUMENT_URI /index.php
DOCUMENT_ROOT /www/wwwroot/www.xiaohaigui520.com/public
SERVER_PROTOCOL HTTP/2.0
REQUEST_SCHEME https
HTTPS on
GATEWAY_INTERFACE CGI/1.1
SERVER_SOFTWARE nginx/1.17.8
REMOTE_ADDR 54.163.200.109
REMOTE_PORT 44322
SERVER_ADDR 172.19.154.172
SERVER_PORT 443
SERVER_NAME www.xiaohaigui520.com
REDIRECT_STATUS 200
PATH_INFO /news/zx/2020-09-17/142.html
HTTP_HOST www.xiaohaigui520.com
HTTP_ACCEPT */*
HTTP_USER_AGENT claudebot
HTTP_REFERER http://www.xiaohaigui520.com/news/zx/2020-09-17/142.html
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711664695.6338
REQUEST_TIME 1711664695
Environment Variablesempty
ThinkPHP Constants
DOCUMENT_PATH /www/wwwroot/www.xiaohaigui520.com/public
MD5_KEY WS
APP_PATH /www/wwwroot/application/www.xiaohaigui520.com
ADD 1
CHECK 2
DELETE 4
EDIT 8
DOWNLOAD 16
PULL 32
PUSH 64