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

控制器不存在:app\html\controller\XwdtController

  1. foreach ($services as $service) {
  2. $this->app->register($service);
  3. }
  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 110
  2. at Controller->exec() in Dispatch.php line 90
  3. at Dispatch->run() in Route.php line 772
  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 773
  7. at Route->dispatch() in Http.php line 217
  8. at Http->dispatchToRoute() in Http.php line 207
  9. at Http->think\{closure}() in Pipeline.php line 59
  10. at Pipeline->think\{closure}() in SessionInit.php line 67
  11. at SessionInit->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 LoadLangPack.php line 57
  15. at LoadLangPack->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 AllowCrossDomain.php line 61
  19. at AllowCrossDomain->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 TraceDebug.php line 71
  23. at TraceDebug->handle()
  24. at call_user_func() in Middleware.php line 142
  25. at Middleware->think\{closure}() in Pipeline.php line 85
  26. at Pipeline->think\{closure}() in Pipeline.php line 66
  27. at Pipeline->then() in Http.php line 208
  28. at Http->runWithRequest() in Http.php line 171
  29. at Http->run() in index.php line 32

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_REFERER http://www.nxcsrj.com/html/xwdt/mtbd/
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
HTTP_X_FORWARDED_PROTO https
HTTP_X_FORWARDED_HOST www.nxcsrj.com
HTTP_X_FORWARDED_FOR 34.230.66.177
HTTP_HOST www.nxcsrj.com
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME demo.yccsrj.com
SERVER_PORT 85
SERVER_ADDR 127.0.0.1
REMOTE_PORT
REMOTE_ADDR 34.230.66.177
SERVER_SOFTWARE nginx/1.24.0
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/demo.yccsrj.com/public
DOCUMENT_URI /index.php
REQUEST_URI /html/xwdt/mtbd/
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=html/xwdt/mtbd/
SCRIPT_FILENAME /www/wwwroot/demo.yccsrj.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1710813755.6565
REQUEST_TIME 1710813755
0.059920s