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

控制器不存在:app\controller\Blog

  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 65
  11. at MultiApp->handle()
  12. at call_user_func() in Middleware.php line 142
  13. at Middleware->think\{closure}() in Pipeline.php line 85
  14. at Pipeline->think\{closure}() in CrossDomain.php line 33
  15. at CrossDomain->handle()
  16. at call_user_func() in Middleware.php line 142
  17. at Middleware->think\{closure}() in Pipeline.php line 85
  18. at Pipeline->think\{closure}() in TraceDebug.php line 71
  19. at TraceDebug->handle()
  20. at call_user_func() in Middleware.php line 142
  21. at Middleware->think\{closure}() in Pipeline.php line 85
  22. at Pipeline->think\{closure}() in Pipeline.php line 66
  23. at Pipeline->then() in Http.php line 207
  24. at Http->runWithRequest() in Http.php line 170
  25. at Http->run() in index.php line 20

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
HTTP_HOST www.zsgw.vip
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME zsgw.vip
SERVER_PORT 443
SERVER_ADDR 172.25.80.116
REMOTE_PORT 37944
REMOTE_ADDR 3.235.243.45
SERVER_SOFTWARE nginx/1.21.4
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/2.0
DOCUMENT_ROOT /www/wwwroot/zsgw.vip/public
DOCUMENT_URI /index.php
REQUEST_URI /blog/%e5%8d%83%e9%9a%be%e4%b8%87%e9%99%a9%e4%bd%95%e6%89%80%e6%83%a7%e8%b6%8a%e6%98%af%e8%89%b0%e9%99%a9%e8%b6%8a%e5%90%91%e5%89%8d%ef%bc%9a%e6%8a%a5%e9%81%93%e4%bf%ae
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/blog/%E5%8D%83%E9%9A%BE%E4%B8%87%E9%99%A9%E4%BD%95%E6%89%80%E6%83%A7%E8%B6%8A%E6%98%AF%E8%89%B0%E9%99%A9%E8%B6%8A%E5%90%91%E5%89%8D%EF%BC%9A%E6%8A%A5%E9%81%93%E4%BF%AE
SCRIPT_FILENAME /www/wwwroot/zsgw.vip/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711621152.1201
REQUEST_TIME 1711621152
0.023931s