#0 [0]HttpException in Url.php line 89

非法请求:news/index

  1. }
  2. // 设置当前请求的参数
  3. $this->param = $var;
  4. // 封装路由
  5. $route = [$controller, $action];
  6. if ($this->hasDefinedRoute($route)) {
  7. throw new HttpException(404, 'invalid request:' . str_replace('|', $depr, $url));
  8. }
  9. return $route;
  10. }
  11. /**
  12. * 检查URL是否已经定义过路由
  13. * @access protected
  14. * @param array $route 路由信息

Call Stack

  1. in Url.php line 89
  2. at Url->parseUrl() in Url.php line 31
  3. at Url->__construct() in Route.php line 857
  4. at Route->url() in Route.php line 815
  5. at Route->check() in Route.php line 775
  6. at Route->dispatch() in Http.php line 216
  7. at Http->dispatchToRoute() in Http.php line 206
  8. at Http->think\{closure}() in Pipeline.php line 59
  9. at Pipeline->think\{closure}() in Multiple.php line 72
  10. at Multiple->think\admin\multiple\{closure}() in Pipeline.php line 59
  11. at Pipeline->think\{closure}() in Pipeline.php line 66
  12. at Pipeline->then() in Multiple.php line 73
  13. at Multiple->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 LoadLangPack.php line 57
  17. at LoadLangPack->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 SessionInit.php line 67
  21. at SessionInit->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 SystemService.php line 500
  28. at SystemService::doInit() in index.php line 12

Environment Variables

GET Data
type 2
per_page 3
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_HOST www.ouenbei.cc
HTTP_D51513CA51B8E2F7B866523100232AB6 tag
HTTP_X_NWS_LOG_UUID 9389363797971008310
HTTP_TENCENT_ACCELERATION_DOMAIN_NAME www.ouenbei.cc
HTTP_B99525A34C3A3FFC8F2E9B17246E0DE2 tag
HTTP_B229E54DA713062A9BC3A71ABAD95BA4 tag
HTTP_X_FORWARDED_PROTO http
HTTP_X_TENCENT_UA Qcloud
HTTP_CONNECTION keep-alive
HTTP_3980FF84B2840E6C704067C138A83D2D tag
HTTP_X_FORWARDED_FOR 35.170.54.171
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
PATH_INFO /news/index
REDIRECT_STATUS 200
SERVER_NAME www.ouenbei.cc
SERVER_PORT 80
SERVER_ADDR 172.21.126.143
REMOTE_PORT 24948
REMOTE_ADDR 27.222.2.102
SERVER_SOFTWARE nginx/1.20.2
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/ouenbei/public
DOCUMENT_URI /index.php/news/index
REQUEST_URI /index.php/news/index?type=2&per_page=3
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING type=2&per_page=3
SCRIPT_FILENAME /www/wwwroot/ouenbei/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php/news/index
REQUEST_TIME_FLOAT 1711692722.641
REQUEST_TIME 1711692722