[0] HttpException in App.php line 410

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

  1. if (is_callable([$instance, $action])) {
  2. // 执行操作方法
  3. $call = [$instance, $action];
  4. } elseif (is_callable([$instance, '_empty'])) {
  5. // 空操作
  6. $call = [$instance, '_empty'];
  7. $vars = [$actionName];
  8. } else {
  9. // 操作不存在
  10. throw new HttpException(404, 'method not exists:' . get_class($instance) . '->' . $action . '()');
  11. }
  12. Hook::listen('action_begin', $call);
  13. return self::invokeMethod($call, $vars);
  14. }
  15. /**
  16. * 初始化应用

Call Stack

  1. in App.php line 410
  2. at App::module(['index', 'rank', null], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], null) in App.php line 295
  3. at App::exec(['type' => 'module', 'module' => ['index', 'rank', null]], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 123
  4. at App::run() in start.php line 18
  5. at require('/home/wwwroot/shengx...') in index.php line 24

Environment Variables

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

Server/Request Data

USER
www
HOME
/home/www
FCGI_ROLE
RESPONDER
SCRIPT_FILENAME
/home/wwwroot/shengxuepai/public/index.php
QUERY_STRING
REQUEST_METHOD
GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME
/index.php
REQUEST_URI
/index/rank
DOCUMENT_URI
/index.php/index/rank
DOCUMENT_ROOT
/home/wwwroot/shengxuepai/public
SERVER_PROTOCOL
HTTP/1.1
REQUEST_SCHEME
http
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.10.0
REMOTE_ADDR
52.91.0.68
REMOTE_PORT
41752
SERVER_ADDR
172.26.122.171
SERVER_PORT
80
SERVER_NAME
localhost
REDIRECT_STATUS
200
PATH_INFO
/index/rank
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
claudebot
HTTP_HOST
shengxuepai.cn
PHP_SELF
/index/rank
REQUEST_TIME_FLOAT
1711644428.0423
REQUEST_TIME
1711644428
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/home/wwwroot/shengxuepai/public/../application/
WXPAY_PATH
/home/wwwroot/shengxuepai/public/../vendor/wxsdk/
ALIPAY_PATH
/home/wwwroot/shengxuepai/public/../vendor/alipay/
RUNTIME_PATH
/home/wwwroot/shengxuepai/public/../runtime/
APP_DEBUG
true
THINK_VERSION
5.0.10
THINK_START_TIME
1711644428.043
THINK_START_MEM
260992
EXT
.php
DS
/
THINK_PATH
/home/wwwroot/shengxuepai/thinkphp/
LIB_PATH
/home/wwwroot/shengxuepai/thinkphp/library/
CORE_PATH
/home/wwwroot/shengxuepai/thinkphp/library/think/
TRAIT_PATH
/home/wwwroot/shengxuepai/thinkphp/library/traits/
ROOT_PATH
/home/wwwroot/shengxuepai/
EXTEND_PATH
/home/wwwroot/shengxuepai/extend/
VENDOR_PATH
/home/wwwroot/shengxuepai/vendor/
LOG_PATH
/home/wwwroot/shengxuepai/public/../runtime/log/
CACHE_PATH
/home/wwwroot/shengxuepai/public/../runtime/cache/
TEMP_PATH
/home/wwwroot/shengxuepai/public/../runtime/temp/
CONF_PATH
/home/wwwroot/shengxuepai/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
exam_year
2022