[0] HttpException in App.php line 556

控制器不存在:2

  1. App::$modulePath = APP_PATH . ($module ? $module . DS : '');
  2. // 是否自动转换控制器和操作名
  3. $convert = is_bool($convert) ? $convert : $config['url_convert'];
  4. // 获取控制器名
  5. $controller = strip_tags($result[1] ?: $config['default_controller']);
  6. if (!preg_match('/^[A-Za-z](\w|\.)*$/', $controller)) {
  7. throw new HttpException(404, 'controller not exists:' . $controller);
  8. }
  9. $controller = $convert ? strtolower($controller) : $controller;
  10. // 获取操作名
  11. $actionName = strip_tags($result[2] ?: $config['default_action']);
  12. if (!empty($config['action_convert'])) {
  13. $actionName = Loader::parseName($actionName, 1);
  14. } else {

Call Stack

  1. in App.php line 556
  2. at App::module(['index', '2', null], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], null) in App.php line 457
  3. at App::exec(['type' => 'module', 'module' => ['index', '2', null]], ['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('/usr/home/wh-aq4smbi...') in index.php line 30

Environment Variables

GET Data
empty
POST Data
empty
Files
empty

Cookies

login_fang
yes
PHPSESSID
p2vvqd5bv272mdlg3cu8tfar80
Session
empty

Server/Request Data

DOCUMENT_ROOT
/usr/home/wh-aq4smbifrf1bm9gbuxk/htdocs
GATEWAY_INTERFACE
CGI/1.1
HTTP_ACCEPT
*/*
HTTP_ACCEPT_ENCODING
gzip
HTTP_COOKIE
login.fang=yes; PHPSESSID=p2vvqd5bv272mdlg3cu8tfar80
HTTP_HOST
www.d-view.cn
HTTP_USER_AGENT
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
PATH
/bin
PHPRC
/var/www/php55/hichina_ini/wh-aq4smbifrf1bm9gbuxk
QUERY_STRING
REDIRECT_DOCUMENT_ROOT
/usr/home/wh-aq4smbifrf1bm9gbuxk/htdocs
REDIRECT_GATEWAY_INTERFACE
CGI/1.1
REDIRECT_HTTP_ACCEPT
*/*
REDIRECT_HTTP_ACCEPT_ENCODING
gzip
REDIRECT_HTTP_COOKIE
login.fang=yes; PHPSESSID=p2vvqd5bv272mdlg3cu8tfar80
REDIRECT_HTTP_HOST
www.d-view.cn
REDIRECT_HTTP_USER_AGENT
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
REDIRECT_PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
REDIRECT_QUERY_STRING
REDIRECT_REMOTE_ADDR
107.158.201.58
REDIRECT_REMOTE_PORT
52990
REDIRECT_REQUEST_METHOD
GET
REDIRECT_REQUEST_URI
/2
REDIRECT_SCRIPT_FILENAME
/usr/home/wh-aq4smbifrf1bm9gbuxk/htdocs/2
REDIRECT_SCRIPT_NAME
/2
REDIRECT_SERVER_ADDR
10.17.20.97
REDIRECT_SERVER_ADMIN
webmaster@wh-aq4smbifrf1bm9gbuxk.my3w.com
REDIRECT_SERVER_NAME
www.d-view.cn
REDIRECT_SERVER_PORT
80
REDIRECT_SERVER_PROTOCOL
HTTP/1.1
REDIRECT_SERVER_SIGNATURE
REDIRECT_SERVER_SOFTWARE
Apache
REDIRECT_STATUS
200
REDIRECT_TZ
Asia/Shanghai
REDIRECT_UNIQUE_ID
Zz@ZvgoRFGEAHH-xIPsAAAAN
REDIRECT_URL
/2
REMOTE_ADDR
107.158.201.58
REMOTE_PORT
52990
REQUEST_METHOD
GET
REQUEST_URI
/2
SCRIPT_FILENAME
/usr/home/wh-aq4smbifrf1bm9gbuxk/htdocs/index.php
SCRIPT_NAME
/index.php
SERVER_ADDR
10.17.20.97
SERVER_ADMIN
webmaster@wh-aq4smbifrf1bm9gbuxk.my3w.com
SERVER_NAME
www.d-view.cn
SERVER_PORT
80
SERVER_PROTOCOL
HTTP/1.1
SERVER_SIGNATURE
SERVER_SOFTWARE
Apache
TZ
Asia/Shanghai
UNIQUE_ID
Zz@ZvgoRFGEAHH-xIPsAAAAN
ORIG_PATH_INFO
/2
ORIG_PATH_TRANSLATED
/usr/home/wh-aq4smbifrf1bm9gbuxk/htdocs/index.php
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1732221374.6751
REQUEST_TIME
1732221374
PATH_INFO
/2
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/usr/home/wh-aq4smbifrf1bm9gbuxk/htdocs/Home/
CONF_PATH
/usr/home/wh-aq4smbifrf1bm9gbuxk/htdocs/Common/
APP_DEBUG
true
RUNTIME_PATH
./Home/Temp/
APP_NAMESPACE
Home
BIND_MODULE
index
EXTEND_PATH
./extend/
THINK_VERSION
5.0.20
THINK_START_TIME
1732221374.6756
THINK_START_MEM
250280
EXT
.php
DS
/
THINK_PATH
/usr/home/wh-aq4smbifrf1bm9gbuxk/htdocs/thinkphp/
LIB_PATH
/usr/home/wh-aq4smbifrf1bm9gbuxk/htdocs/thinkphp/library/
CORE_PATH
/usr/home/wh-aq4smbifrf1bm9gbuxk/htdocs/thinkphp/library/think/
TRAIT_PATH
/usr/home/wh-aq4smbifrf1bm9gbuxk/htdocs/thinkphp/library/traits/
ROOT_PATH
/usr/home/wh-aq4smbifrf1bm9gbuxk/htdocs/
VENDOR_PATH
/usr/home/wh-aq4smbifrf1bm9gbuxk/htdocs/vendor/
LOG_PATH
./Home/Temp/log/
CACHE_PATH
./Home/Temp/cache/
TEMP_PATH
./Home/Temp/temp/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false