[0] HttpException in App.php line 377

控制器不存在:Home

  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 377
  2. at App::module(['home', 'home', 'server.html'], ['app_namespace' => 'wstmart', 'app_debug' => '1', 'app_trace' => false, ...], true) in App.php line 140
  3. at App::run() in start.php line 18
  4. at require('/home/gm2021vgqml2t0...') in index.php line 28

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
PHPSESSID ec6nfi7jrlkd0ofh8m0hnjjor3
Sessionempty
Server/Request Data
REDIRECT_REDIRECT_UNIQUE_ID YQdgG5jGMEtiAD-WnLwkZQAAAAg
REDIRECT_REDIRECT_PHPRC /home/gm2021vgqml2t072t1/others
REDIRECT_REDIRECT_STATUS 200
REDIRECT_UNIQUE_ID YQdgG5jGMEtiAD-WnLwkZQAAAAg
REDIRECT_PHPRC /home/gm2021vgqml2t072t1/others
REDIRECT_HANDLER php-cgi
REDIRECT_STATUS 200
UNIQUE_ID YQdgG5jGMEtiAD-WnLwkZQAAAAg
PHPRC /home/gm2021vgqml2t072t1/others
HTTP_X_FORWARDED_FOR 136.0.126.210
HTTP_X_REAL_IP 211.149.140.122
HTTP_HOST www.szgmled.com
HTTP_CONNECTION close
HTTP_FROM_HTTPS on
HTTP_SSL_FLAG SSL
HTTP_ACCEPT_ENCODING gzip
HTTP_X_FORWARDED_PROTO https
HTTP_USER_AGENT Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
HTTP_ACCEPT */*
HTTP_COOKIE PHPSESSID=ec6nfi7jrlkd0ofh8m0hnjjor3
PATH /sbin:/usr/sbin:/bin:/usr/bin
SERVER_SIGNATURE
Apache Server at www.szgmled.com Port 80
SERVER_SOFTWARE Apache
SERVER_NAME www.szgmled.com
SERVER_ADDR 127.0.0.1
SERVER_PORT 80
REMOTE_ADDR 136.0.126.210
DOCUMENT_ROOT /home/gm2021vgqml2t072t1/wwwroot
REQUEST_SCHEME http
CONTEXT_PREFIX /php-run-as-cgi
CONTEXT_DOCUMENT_ROOT /usr/php7.0/bin
SERVER_ADMIN webmaster@gm2021
SCRIPT_FILENAME /home/gm2021vgqml2t072t1/wwwroot/index.php
REMOTE_PORT 44468
REDIRECT_URL /index.php/home/home/server.html.html
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.0
REQUEST_METHOD GET
QUERY_STRING
REQUEST_URI /home/home/server.html.html
SCRIPT_NAME /index.php
PATH_INFO /home/home/server.html.html
PATH_TRANSLATED /home/gm2021vgqml2t072t1/wwwroot/home/home/server.html.html
ORIG_PATH_INFO /index.php/home/home/server.html.html
ORIG_SCRIPT_NAME /php-run-as-cgi/php-cgi
ORIG_SCRIPT_FILENAME /usr/php7.0/bin/php-cgi
ORIG_PATH_TRANSLATED /home/gm2021vgqml2t072t1/wwwroot/index.php/home/home/server.html.html
PHP_SELF /index.php/home/home/server.html.html
REQUEST_TIME_FLOAT 1627873307.6672
REQUEST_TIME 1627873307
Environment Variablesempty
ThinkPHP Constants
APP_PATH /home/gm2021vgqml2t072t1/wwwroot/wstmart/
CONF_PATH /home/gm2021vgqml2t072t1/wwwroot/wstmart/common/conf/
WST_COMM /home/gm2021vgqml2t072t1/wwwroot/wstmart/common/common/
WST_HOME_COMM /home/gm2021vgqml2t072t1/wwwroot/wstmart/home/common/
WST_ADMIN_COMM /home/gm2021vgqml2t072t1/wwwroot/wstmart/admin/common/
APP_HOOK true
WST_WECHAT_COMM /home/gm2021vgqml2t072t1/wwwroot/wstmart/wechat/common/
THINK_VERSION 5.0.3
THINK_START_TIME 1627873307.6686
THINK_START_MEM 359328
EXT .php
DS /
THINK_PATH /home/gm2021vgqml2t072t1/wwwroot/thinkphp/
LIB_PATH /home/gm2021vgqml2t072t1/wwwroot/thinkphp/library/
CORE_PATH /home/gm2021vgqml2t072t1/wwwroot/thinkphp/library/think/
TRAIT_PATH /home/gm2021vgqml2t072t1/wwwroot/thinkphp/library/traits/
ROOT_PATH /home/gm2021vgqml2t072t1/wwwroot/
EXTEND_PATH /home/gm2021vgqml2t072t1/wwwroot/extend/
VENDOR_PATH /home/gm2021vgqml2t072t1/wwwroot/vendor/
RUNTIME_PATH /home/gm2021vgqml2t072t1/wwwroot/runtime/
LOG_PATH /home/gm2021vgqml2t072t1/wwwroot/runtime/log/
CACHE_PATH /home/gm2021vgqml2t072t1/wwwroot/runtime/cache/
TEMP_PATH /home/gm2021vgqml2t072t1/wwwroot/runtime/temp/
CONF_EXT .php
ENV_PREFIX PHP_
IS_CLI false
IS_WIN false
ADDON_PATH /home/gm2021vgqml2t072t1/wwwroot/addons/
WST_ADDON_PATH ./addons/
Baidu
sogou