[0] RouteNotFoundException in Route.php line 897

当前访问路由未定义或不匹配

  1. // 检测跨域路由
  2. $result = $this->cross->check($this->request, $url, $completeMatch);
  3. }
  4. if (false !== $result) {
  5. // 路由匹配
  6. return $result;
  7. } elseif ($must) {
  8. // 强制路由不匹配则抛出异常
  9. throw new RouteNotFoundException();
  10. }
  11. // 默认路由解析
  12. return new UrlDispatch($this->request, $this->group, $url, [
  13. 'auto_search' => $this->autoSearchController,
  14. ]);
  15. }
  16. /**

Call Stack

  1. in Route.php line 897
  2. at Route->check('news|30', true) in App.php line 604
  3. at App->routeCheck() in App.php line 402
  4. at App->run() in index.php line 10

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
SCRIPT_NAME /index.php
REQUEST_URI /index.php?s=/news/30.html
QUERY_STRING s=/news/30.html
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/2.0
GATEWAY_INTERFACE CGI/1.1
REMOTE_PORT 35688
SCRIPT_FILENAME /www/wwwroot/molloguitar/public/index.php
SERVER_ADMIN webmaster@example.com
CONTEXT_DOCUMENT_ROOT /www/wwwroot/molloguitar/public/
CONTEXT_PREFIX
REQUEST_SCHEME https
DOCUMENT_ROOT /www/wwwroot/molloguitar/public/
REMOTE_ADDR 44.202.90.91
SERVER_PORT 443
SERVER_ADDR 172.26.26.245
SERVER_NAME www.molloguitar.com
SERVER_SOFTWARE Apache
SERVER_SIGNATURE <address>Apache Server at www.molloguitar.com Port 443</address>
LD_LIBRARY_PATH /www/server/apache/lib
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
HTTP_HOST www.molloguitar.com
HTTP_REFERER http://molloguitar.com/news/30.html
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
proxy-nokeepalive 1
H2_STREAM_TAG 128-3
H2_STREAM_ID 3
H2_PUSHED_ON
H2_PUSHED
H2_PUSH off
H2PUSH off
HTTP2 on
SSL_TLS_SNI www.molloguitar.com
HTTPS on
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711623634.7514
REQUEST_TIME 1711623634
Environment Variablesempty
ThinkPHP Constants
EXTEND_PATH /www/wwwroot/molloguitar/extend
ROOT_PATH /www/wwwroot/molloguitar
__STATIC__ /www/wwwroot/molloguitar/static/
INDEX_PATH /www/wwwroot/molloguitar/public
DS /