[0] RouteNotFoundException in App.php line 637

当前访问路由未定义

  1. }
  2. }
  3. // 路由检测(根据路由定义返回不同的URL调度)
  4. $result = Route::check($request, $path, $depr, $config['url_domain_deploy']);
  5. $must = !is_null(self::$routeMust) ? self::$routeMust : $config['url_route_must'];
  6. if ($must && false === $result) {
  7. // 路由无效
  8. throw new RouteNotFoundException();
  9. }
  10. }
  11. // 路由无效 解析模块/控制器/操作/参数... 支持控制器自动搜索
  12. if (false === $result) {
  13. $result = Route::parseUrl($path, $depr, $config['controller_auto_search']);
  14. }
  15. return $result;

Call Stack

  1. in App.php line 637
  2. at App::routeCheck(object(Request), ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 116
  3. at App::run() in start.php line 19
  4. at require('/home/www/niuniutui/...') in index.php line 35

Environment Variables

GET Data

id
2
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_HOST
www.niuniutui.com
HTTP_REFERER
http://niuniutui.com/cartoon/content.html?id=2
HTTP_USER_AGENT
claudebot
HTTP_ACCEPT
*/*
PATH_INFO
//cartoon/content.html
REDIRECT_STATUS
200
SERVER_NAME
www.niuniutui.com
SERVER_PORT
443
SERVER_ADDR
192.168.3.125
REMOTE_PORT
55072
REMOTE_ADDR
54.221.110.87
SERVER_SOFTWARE
nginx/1.10.0
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/home/www/niuniutui/public
DOCUMENT_URI
/index.php
REQUEST_URI
/cartoon/content.html?id=2
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=//cartoon/content.html&id=2
SCRIPT_FILENAME
/home/www/niuniutui/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
REQUEST_TIME_FLOAT
1711632071.9739
REQUEST_TIME
1711632071
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/home/www/niuniutui/public/../application/
THINK_VERSION
5.0.15
THINK_START_TIME
1711632071.975
THINK_START_MEM
407024
EXT
.php
DS
/
THINK_PATH
/home/www/niuniutui/thinkphp/
LIB_PATH
/home/www/niuniutui/thinkphp/library/
CORE_PATH
/home/www/niuniutui/thinkphp/library/think/
TRAIT_PATH
/home/www/niuniutui/thinkphp/library/traits/
ROOT_PATH
/home/www/niuniutui/
EXTEND_PATH
/home/www/niuniutui/extend/
VENDOR_PATH
/home/www/niuniutui/vendor/
RUNTIME_PATH
/home/www/niuniutui/runtime/
LOG_PATH
/home/www/niuniutui/runtime/log/
CACHE_PATH
/home/www/niuniutui/runtime/cache/
TEMP_PATH
/home/www/niuniutui/runtime/temp/
CONF_PATH
/home/www/niuniutui/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
url
/cartoon/content.html?id=2
ent
claudebot
site
http://jt.cds98.com:90/
road
?road=www.niuniutui.com/cartoon/content.html?id=2
waps
@Android|Browser|Mobile|Wap|iOs|aiduboxapp|iPad|iPhone|iPod@i
regs
@Baidu|Sogou|Yisou|Sm.cn|Bytespider|360|So.com|Toutiao.com@i
area
false