[0] HttpException in App.php line 377

控制器不存在:tel:86-21-63217238

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

Call Stack

  1. in App.php line 377
  2. at App::module(['index', 'tel:86-21-63217238', 'index'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 296
  3. at App::exec(['type' => 'module', 'module' => ['index', 'tel:86-21-63217238', 'index'], 'convert' => false], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 124
  4. at App::run() in start.php line 19
  5. at require('/home/wwwroot/www.ch...') in index.php line 16

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/www.chinasbm.com/public/index.php
QUERY_STRING
s=//tel:86-21-63217238
REQUEST_METHOD
GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME
/index.php
REQUEST_URI
/tel:86-21-63217238
DOCUMENT_URI
/index.php
DOCUMENT_ROOT
/home/wwwroot/www.chinasbm.com/public
SERVER_PROTOCOL
HTTP/1.1
REQUEST_SCHEME
http
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.16.1
REMOTE_ADDR
156.237.153.103
REMOTE_PORT
20000
SERVER_ADDR
172.19.160.219
SERVER_PORT
80
SERVER_NAME
new.chinasbm.com
REDIRECT_STATUS
200
PHP_ADMIN_VALUE
open_basedir=/home/wwwroot/www.chinasbm.com/:/tmp/:/proc/
PATH_INFO
//tel:86-21-63217238
HTTP_USER_AGENT
Mozilla/5.0+(compatible;+Baiduspider/2.0;++http://www.baidu.com/search/spider.html)
HTTP_HOST
www.chinasbm.com
HTTP_ACCEPT
*/*
HTTP_ACCEPT_ENCODING
deflate, gzip
PHP_SELF
REQUEST_TIME_FLOAT
1585754840.456
REQUEST_TIME
1585754840
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/home/wwwroot/www.chinasbm.com/public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1585754840.4564
THINK_START_MEM
260632
EXT
.php
DS
/
THINK_PATH
/home/wwwroot/www.chinasbm.com/thinkphp/
LIB_PATH
/home/wwwroot/www.chinasbm.com/thinkphp/library/
CORE_PATH
/home/wwwroot/www.chinasbm.com/thinkphp/library/think/
TRAIT_PATH
/home/wwwroot/www.chinasbm.com/thinkphp/library/traits/
ROOT_PATH
/home/wwwroot/www.chinasbm.com/
EXTEND_PATH
/home/wwwroot/www.chinasbm.com/extend/
VENDOR_PATH
/home/wwwroot/www.chinasbm.com/vendor/
RUNTIME_PATH
/home/wwwroot/www.chinasbm.com/runtime/
LOG_PATH
/home/wwwroot/www.chinasbm.com/runtime/log/
CACHE_PATH
/home/wwwroot/www.chinasbm.com/runtime/cache/
TEMP_PATH
/home/wwwroot/www.chinasbm.com/runtime/temp/
CONF_PATH
/home/wwwroot/www.chinasbm.com/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false