[0] HttpException in App.php line 372

控制器不存在:Idnex

  1. // 设置当前请求的控制器、操作
  2. $request->controller(Loader::parseName($controller, 1))->action($actionName);
  3. // 监听module_init
  4. Hook::listen('module_init', $request);
  5. $instance = Loader::controller($controller, $config['url_controller_layer'], $config['controller_suffix'], $config['empty_controller']);
  6. if (is_null($instance)) {
  7. throw new HttpException(404, 'controller not exists:' . Loader::parseName($controller, 1));
  8. }
  9. // 获取当前操作名
  10. $action = $actionName . $config['action_suffix'];
  11. $vars = [];
  12. if (is_callable([$instance, $action])) {
  13. // 执行操作方法
  14. $call = [$instance, $action];
  15. } elseif (is_callable([$instance, '_empty'])) {

Call Stack

  1. in App.php line 372
  2. at App::module(['index', 'idnex', 'index'], ['app_namespace' => 'app', 'app_debug' => true, 'app_trace' => false, ...], null) in App.php line 130
  3. at App::run() in start.php line 18
  4. at require('/web/wwwroot/ytglw.o...') in index.php line 17

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
/web/wwwroot/ytglw.org/index.php
QUERY_STRING
REQUEST_METHOD
GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME
/index.php
REQUEST_URI
/index.php/index/idnex/index.html
DOCUMENT_URI
/index.php/index/idnex/index.html
DOCUMENT_ROOT
/web/wwwroot/ytglw.org
SERVER_PROTOCOL
HTTP/2.0
REQUEST_SCHEME
https
HTTPS
on
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.16.1
REMOTE_ADDR
54.198.45.0
REMOTE_PORT
58828
SERVER_ADDR
122.114.238.90
SERVER_PORT
443
SERVER_NAME
ytglw.org
REDIRECT_STATUS
200
PATH_INFO
/index/idnex/index.html
HTTP_HOST
ytglw.org
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
claudebot
PHP_SELF
/index.php/index/idnex/index.html
REQUEST_TIME_FLOAT
1711618999.1328
REQUEST_TIME
1711618999
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/web/wwwroot/ytglw.org/application/
THINK_VERSION
5.0.7
THINK_START_TIME
1711618999.1336
THINK_START_MEM
259168
EXT
.php
DS
/
THINK_PATH
/web/wwwroot/ytglw.org/thinkphp/
LIB_PATH
/web/wwwroot/ytglw.org/thinkphp/library/
CORE_PATH
/web/wwwroot/ytglw.org/thinkphp/library/think/
TRAIT_PATH
/web/wwwroot/ytglw.org/thinkphp/library/traits/
ROOT_PATH
/web/wwwroot/ytglw.org/
EXTEND_PATH
/web/wwwroot/ytglw.org/extend/
VENDOR_PATH
/web/wwwroot/ytglw.org/vendor/
RUNTIME_PATH
/web/wwwroot/ytglw.org/runtime/
LOG_PATH
/web/wwwroot/ytglw.org/runtime/log/
CACHE_PATH
/web/wwwroot/ytglw.org/runtime/cache/
TEMP_PATH
/web/wwwroot/ytglw.org/runtime/temp/
CONF_PATH
/web/wwwroot/ytglw.org/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
QINIU_FUNCTIONS_VERSION
7.1.3