[0] HttpException in App.php line 606

方法不存在:app\index\controller\About->environmental()

  1. $actionName = $suffix ? substr($methodName, 0, -strlen($suffix)) : $methodName;
  2. $request->action($actionName);
  3. } elseif (is_callable([$instance, '_empty'])) {
  4. // 空操作
  5. $call = [$instance, '_empty'];
  6. $vars = [$actionName];
  7. } else {
  8. // 操作不存在
  9. throw new HttpException(404, 'method not exists:' . get_class($instance) . '->' . $action . '()');
  10. }
  11. Hook::listen('action_begin', $call);
  12. return self::invokeMethod($call, $vars);
  13. }
  14. /**
  15. * URL路由检测(根据PATH_INFO)

Call Stack

  1. in App.php line 606
  2. at App::module(['index', 'about', 'environmental'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], true) in App.php line 456
  3. at App::exec(['type' => 'module', 'module' => ['index', 'about', 'environmental']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  4. at App::run() in start.php line 19
  5. at require('/data/home/qyu782692...') in index.php line 17

Environment Variables

GET Data
empty
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

DOCUMENT_ROOT
/usr/home/qyu7826920001/htdocs
GATEWAY_INTERFACE
CGI/1.1
HTTP_ACCEPT
*/*
HTTP_ACCEPT_ENCODING
deflate, gzip
HTTP_HOST
www.mrjxcl.com
HTTP_USER_AGENT
Mozilla/5.0+(compatible;+Baiduspider/2.0;++http://www.baidu.com/search/spider.html)
PATH
/bin:/usr/bin
PHPRC
/var/www/php72/hichina_ini/qyu7826920001
QUERY_STRING
REDIRECT_DOCUMENT_ROOT
/usr/home/qyu7826920001/htdocs
REDIRECT_GATEWAY_INTERFACE
CGI/1.1
REDIRECT_HTTP_ACCEPT
*/*
REDIRECT_HTTP_ACCEPT_ENCODING
deflate, gzip
REDIRECT_HTTP_HOST
www.mrjxcl.com
REDIRECT_HTTP_USER_AGENT
Mozilla/5.0+(compatible;+Baiduspider/2.0;++http://www.baidu.com/search/spider.html)
REDIRECT_PATH
/sbin:/usr/sbin:/bin:/usr/bin
REDIRECT_PATH_INFO
/about/environmental.html
REDIRECT_PATH_TRANSLATED
redirect:/index.php/about/environmental.html/environmental.html
REDIRECT_QUERY_STRING
REDIRECT_REMOTE_ADDR
154.209.146.93
REDIRECT_REMOTE_PORT
20000
REDIRECT_REQUEST_METHOD
GET
REDIRECT_REQUEST_URI
/index/about/environmental.html
REDIRECT_SCRIPT_FILENAME
/usr/home/qyu7826920001/htdocs/index
REDIRECT_SCRIPT_NAME
/index
REDIRECT_SCRIPT_URI
http://www.mrjxcl.com/index/about/environmental.html
REDIRECT_SCRIPT_URL
/index/about/environmental.html
REDIRECT_SERVER_ADDR
172.18.58.168
REDIRECT_SERVER_ADMIN
webmaster@qyu7826920001.my3w.com
REDIRECT_SERVER_NAME
www.mrjxcl.com
REDIRECT_SERVER_PORT
80
REDIRECT_SERVER_PROTOCOL
HTTP/1.1
REDIRECT_SERVER_SIGNATURE
REDIRECT_SERVER_SOFTWARE
Apache
REDIRECT_STATUS
200
REDIRECT_UNIQUE_ID
YJx6N6wSOqgAAD@gdIAAAABh
REDIRECT_URL
/index/about/environmental.html
REMOTE_ADDR
154.209.146.93
REMOTE_PORT
20000
REQUEST_METHOD
GET
REQUEST_URI
/index/about/environmental.html
SCRIPT_FILENAME
/usr/home/qyu7826920001/htdocs/index.php
SCRIPT_NAME
/index.php
SCRIPT_URI
http://www.mrjxcl.com/index/about/environmental.html
SCRIPT_URL
/index/about/environmental.html
SERVER_ADDR
172.18.58.168
SERVER_ADMIN
webmaster@qyu7826920001.my3w.com
SERVER_NAME
www.mrjxcl.com
SERVER_PORT
80
SERVER_PROTOCOL
HTTP/1.1
SERVER_SIGNATURE
SERVER_SOFTWARE
Apache
UNIQUE_ID
YJx6N6wSOqgAAD@gdIAAAABh
ORIG_PATH_INFO
/index/about/environmental.html
ORIG_PATH_TRANSLATED
/usr/home/qyu7826920001/htdocs/index.php
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1620867639.4482
REQUEST_TIME
1620867639
PATH_INFO
/index/about/environmental.html
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/data/home/qyu7826920001/htdocs/application/
THINK_VERSION
5.0.24
THINK_START_TIME
1620867639.449
THINK_START_MEM
387016
EXT
.php
DS
/
THINK_PATH
/data/home/qyu7826920001/htdocs/thinkphp/
LIB_PATH
/data/home/qyu7826920001/htdocs/thinkphp/library/
CORE_PATH
/data/home/qyu7826920001/htdocs/thinkphp/library/think/
TRAIT_PATH
/data/home/qyu7826920001/htdocs/thinkphp/library/traits/
ROOT_PATH
/data/home/qyu7826920001/htdocs/
EXTEND_PATH
/data/home/qyu7826920001/htdocs/extend/
VENDOR_PATH
/data/home/qyu7826920001/htdocs/vendor/
RUNTIME_PATH
/data/home/qyu7826920001/htdocs/runtime/
LOG_PATH
/data/home/qyu7826920001/htdocs/runtime/log/
CACHE_PATH
/data/home/qyu7826920001/htdocs/runtime/cache/
TEMP_PATH
/data/home/qyu7826920001/htdocs/runtime/temp/
CONF_PATH
/data/home/qyu7826920001/htdocs/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false