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

文章不存在!

  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 ArticleController.php line 39
  3. at ArticleController->index()
  4. at ReflectionMethod->invokeArgs() in Container.php line 345
  5. at Container->invokeReflectMethod() in Controller.php line 146
  6. at Controller->think\route\dispatch\{closure}() in Pipeline.php line 59
  7. at Pipeline->think\{closure}() in Pipeline.php line 66
  8. at Pipeline->then() in Controller.php line 149
  9. at Controller->exec() in Dispatch.php line 52
  10. at Dispatch->run() in Route.php line 772
  11. at Route->think\{closure}() in Pipeline.php line 59
  12. at Pipeline->think\{closure}() in Pipeline.php line 66
  13. at Pipeline->then() in Route.php line 773
  14. at Route->dispatch() in Http.php line 217
  15. at Http->dispatchToRoute() in Http.php line 207
  16. at Http->think\{closure}() in Pipeline.php line 59
  17. at Pipeline->think\{closure}() in SessionInit.php line 58
  18. at SessionInit->handle()
  19. at call_user_func() in Middleware.php line 134
  20. at Middleware->think\{closure}() in Pipeline.php line 85
  21. at Pipeline->think\{closure}() in TraceDebug.php line 71
  22. at TraceDebug->handle()
  23. at call_user_func() in Middleware.php line 134
  24. at Middleware->think\{closure}() in Pipeline.php line 85
  25. at Pipeline->think\{closure}() in Pipeline.php line 66
  26. at Pipeline->then() in Http.php line 208
  27. at Http->runWithRequest() in Http.php line 171
  28. at Http->run() in index.php line 32

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Session
last_time 1711647017
Server/Request Data
USER www
HOME /home/www
HTTP_HOST business.wien.ren
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME theme.wien.ren
SERVER_PORT 80
SERVER_ADDR 172.17.32.193
REMOTE_PORT 37676
REMOTE_ADDR 3.89.116.152
SERVER_SOFTWARE nginx/1.22.1
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/theme.wien.ren/public
DOCUMENT_URI /index.php
REQUEST_URI /portal/article/index/id/10/cid/2.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=portal/article/index/id/10/cid/2.html
SCRIPT_FILENAME /www/wwwroot/theme.wien.ren/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711647017.7037
REQUEST_TIME 1711647017
0.060883s