#0 [1]HttpException in Controller.php line 85

控制器不存在:app\controller\sitemap\XmlController

  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. return $this->responseWithMiddlewarePipeline($instance, $this->actionName);
  12. }
  13. /**
  14. * 实例化访问控制器
  15. * @access public
  16. * @param string $name 资源地址

Call Stack

  1. in Controller.php line 85
  2. at Controller->exec() in Dispatch.php line 56
  3. at Dispatch->run() in Route.php line 713
  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 712
  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 45
  11. at MultiApp->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 TraceDebug.php line 71
  15. at TraceDebug->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 Pipeline.php line 66
  19. at Pipeline->then() in Http.php line 197
  20. at Http->runWithRequest() in Http.php line 162
  21. at Http->run() in index.php line 20

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
HOSTNAME php82
PHP_INI_DIR /usr/local/etc/php
SHLVL 2
HOME /home/www-data
PHP_LDFLAGS -Wl,-O1 -pie
PHP_CFLAGS -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
PHP_VERSION 8.2.28
GPG_KEYS 39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC
PHP_CPPFLAGS -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
PHP_ASC_URL https://www.php.net/distributions/php-8.2.28.tar.xz.asc
PHP_URL https://www.php.net/distributions/php-8.2.28.tar.xz
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PHPIZE_DEPS autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c
PWD /www/wwwroot
PHP_SHA256 af8c9153153a7f489153b7a74f2f29a5ee36f5cb2c6c6929c98411a577e89c91
TZ Asia/Shanghai
USER www-data
HTTP_ACCEPT_ENCODING gzip, br, zstd, deflate
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT */*
HTTP_HOST api.template.beta.szzk.cn
REDIRECT_STATUS 200
SERVER_NAME api.template.beta.szzk.cn
SERVER_PORT 443
SERVER_ADDR 172.18.0.9
REMOTE_PORT 41040
REMOTE_ADDR 216.73.216.82
SERVER_SOFTWARE nginx/1.23.3
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/2.0
DOCUMENT_ROOT /www/wwwroot/api.template.beta.szzk.cn/public
DOCUMENT_URI /index.php
REQUEST_URI /sitemap.xml
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=//sitemap.xml
SCRIPT_FILENAME /www/wwwroot/api.template.beta.szzk.cn/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1765327212.1856
REQUEST_TIME 1765327212
0.011494s