[0] HttpException in Url.php line 64

控制器不存在:contact-us

  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('homephp|contact-us') in Url.php line 23
  3. at Url->init() in Config.php line 37
  4. at Config->run()
  5. at ReflectionMethod->invokeArgs(object(Config), []) in Container.php line 373
  6. at Container->invokeMethod(['app\common\behavior\...', 'run'], [null]) in Container.php line 411
  7. at Container->invoke(['app\common\behavior\...', 'run'], [null]) in Hook.php line 208
  8. at Hook->execTag('app\common\behavior\...', 'app_dispatch', null) in Hook.php line 149
  9. at Hook->listen('app_dispatch') in App.php line 396
  10. at App->run() in index.php line 33

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_USER_AGENT Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0); 360Spider(compatible; HaosouSpider; http://www.haosou.com/help/help_3_2.html)
HTTP_ACCEPT */*
HTTP_ACCEPT_ENCODING gzip, deflate
HTTP_CONNECTION keep-alive
HTTP_HOST www.hotelgrandddn.com
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME www.xingmaojt.com
SERVER_PORT 80
SERVER_ADDR 172.31.35.244
REMOTE_PORT 57193
REMOTE_ADDR 198.2.200.1
SERVER_SOFTWARE nginx/1.14.0
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/www.xingmaojt.com/public
DOCUMENT_URI /index.php
REQUEST_URI /homephp/contact-us
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/homephp/contact-us
SCRIPT_FILENAME /www/wwwroot/www.xingmaojt.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1576139578.3783
REQUEST_TIME 1576139578
Environment Variablesempty
ThinkPHP Constants
ADMIN_FILE admin.php
HTMLPURIFIER_PREFIX /www/wwwroot/www.xingmaojt.com/vendor/ezyang/htmlpurifier/library