[0] HttpException in Url.php line 64

控制器不存在:2019-10-18

  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-z0-9][\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() 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
HTTP_HOST jsfoot.com
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME jsfoot.com
SERVER_PORT 80
SERVER_ADDR 103.203.140.30
REMOTE_PORT 58782
REMOTE_ADDR 3.238.228.191
SERVER_SOFTWARE nginx/1.22.1
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/jsfoot.com/public
DOCUMENT_URI /index.php
REQUEST_URI /html/2019-10-18/442.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/html/2019-10-18/442.html
SCRIPT_FILENAME /www/wwwroot/jsfoot.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711615308.1085
REQUEST_TIME 1711615308
Environment Variablesempty
ThinkPHP Constants
PINYIN_DEFAULT 4096
PINYIN_TONE 2
PINYIN_NO_TONE 4
PINYIN_ASCII_TONE 8
PINYIN_NAME 16
PINYIN_KEEP_NUMBER 32
PINYIN_KEEP_ENGLISH 64
PINYIN_UMLAUT_V 128
PINYIN_KEEP_PUNCTUATION 256
DATA_STATUS_NAME status
DATA_NORMAL 1
DATA_DISABLE 0
DATA_DELETE -1
DATA_SUCCESS 1
DATA_ERROR 0
SYS_APP_NAMESPACE app
SYS_ADDON_DIR_NAME addon
SYS_DRIVER_DIR_NAME driver
SYS_COMMON_DIR_NAME common
SYS_ADMINISTRATOR_ID 1
SYS_SUPER_ROLE_ID 1
SYS_DS_CONS \
PUBLIC_PATH /
PATH_PUBLIC /www/wwwroot/jsfoot.com/public/
PATH_UPLOAD /www/wwwroot/jsfoot.com/public/uploads/
PATH_IMAGE /www/wwwroot/jsfoot.com/public/uploads/image/
PATH_FILE /www/wwwroot/jsfoot.com/public/uploads/file/
WEB_ROOT http://jsfoot.com
API_CODE_NAME code
API_MSG_NAME msg
0.019411s