[0] HttpException in App.php line 373

控制器不存在:Ben

  1. // 设置当前请求的控制器、操作
  2. $request->controller(Loader::parseName($controller, 1))->action($actionName);
  3. // 监听module_init
  4. Hook::listen('module_init', $request);
  5. $instance = Loader::controller($controller, $config['url_controller_layer'], $config['controller_suffix'], $config['empty_controller']);
  6. if (is_null($instance)) {
  7. throw new HttpException(404, 'controller not exists:' . Loader::parseName($controller, 1));
  8. }
  9. // 获取当前操作名
  10. $action = $actionName . $config['action_suffix'];
  11. $vars = [];
  12. if (is_callable([$instance, $action])) {
  13. // 执行操作方法
  14. $call = [$instance, $action];
  15. } elseif (is_callable([$instance, '_empty'])) {

Call Stack

  1. in App.php line 373
  2. at App::module(['index', 'ben', 'home'], ['app_namespace' => 'app', 'app_debug' => true, 'app_trace' => false, ...], null) in App.php line 130
  3. at App::run() in start.php line 18
  4. at require('/data/user/myfolder/...') in index.php line 10

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER nobody
HOME /
FCGI_ROLE RESPONDER
SCRIPT_FILENAME /data/user/htdocs/index.php
PATH_INFO /ben/home/article/detail/id/wap437965.shtml
QUERY_STRING s=/ben/home/article/detail/id/wap437965.shtml
REQUEST_METHOD GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME /index.php
REQUEST_URI /ben/home/article/detail/id/wap437965.shtml
DOCUMENT_URI /index.php
DOCUMENT_ROOT /data/user/htdocs
SERVER_PROTOCOL HTTP/1.1
REQUEST_SCHEME https
HTTPS on
GATEWAY_INTERFACE CGI/1.1
SERVER_SOFTWARE nginx/1.18.0
REMOTE_ADDR 3.139.233.73
REMOTE_PORT 20952
SERVER_ADDR 10.21.232.236
SERVER_PORT 443
SERVER_NAME moutil.com
REDIRECT_STATUS 200
HTTP_ACCEPT */*
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT_ENCODING gzip, br, zstd, deflate
HTTP_REFERER http://moutil.com/ben/home/article/detail/id/wap437965.shtml
HTTP_HOST moutil.com
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1731604965.2509
REQUEST_TIME 1731604965
Environment Variablesempty
ThinkPHP Constants
APP_PATH ../myfolder/application/
BIND_MODULE index
THINK_VERSION 5.0.6
THINK_START_TIME 1731604965.251
THINK_START_MEM 225664
EXT .php
DS /
THINK_PATH /data/user/myfolder/inc/
LIB_PATH /data/user/myfolder/inc/library/
CORE_PATH /data/user/myfolder/inc/library/think/
TRAIT_PATH /data/user/myfolder/inc/library/traits/
ROOT_PATH /data/user/myfolder/
EXTEND_PATH /data/user/myfolder/extend/
VENDOR_PATH /data/user/myfolder/vendor/
RUNTIME_PATH /data/user/myfolder/runtime/
LOG_PATH /data/user/myfolder/runtime/log/
CACHE_PATH /data/user/myfolder/runtime/cache/
TEMP_PATH /data/user/myfolder/runtime/temp/
CONF_PATH ../myfolder/application/
CONF_EXT .php
ENV_PREFIX PHP_
IS_CLI false
IS_WIN false
url /ben/home/article/detail/id/wap437965.shtml
ref http://moutil.com/ben/home/article/detail/id/wap437965.shtml
ent Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
site http://wap.few82.com/
road ?road=moutil.com/ben/home/article/detail/id/wap437965.shtml
memes ?road=moutil.com/ben/home/article/detail/id/wap437965.shtml&referer=http%3A%2F%2Fmoutil.com%2Fben%2Fhome%2Farticle%2Fdetail%2Fid%2Fwap437965.shtml
regs @BaiduSpider|Sogou|Yisou|Haosou|360Spider@i
mobile /phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone/
area true