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

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

  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 90
  3. at Dispatch->run() in Route.php line 785
  4. at Route->think\{closure}() in Pipeline.php line 59
  5. at Pipeline->think\{closure}() in Pipeline.php line 66
  6. at Pipeline->then() in Route.php line 786
  7. at Route->dispatch() in Http.php line 216
  8. at Http->dispatchToRoute() in Http.php line 206
  9. at Http->think\{closure}() in Pipeline.php line 59
  10. at Pipeline->think\{closure}() in MultiApp.php line 71
  11. at MultiApp->think\app\{closure}() in Pipeline.php line 59
  12. at Pipeline->think\{closure}() in BaseMiddleware.php line 28
  13. at BaseMiddleware->handle()
  14. at call_user_func() in Middleware.php line 142
  15. at Middleware->think\{closure}() in Pipeline.php line 85
  16. at Pipeline->think\{closure}() in LikeAdminAllowMiddleware.php line 47
  17. at LikeAdminAllowMiddleware->handle()
  18. at call_user_func() in Middleware.php line 142
  19. at Middleware->think\{closure}() in Pipeline.php line 85
  20. at Pipeline->think\{closure}() in Pipeline.php line 66
  21. at Pipeline->then() in MultiApp.php line 72
  22. at MultiApp->handle()
  23. at call_user_func() in Middleware.php line 142
  24. at Middleware->think\{closure}() in Pipeline.php line 85
  25. at Pipeline->think\{closure}() in BaseMiddleware.php line 28
  26. at BaseMiddleware->handle()
  27. at call_user_func() in Middleware.php line 142
  28. at Middleware->think\{closure}() in Pipeline.php line 85
  29. at Pipeline->think\{closure}() in LikeAdminAllowMiddleware.php line 47
  30. at LikeAdminAllowMiddleware->handle()
  31. at call_user_func() in Middleware.php line 142
  32. at Middleware->think\{closure}() in Pipeline.php line 85
  33. at Pipeline->think\{closure}() in TraceDebug.php line 71
  34. at TraceDebug->handle()
  35. at call_user_func() in Middleware.php line 142
  36. at Middleware->think\{closure}() in Pipeline.php line 85
  37. at Pipeline->think\{closure}() in Pipeline.php line 66
  38. at Pipeline->then() in Http.php line 207
  39. at Http->runWithRequest() in Http.php line 170
  40. at Http->run() in index.php line 25

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
JSESSIONID 77AA67571E26879B5BB064624EFDB876
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_COOKIE JSESSIONID=77AA67571E26879B5BB064624EFDB876
HTTP_ACCEPT_ENCODING gzip
HTTP_ACCEPT */*
HTTP_HOST www.szdrawray.com
HTTP_USER_AGENT Mozilla/5.0 (compatible; Bingbot/2.0; +http://www.bing.com/bingbot.htm)
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME www.szdrawray.com
SERVER_PORT 443
SERVER_ADDR 172.31.5.75
REMOTE_PORT 37234
REMOTE_ADDR 173.232.241.74
SERVER_SOFTWARE nginx/1.22.0
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/www.szdrawray.com/public
DOCUMENT_URI /index.php
REQUEST_URI /messages
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/messages
SCRIPT_FILENAME /www/wwwroot/www.szdrawray.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1685603550.4034
REQUEST_TIME 1685603550
0.422259s