[0] HttpException in App.php line 559

控制器不存在:hmcdw.gslk

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

Call Stack

  1. in App.php line 559
  2. at App::module(['gw', 'hmcdw.gslk', null], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], null) in App.php line 457
  3. at App::exec(['type' => 'module', 'module' => ['gw', 'hmcdw.gslk', 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('/home/wwwroot/gw/thi...') in index.php line 31

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/gw/public/index.php
QUERY_STRING
s=hmcdw.gslk
REQUEST_METHOD
GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME
/index.php
REQUEST_URI
/hmcdw.gslk
DOCUMENT_URI
/index.php
DOCUMENT_ROOT
/home/wwwroot/gw/public
SERVER_PROTOCOL
HTTP/1.1
REQUEST_SCHEME
http
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.14.0
REMOTE_ADDR
154.92.243.60
REMOTE_PORT
20000
SERVER_ADDR
120.77.238.100
SERVER_PORT
80
SERVER_NAME
www.gxhtx.com
REDIRECT_STATUS
200
PHP_ADMIN_VALUE
open_basedir=NULL
HTTP_USER_AGENT
Mozilla/5.0+(compatible;+Baiduspider/2.0;++http://www.baidu.com/search/spider.html)
HTTP_HOST
gxhtx.com
HTTP_ACCEPT
*/*
HTTP_ACCEPT_ENCODING
deflate, gzip
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1594341268.2615
REQUEST_TIME
1594341268
PATH_INFO
hmcdw.gslk
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/home/wwwroot/gw/public/../application/
RUNTIME_PATH
/home/wwwroot/gw/public/../runtime/
APP_DEBUG
false
EXTEND_PATH
/home/wwwroot/gw/public/../extend/
THINK_VERSION
5.0.20
THINK_START_TIME
1594341268.262
THINK_START_MEM
261480
EXT
.php
DS
/
THINK_PATH
/home/wwwroot/gw/thinkphp/
LIB_PATH
/home/wwwroot/gw/thinkphp/library/
CORE_PATH
/home/wwwroot/gw/thinkphp/library/think/
TRAIT_PATH
/home/wwwroot/gw/thinkphp/library/traits/
ROOT_PATH
/home/wwwroot/gw/
VENDOR_PATH
/home/wwwroot/gw/vendor/
LOG_PATH
/home/wwwroot/gw/public/../runtime/log/
CACHE_PATH
/home/wwwroot/gw/public/../runtime/cache/
TEMP_PATH
/home/wwwroot/gw/public/../runtime/temp/
CONF_PATH
/home/wwwroot/gw/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false