[0] RouteNotFoundException in App.php line 653

当前访问路由未定义

  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 653
  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('/usr/share/nginx/htm...') in index.php line 17

Environment Variables

GET Data

page
2
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

MYSQL_PORT_33060_TCP
tcp://172.17.0.2:33060
PHP_EXTRA_CONFIGURE_ARGS
--enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data
HOSTNAME
28fd6d91cd5f
PHP_INI_DIR
/usr/local/etc/php
HOME
/var/www
PHP_LDFLAGS
-Wl,-O1 -Wl,--hash-style=both -pie
PHP_CFLAGS
-fstack-protector-strong -fpic -fpie -O2
PHP_MD5
PHP_VERSION
5.6.30
MYSQL_ENV_MYSQL_MAJOR
5.7
GPG_KEYS
0BD78B5F97500D450838F95DFE857D9A90D90EC1 6E4F6AB321FDC07F2C332E3AC2BF0BC433CFC8B3
PHP_CPPFLAGS
-fstack-protector-strong -fpic -fpie -O2
PHP_ASC_URL
https://secure.php.net/get/php-5.6.30.tar.xz.asc/from/this/mirror
PHP_URL
https://secure.php.net/get/php-5.6.30.tar.xz/from/this/mirror
MYSQL_PORT_3306_TCP_ADDR
172.17.0.2
MYSQL_ENV_MYSQL_ROOT_PASSWORD
123456
PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
MYSQL_ENV_GOSU_VERSION
1.7
MYSQL_PORT_3306_TCP_PORT
3306
MYSQL_PORT_3306_TCP_PROTO
tcp
MYSQL_PORT_33060_TCP_ADDR
172.17.0.2
MYSQL_PORT
tcp://172.17.0.2:3306
MYSQL_PORT_3306_TCP
tcp://172.17.0.2:3306
MYSQL_PORT_33060_TCP_PORT
33060
MYSQL_ENV_MYSQL_VERSION
5.7.23-1debian9
MYSQL_PORT_33060_TCP_PROTO
tcp
MYSQL_NAME
/php/mysql
PHPIZE_DEPS
autoconf dpkg-dev file g++ gcc libc-dev libpcre3-dev make pkg-config re2c
PWD
/var/www/html
PHP_SHA256
a363185c786432f75e3c7ff956b49c3369c3f6906a6b10459f8d1ddc22f70805
USER
www-data
FCGI_ROLE
RESPONDER
QUERY_STRING
s=/buy-pet&page=2
REQUEST_METHOD
GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME
/index.php
REQUEST_URI
/buy-pet?page=2
DOCUMENT_URI
/index.php
DOCUMENT_ROOT
/usr/share/nginx/html/baapet-new/public
SERVER_PROTOCOL
HTTP/1.1
REQUEST_SCHEME
http
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.17.9
REMOTE_ADDR
172.70.42.113
REMOTE_PORT
36910
SERVER_ADDR
172.17.0.4
SERVER_PORT
80
SERVER_NAME
www.buyandadoptpet.com
REDIRECT_STATUS
200
SCRIPT_FILENAME
/usr/share/nginx/html/baapet-new/public/index.php
HTTP_HOST
www.buyandadoptpet.com
HTTP_CONNECTION
Keep-Alive
HTTP_ACCEPT_ENCODING
gzip, br
HTTP_X_FORWARDED_FOR
54.144.95.36
HTTP_CF_RAY
86ba31f76a5c07bb-IAD
HTTP_X_FORWARDED_PROTO
https
HTTP_CF_VISITOR
{"scheme":"https"}
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
claudebot
HTTP_CF_CONNECTING_IP
54.144.95.36
HTTP_CDN_LOOP
cloudflare
HTTP_CF_IPCOUNTRY
US
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1711655909.0525
REQUEST_TIME
1711655909
PATH_INFO
/buy-pet
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/usr/share/nginx/html/baapet-new/public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1711655909.0527
THINK_START_MEM
243808
EXT
.php
DS
/
THINK_PATH
/usr/share/nginx/html/baapet-new/thinkphp/
LIB_PATH
/usr/share/nginx/html/baapet-new/thinkphp/library/
CORE_PATH
/usr/share/nginx/html/baapet-new/thinkphp/library/think/
TRAIT_PATH
/usr/share/nginx/html/baapet-new/thinkphp/library/traits/
ROOT_PATH
/usr/share/nginx/html/baapet-new/
EXTEND_PATH
/usr/share/nginx/html/baapet-new/extend/
VENDOR_PATH
/usr/share/nginx/html/baapet-new/vendor/
RUNTIME_PATH
/usr/share/nginx/html/baapet-new/runtime/
LOG_PATH
/usr/share/nginx/html/baapet-new/runtime/log/
CACHE_PATH
/usr/share/nginx/html/baapet-new/runtime/cache/
TEMP_PATH
/usr/share/nginx/html/baapet-new/runtime/temp/
CONF_PATH
/usr/share/nginx/html/baapet-new/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false