[0] HttpException in App.php line 377

控制器不存在:%ef%bf%bd%ef%bf%bd%ef%bf%bd%ef%bf%bd%ef%bf%bd%ef%bf%bd

  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. // 获取操作名
  12. $actionName = strip_tags($result[2] ?: $config['default_action']);
  13. $actionName = $convert ? strtolower($actionName) : $actionName;
  14. // 设置当前请求的控制器、操作
  15. $request->controller(Loader::parseName($controller, 1))->action($actionName);
  16. // 监听module_init

Call Stack

  1. in App.php line 377
  2. at App::module(['home', '%EF%BF%BD%EF%BF%BD%E...', '1358.aspx'], ['app_namespace' => 'app', 'app_debug' => true, 'app_trace' => false, ...], true) in App.php line 130
  3. at App::run() in start.php line 18
  4. at require('/usr/share/nginx/htm...') in index.php line 11

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER apache
HOME /usr/share/httpd
HTTP_HOST topli.com.cn
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
REDIRECT_STATUS 200
SERVER_NAME _
SERVER_PORT 80
SERVER_ADDR 172.17.4.42
REMOTE_PORT 36524
REMOTE_ADDR 34.238.143.70
SERVER_SOFTWARE nginx/1.20.1
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /usr/share/nginx/html
DOCUMENT_URI /index.php
REQUEST_URI /%25EF%25BF%25BD%25EF%25BF%25BD%25EF%25BF%25BD%25EF%25BF%25BD%25EF%25BF%25BD%25EF%25BF%25BD/1358.aspx
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=//%25EF%25BF%25BD%25EF%25BF%25BD%25EF%25BF%25BD%25EF%25BF%25BD%25EF%25BF%25BD%25EF%25BF%25BD/1358.aspx
SCRIPT_FILENAME /usr/share/nginx/html/index.php
PATH_INFO //%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD/1358.aspx
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711639352.3842
REQUEST_TIME 1711639352
Environment Variablesempty
ThinkPHP Constants
__ROOT__
APP_PATH /usr/share/nginx/html/application/
APP_DEBUG false
BIND_MODULE home
THINK_VERSION 5.0.5
THINK_START_TIME 1711639352.3843
THINK_START_MEM 356960
EXT .php
DS /
THINK_PATH /usr/share/nginx/html/thinkphp/
LIB_PATH /usr/share/nginx/html/thinkphp/library/
CORE_PATH /usr/share/nginx/html/thinkphp/library/think/
TRAIT_PATH /usr/share/nginx/html/thinkphp/library/traits/
ROOT_PATH /usr/share/nginx/html/
EXTEND_PATH /usr/share/nginx/html/extend/
VENDOR_PATH /usr/share/nginx/html/vendor/
RUNTIME_PATH /usr/share/nginx/html/runtime/
LOG_PATH /usr/share/nginx/html/runtime/log/
CACHE_PATH /usr/share/nginx/html/runtime/cache/
TEMP_PATH /usr/share/nginx/html/runtime/temp/
CONF_PATH /usr/share/nginx/html/application/
CONF_EXT .php
ENV_PREFIX PHP_
IS_CLI false
IS_WIN false
JINGLING_VERSION 1.0
JINGLING_ADDON_PATH /usr/share/nginx/html//addons/