[0] HttpException in App.php line 376

控制器不存在:how-to-hide-your-tv-cables-the-hard-way

  1. }
  2. // 当前模块路径
  3. App::$modulePath = APP_PATH . ($module ? $module . DS : '');
  4. // 是否自动转换控制器和操作名
  5. $convert = is_bool($convert) ? $convert : $config['url_convert'];
  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. $actionName = $convert ? strtolower($actionName) : $actionName;
  15. // 设置当前请求的控制器、操作

Call Stack

  1. in App.php line 376
  2. at App::module(['index', 'how-to-hide-your-tv-...', null], ['app_host' => '', 'app_debug' => true, 'app_trace' => true, ...], null) in App.php line 296
  3. at App::exec(['type' => 'module', 'module' => ['index', 'how-to-hide-your-tv-...', null]], ['app_host' => '', 'app_debug' => true, 'app_trace' => true, ...]) in App.php line 124
  4. at App::run() in start.php line 18
  5. at require('/phpstudy/www/system...') in index.php line 31

Environment Variables

GET Data

__
true
POST Data
empty
Files
empty

Cookies

view
1657022012
PHPSESSID
qf0gvc01odjc46thpk8h1fm9o1

Session

think
{ "baseDir": "\/" }

Server/Request Data

REDIRECT_PATH_INFO
how-to-hide-your-tv-cables-the-hard-way/
REDIRECT_STATUS
200
HTTP_HOST
www.wushang.com.cn
HTTP_USER_AGENT
Mozilla/5.0 (compatible; DataForSeoBot/1.0; +https://dataforseo.com/dataforseo-bot)
HTTP_ACCEPT
*/*
HTTP_ACCEPT_ENCODING
gzip
HTTP_COOKIE
view=1657022012; PHPSESSID=qf0gvc01odjc46thpk8h1fm9o1
PATH
/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/root/bin
LD_LIBRARY_PATH
/phpstudy/server/httpd/lib
SERVER_SIGNATURE
SERVER_SOFTWARE
Apache/2.4.7 (Unix) OpenSSL/1.0.1e-fips PHP/5.5.10
SERVER_NAME
www.wushang.com.cn
SERVER_ADDR
10.10.10.17
SERVER_PORT
80
REMOTE_ADDR
104.206.1.70
DOCUMENT_ROOT
/phpstudy/www
REQUEST_SCHEME
http
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT
/phpstudy/www
SERVER_ADMIN
you@example.com
SCRIPT_FILENAME
/phpstudy/www/index.php
REMOTE_PORT
63348
REDIRECT_URL
/how-to-hide-your-tv-cables-the-hard-way/
GATEWAY_INTERFACE
CGI/1.1
SERVER_PROTOCOL
HTTP/1.1
REQUEST_METHOD
GET
QUERY_STRING
REQUEST_URI
/how-to-hide-your-tv-cables-the-hard-way/
SCRIPT_NAME
/index.php
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1657054978.548
REQUEST_TIME
1657054978
PATH_INFO
how-to-hide-your-tv-cables-the-hard-way/
Environment Variables
empty

ThinkPHP Constants

APP_DEBUG
true
APP_TRACE
false
APP_PATH
/phpstudy/www/app/
CONF_PATH
/phpstudy/www/config/
BIND_MODULE
index
THINK_VERSION
5.0.12
THINK_START_TIME
1657054978.5524
THINK_START_MEM
275744
EXT
.php
DS
/
THINK_PATH
/phpstudy/www/system/
LIB_PATH
/phpstudy/www/system/library/
CORE_PATH
/phpstudy/www/system/library/think/
TRAIT_PATH
/phpstudy/www/system/library/traits/
ROOT_PATH
/phpstudy/www/
EXTEND_PATH
/phpstudy/www/extend/
VENDOR_PATH
/phpstudy/www/vendor/
RUNTIME_PATH
/phpstudy/www/runtime/
LOG_PATH
/phpstudy/www/runtime/log/
CACHE_PATH
/phpstudy/www/runtime/cache/
TEMP_PATH
/phpstudy/www/runtime/temp/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
HTML_PATH
/phpstudy/www/