[0] HttpException in App.php line 559

控制器不存在:除湿机

  1. $convert = is_bool($convert) ? $convert : $config['url_convert'];
  2. // 获取控制器名
  3. $controller = strip_tags($result[1] ?: $config['default_controller']);
  4. // if (!preg_match('/^\d+|^[A-Za-z](\w|\.)*$/', $controller)) {
  5. // throw new HttpException(404, 'controller not exists:' . $controller);
  6. //}
  7. if (!preg_match('/^\d+|^[A-Za-z][\w\.-]*$/', $controller)) {
  8. throw new HttpException(404, 'controller not exists:' . $controller);
  9. }
  10. $controller = $convert ? strtolower($controller) : $controller;
  11. // 获取操作名
  12. $actionName = strip_tags($result[2] ?: $config['default_action']);
  13. if (!empty($config['action_convert'])) {
  14. $actionName = Loader::parseName($actionName, 1);
  15. } else {
  16. $actionName = $convert ? strtolower($actionName) : $actionName;

Call Stack

  1. in App.php line 559
  2. at App::module() in App.php line 456
  3. at App::exec() in App.php line 139
  4. at App::run() in start.php line 19
  5. at require('/home/www/wwwroot/fa...') in index.php line 126

Environment Variables

GET Data
empty
POST Data
empty
Files
empty

Cookies

SITE_TOTAL_ID
135d5d05a741dc1201d38bf9cd97d353
server_name_session
a1653cc73ca61b9fe3fe7cb666977cf4
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_CONNECTION
keep-alive
HTTP_CACHE_CONTROL
max-age=259200
HTTP_X_FORWARDED_FOR
10.3.187.84
HTTP_VIA
1.1 squid-proxy-5b5d847c96-47mjw (squid/6.13)
HTTP_ACCEPT_ENCODING
gzip, br, zstd, deflate
HTTP_COOKIE
SITE_TOTAL_ID=135d5d05a741dc1201d38bf9cd97d353; server_name_session=a1653cc73ca61b9fe3fe7cb666977cf4
HTTP_USER_AGENT
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT
*/*
PATH_INFO
/除湿机
HTTP_HOST
www.metaobao.cn
REDIRECT_STATUS
200
SERVER_NAME
metaobao.cn
SERVER_PORT
80
SERVER_ADDR
23.225.254.193
REMOTE_PORT
1125
REMOTE_ADDR
216.73.216.221
SERVER_SOFTWARE
nginx/1.28.0
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/home/www/wwwroot/fanmulu666.com_xin.com
DOCUMENT_URI
/index.php
REQUEST_URI
/%E9%99%A4%E6%B9%BF%E6%9C%BA
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/%E9%99%A4%E6%B9%BF%E6%9C%BA
SCRIPT_FILENAME
/home/www/wwwroot/fanmulu666.com_xin.com/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1763135694.1658
REQUEST_TIME
1763135694
Environment Variables
empty

ThinkPHP Constants

ROOT_PATH
/home/www/wwwroot/fanmulu666.com_xin.com/
APP_PATH
/home/www/wwwroot/fanmulu666.com_xin.com/application/
MAC_COMM
/home/www/wwwroot/fanmulu666.com_xin.com/application/common/common/
MAC_HOME_COMM
/home/www/wwwroot/fanmulu666.com_xin.com/application/index/common/
MAC_ADMIN_COMM
/home/www/wwwroot/fanmulu666.com_xin.com/application/admin/common/
MAC_START_TIME
1763135694.1661
BIND_MODULE
index
ENTRANCE
index
IN_FILE
/index.php
THINK_VERSION
5.0.24
THINK_START_TIME
1763135694.1663
THINK_START_MEM
363024
EXT
.php
EXTTXT
.txt
MACLINE
verifymac
DS
/
THINK_PATH
/home/www/wwwroot/fanmulu666.com_xin.com/thinkphp/
LIB_PATH
/home/www/wwwroot/fanmulu666.com_xin.com/thinkphp/library/
CORE_PATH
/home/www/wwwroot/fanmulu666.com_xin.com/thinkphp/library/think/
TRAIT_PATH
/home/www/wwwroot/fanmulu666.com_xin.com/thinkphp/library/traits/
MACERRORF
error
EXTEND_PATH
/home/www/wwwroot/fanmulu666.com_xin.com/extend/
VENDOR_PATH
/home/www/wwwroot/fanmulu666.com_xin.com/vendor/
RUNTIME_PATH
/home/www/wwwroot/fanmulu666.com_xin.com/runtime/
LOG_PATH
/home/www/wwwroot/fanmulu666.com_xin.com/runtime/log/
CACHE_PATH
/home/www/wwwroot/fanmulu666.com_xin.com/runtime/cache/
TEMP_PATH
/home/www/wwwroot/fanmulu666.com_xin.com/runtime/temp/
CONF_PATH
/home/www/wwwroot/fanmulu666.com_xin.com/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
ADDON_PATH
/home/www/wwwroot/fanmulu666.com_xin.com/addons/
MAX_CACHE_ITEMS
1000
MAC_URL
http://www.maccms.la/
MAC_NAME
苹果CMS
MAC_PATH
/
MAC_MOB
0
MAC_ROOT_TEMPLATE
/home/www/wwwroot/fanmulu666.com_xin.com/template/default17/html/
MAC_PATH_TEMPLATE
/template/default17/
MAC_PATH_TPL
/template/default17/html/
MAC_PATH_ADS
/template/default17/ads/
MAC_PAGE_SP
_
MAC_PLAYER_SORT
1
MAC_ADDON_PATH
/home/www/wwwroot/fanmulu666.com_xin.com/addons/
MAC_ADDON_PATH_STATIC
/home/www/wwwroot/fanmulu666.com_xin.com/static/addons/