[0] HttpException in App.php line 606

方法不存在:app\home\controller\About->history()

  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(['home', 'about', 'history'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 456
  3. at App::exec(['type' => 'module', 'module' => ['home', 'about', 'history'], 'convert' => false], ['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('/www/wwwroot/www.shi...') in index.php line 18

Environment Variables

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

Server/Request Data

USER
www
HOME
/home/www
HTTP_REFERER
http://psqbdj.hkyawei.com
HTTP_CONNECTION
keep-alive
HTTP_ACCEPT
*/*
HTTP_ACCEPT_ENCODING
gzip, deflate
HTTP_USER_AGENT
Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1866.237 Safari/537.36
HTTP_HOST
psqbdj.hkyawei.com
PATH_INFO
/about/history/
REDIRECT_STATUS
200
SERVER_NAME
psqbdj.hkyawei.com
SERVER_PORT
443
SERVER_ADDR
172.17.35.0
REMOTE_PORT
40818
REMOTE_ADDR
38.34.175.219
SERVER_SOFTWARE
nginx/1.22.0
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/wwwroot/psqbdj.hkyawei.com/public
DOCUMENT_URI
/index.php
REQUEST_URI
/about/history/
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/about/history/
SCRIPT_FILENAME
/www/wwwroot/psqbdj.hkyawei.com/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1728564510.2756
REQUEST_TIME
1728564510
Environment Variables
empty

ThinkPHP Constants

APP_DEV
false
APP_PATH
/www/wwwroot/psqbdj.hkyawei.com/public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1728564510.276
THINK_START_MEM
403936
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/psqbdj.hkyawei.com/thinkphp/
LIB_PATH
/www/wwwroot/psqbdj.hkyawei.com/thinkphp/library/
CORE_PATH
/www/wwwroot/psqbdj.hkyawei.com/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/psqbdj.hkyawei.com/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/psqbdj.hkyawei.com/
EXTEND_PATH
/www/wwwroot/psqbdj.hkyawei.com/extend/
VENDOR_PATH
/www/wwwroot/psqbdj.hkyawei.com/vendor/
RUNTIME_PATH
/www/wwwroot/psqbdj.hkyawei.com/runtime/
LOG_PATH
/www/wwwroot/psqbdj.hkyawei.com/runtime/log/
CACHE_PATH
/www/wwwroot/psqbdj.hkyawei.com/runtime/cache/
TEMP_PATH
/www/wwwroot/psqbdj.hkyawei.com/runtime/temp/
CONF_PATH
/www/wwwroot/psqbdj.hkyawei.com/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false