[0] HttpException in Url.php line 64

控制器不存在:404

  1. if ($this->param['auto_search']) {
  2. $controller = $this->autoFindController($module, $path);
  3. } else {
  4. // 解析控制器
  5. $controller = !empty($path) ? array_shift($path) : null;
  6. }
  7. if ($controller && !preg_match('/^[A-Za-z][\w|\.]*$/', $controller)) {
  8. throw new HttpException(404, 'controller not exists:' . $controller);
  9. }
  10. // 解析操作
  11. $action = !empty($path) ? array_shift($path) : null;
  12. // 解析额外参数
  13. if ($path) {
  14. if ($this->rule->getConfig('url_param_type')) {
  15. $var += $path;

Call Stack

  1. in Url.php line 64
  2. at Url->parseUrl('404') in Url.php line 23
  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
Cookiesempty
Sessionempty
Server/Request Data
USER
www
HOME
/home/www
FCGI_ROLE
RESPONDER
SCRIPT_FILENAME
/wwwroot/weimeixi/public/index.php
QUERY_STRING
s=/404.html
REQUEST_METHOD
GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME
/index.php
REQUEST_URI
/phpinfo.php
DOCUMENT_URI
/index.php
DOCUMENT_ROOT
/wwwroot/weimeixi/public
SERVER_PROTOCOL
HTTP/1.1
REQUEST_SCHEME
https
HTTPS
on
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.12.1
REMOTE_ADDR
142.111.76.90
REMOTE_PORT
20026
SERVER_ADDR
172.31.164.84
SERVER_PORT
443
SERVER_NAME
weimeixi.com
REDIRECT_STATUS
200
PHP_ADMIN_VALUE
open_basedir=/wwwroot/weimeixi/public/../:/tmp/:/proc/
HTTP_USER_AGENT
Mozilla/5.0+(compatible;+Baiduspider/2.0;++http://www.baidu.com/search/spider.html)
HTTP_HOST
www.weimeixi.com
HTTP_ACCEPT
*/*
HTTP_ACCEPT_ENCODING
deflate, gzip
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1573955368.4226
REQUEST_TIME
1573955368
Environment Variablesempty
ThinkPHP Constantsempty