#0 [0]HttpException in helper.php line 53

提示1:程序未授权使用

  1. * @param integer|Response $code 状态码 或者 Response对象实例
  2. * @param string $message 错误信息
  3. * @param array $header 参数
  4. */
  5. function abort($code, string $message = '', array $header = [])
  6. {
  7. if ($code instanceof Response) {
  8. throw new HttpResponseException($code);
  9. } else {
  10. throw new HttpException($code, $message, null, $header);
  11. }
  12. }
  13. }
  14. if (!function_exists('app')) {
  15. /**
  16. * 快速获取容器中的实例 支持依赖注入
  17. * @template T
  18. * @param string|class-string<T> $name 类名或标识 默认获取当前应用实例

Call Stack

  1. in helper.php line 53
  2. at abort() in common.php line 0
  3. at unknown()
  4. at sg_load() in common.php line 2
  5. at include_once('/www/wwwroot/ytszhsc...') in MultiApp.php line 219
  6. at MultiApp->loadApp() in MultiApp.php line 207
  7. at MultiApp->setApp() in MultiApp.php line 166
  8. at MultiApp->parseMultiApp() in MultiApp.php line 64
  9. at MultiApp->handle()
  10. at call_user_func() in Middleware.php line 142
  11. at Middleware->think\{closure}() in Pipeline.php line 85
  12. at Pipeline->think\{closure}() in SessionInit.php line 67
  13. at SessionInit->handle()
  14. at call_user_func() in Middleware.php line 142
  15. at Middleware->think\{closure}() in Pipeline.php line 85
  16. at Pipeline->think\{closure}() in ReadHtml.php line 16
  17. at ReadHtml->handle()
  18. at call_user_func() in Middleware.php line 142
  19. at Middleware->think\{closure}() in Pipeline.php line 85
  20. at Pipeline->think\{closure}() in TraceDebug.php line 71
  21. at TraceDebug->handle()
  22. at call_user_func() in Middleware.php line 142
  23. at Middleware->think\{closure}() in Pipeline.php line 85
  24. at Pipeline->think\{closure}() in Pipeline.php line 66
  25. at Pipeline->then() in Http.php line 207
  26. at Http->runWithRequest() in Http.php line 170
  27. at Http->run() in index.php line 43

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
PHPSESSID 1a4cb950153c240c19cd76f542ea7596
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_CONNECTION keep-alive
HTTP_CACHE_CONTROL max-age=259200
HTTP_X_FORWARDED_FOR 10.8.140.229
HTTP_VIA 1.1 squid-proxy-5b96dc6d46-8hp4b (squid/6.13)
HTTP_HOST www.ytszhsc.com
HTTP_ACCEPT_ENCODING gzip, br, zstd, deflate
HTTP_COOKIE PHPSESSID=1a4cb950153c240c19cd76f542ea7596
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT */*
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME ytszhsc.cysywcy.com
SERVER_PORT 80
SERVER_ADDR 191.214.82.189
REMOTE_PORT 20526
REMOTE_ADDR 216.73.217.15
SERVER_SOFTWARE nginx/1.24.0
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/ytszhsc.cysywcy.com
DOCUMENT_URI /index.php
REQUEST_URI /member/
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/user/center/index
SCRIPT_FILENAME /www/wwwroot/ytszhsc.cysywcy.com/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1788854877.2031
REQUEST_TIME 1788854877
0.544757s