中国·银河集团-www.198net|官方网站-主頁欢迎您

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

控制器不存在:app\Public\controller\HomeController

  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 56
  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 58
  11. at SessionInit->handle()
  12. at call_user_func() in Middleware.php line 134
  13. at Middleware->think\{closure}() in Pipeline.php line 85
  14. at Pipeline->think\{closure}() in LangDetect.php line 46
  15. at LangDetect->handle()
  16. at call_user_func() in Middleware.php line 134
  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 134
  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 208
  24. at Http->runWithRequest() in Http.php line 171
  25. at Http->run() in index.php line 32

Environment Variables

GET Data
t 0717
POST Dataempty
Filesempty
Cookies
PHPSESSID 17d0bbbe7cc0251e0270027e4d6670bd
Session
current_home_lang zh-cn
last_time 1751835429
Server/Request Data
USER apache
HOME /usr/share/httpd
HTTP_COOKIE PHPSESSID=17d0bbbe7cc0251e0270027e4d6670bd
HTTP_ACCEPT_ENCODING gzip
HTTP_ACCEPT */*
HTTP_HOST www.cosunter.com
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
PATH_INFO
SCRIPT_FILENAME /var/www/cosunter/public/index.php
REDIRECT_STATUS 200
SERVER_NAME default_server
SERVER_PORT 443
SERVER_ADDR 10.45.148.114
REMOTE_PORT 46810
REMOTE_ADDR 107.158.233.226
SERVER_SOFTWARE nginx/1.20.1
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /var/www/cosunter/public
DOCUMENT_URI /index.php
REQUEST_URI /Public/Home/css/style.css?t=0717
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=Public/Home/css/style.css&t=0717
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1751836165.0727
REQUEST_TIME 1751836165
XML 地图