#0 [0]HttpException in Controller.php line 76

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

  1. ->setAction($this->actionName);
  2. }
  3. public function exec()
  4. {
  5. try {
  6. // 实例化控制器
  7. $instance = $this->controller($this->controller);
  8. } catch (ClassNotFoundException $e) {
  9. throw new HttpException(404, 'controller not exists:' . $e->getClass());
  10. }
  11. // 注册控制器中间件
  12. $this->registerControllerMiddleware($instance);
  13. return $this->app->middleware->pipeline('controller')
  14. ->send($this->request)
  15. ->then(function () use ($instance) {
  16. // 获取当前操作名

Call Stack

  1. in Controller.php line 76
  2. at Controller->exec() in Dispatch.php line 80
  3. at Dispatch->run() in Route.php line 793
  4. at Route->think\{closure}(object(Request)) in Pipeline.php line 59
  5. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  6. at Pipeline->then(object(Closure)) in Route.php line 794
  7. at Route->dispatch(object(Request), object(Closure)) in Http.php line 216
  8. at Http->dispatchToRoute(object(Request)) in Http.php line 206
  9. at Http->think\{closure}(object(Request)) in Pipeline.php line 59
  10. at Pipeline->think\{closure}(object(Request)) in MultiApp.php line 51
  11. at MultiApp->think\app\{closure}(object(Request)) in Pipeline.php line 59
  12. at Pipeline->think\{closure}(object(Request)) in CsrfMiddleware.php line 55
  13. at CsrfMiddleware->handle(object(Request), object(Closure))
  14. at call_user_func([object(CsrfMiddleware), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  15. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  16. at Pipeline->think\{closure}(object(Request)) in SystemLog.php line 74
  17. at SystemLog->handle(object(Request), object(Closure))
  18. at call_user_func([object(SystemLog), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  19. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  20. at Pipeline->think\{closure}(object(Request)) in SessionInit.php line 67
  21. at SessionInit->handle(object(Request), object(Closure))
  22. at call_user_func([object(SessionInit), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  23. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  24. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  25. at Pipeline->then(object(Closure)) in MultiApp.php line 52
  26. at MultiApp->handle(object(Request), object(Closure))
  27. at call_user_func([object(MultiApp), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  28. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  29. at Pipeline->think\{closure}(object(Request)) in SessionInit.php line 67
  30. at SessionInit->handle(object(Request), object(Closure))
  31. at call_user_func([object(SessionInit), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  32. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  33. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  34. at Pipeline->then(object(Closure)) in Http.php line 207
  35. at Http->runWithRequest(object(Request)) in Http.php line 170
  36. at Http->run() in index.php line 19

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_REFERER https://lmlist.com/index.php/news/newsList/19/76/index.html
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
HTTP_HOST www.lmlist.com
PATH_INFO /news/newsList/19/76/index.html
REDIRECT_STATUS 200
SERVER_NAME www.lmlist.com
SERVER_PORT 443
SERVER_ADDR 107.182.25.77
REMOTE_PORT 55300
REMOTE_ADDR 44.222.249.19
SERVER_SOFTWARE nginx/1.19.8
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/2.0
DOCUMENT_ROOT /www/wwwroot/www.lmlist.com/public
DOCUMENT_URI /index.php/news/newsList/19/76/index.html
REQUEST_URI /index.php/news/newsList/19/76/index.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING
SCRIPT_FILENAME /www/wwwroot/www.lmlist.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php/news/newsList/19/76/index.html
REQUEST_TIME_FLOAT 1711646987.4806
REQUEST_TIME 1711646987