[0] HttpException in Module.php line 73

控制器不存在:2018

  1. }
  2. }
  3. // 是否自动转换控制器和操作名
  4. $convert = is_bool($this->convert) ? $this->convert : $this->rule->getConfig('url_convert');
  5. // 获取控制器名
  6. $controller = strip_tags($result[1] ?: $this->rule->getConfig('default_controller'));
  7. if (!preg_match('/^[A-Za-z](\w|\.)*$/', $controller)) {
  8. throw new HttpException(404, 'controller not exists:' . $controller);
  9. }
  10. $this->controller = $convert ? strtolower($controller) : $controller;
  11. // 获取操作名
  12. $this->actionName = strip_tags($result[2] ?: $this->rule->getConfig('default_action'));
  13. // 设置当前请求的控制器、操作
  14. $this->request

Call Stack

  1. in Module.php line 73
  2. at Module->init() in Url.php line 25
  3. at Url->init() in App.php line 402
  4. at App->run() in index.php line 21

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
_vstime 1592285665
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_COOKIE _vstime=1592285665
HTTP_REFERER
HTTP_ACCEPT */*
HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2)
HTTP_HOST www.whdc.cn
REDIRECT_STATUS 200
SERVER_NAME www.whdc.cn
SERVER_PORT 80
SERVER_ADDR 172.17.0.4
REMOTE_PORT 62167
REMOTE_ADDR 154.208.109.198
SERVER_SOFTWARE nginx/unknown
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /web/www/whdc.cn/www.whdc.cn/public
DOCUMENT_URI /index.php
REQUEST_URI /html/2018/0912/6557.shtml
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/html/2018/0912/6557.shtml
SCRIPT_FILENAME /web/www/whdc.cn/www.whdc.cn/public/index.php
PHP_VALUE open_basedir=/web/www/whdc.cn/www.whdc.cn/public:/tmp/:/web/www/whdc.cn/www.whdc.cn/
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1592285976.2102
REQUEST_TIME 1592285976
Environment Variablesempty
ThinkPHP Constants
MAX_MENU_LENGTH 3
MAX_SUB_MENU_LENGTH 5