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

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

  1. }
  2. // 检查分组绑定
  3. $prefix = $this->rule->getOption('prefix');
  4. if (!str_starts_with($route, $prefix)) {
  5. $route = $prefix . $route;
  6. }
  7. $this->parseDispatch($route);
  8. $instance = $this->controller($this->controller);
  9. } else {
  10. throw new HttpException(404, 'controller not exists:' . $e->getClass());
  11. }
  12. }
  13. return $this->responseWithMiddlewarePipeline($instance, $this->actionName);
  14. }
  15. /**
  16. * 实例化访问控制器
  17. * @access public

Call Stack

  1. in Controller.php line 108
  2. at Controller->exec() in Dispatch.php line 48
  3. at Dispatch->run() in Route.php line 717
  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 716
  7. at Route->dispatch() in Http.php line 208
  8. at Http->dispatchToRoute() in Http.php line 198
  9. at Http->think\{closure}() in Pipeline.php line 59
  10. at Pipeline->think\{closure}() in MultiApp.php line 51
  11. at MultiApp->think\app\{closure}() in Pipeline.php line 59
  12. at Pipeline->think\{closure}() in Pipeline.php line 66
  13. at Pipeline->then() in MultiApp.php line 50
  14. at MultiApp->handle()
  15. at call_user_func() in Middleware.php line 134
  16. at Middleware->think\{closure}() in Pipeline.php line 85
  17. at Pipeline->think\{closure}() in SessionInit.php line 58
  18. at SessionInit->handle()
  19. at call_user_func() in Middleware.php line 134
  20. at Middleware->think\{closure}() in Pipeline.php line 85
  21. at Pipeline->think\{closure}() in Pipeline.php line 66
  22. at Pipeline->then() in Http.php line 197
  23. at Http->runWithRequest() in Http.php line 162
  24. at Http->run() in index.php line 22

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_ACCEPT */*
HTTP_USER_AGENT Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)
HTTP_HOST hainanliou.com
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME hainanliou.com
SERVER_PORT 443
SERVER_ADDR 192.168.0.125
REMOTE_PORT 38880
REMOTE_ADDR 154.92.254.81
SERVER_SOFTWARE nginx/1.26.0
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /app/xinyang-0407/public
DOCUMENT_URI /index.php
REQUEST_URI /post/2016.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=//post/2016.html
SCRIPT_FILENAME /app/xinyang-0407/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF
REQUEST_TIME_FLOAT 1778829017.879
REQUEST_TIME 1778829017