?

[0] HttpException in App.php line 369

控制器不存在:About

  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 369
  2. at App::module(['index', 'about', null], ['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('/wwwroot/web/thinkph...') in index.php line 28

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
FCGI_ROLE RESPONDER
PATH_INFO /about/
SCRIPT_FILENAME /wwwroot/web/main_web//index.php
QUERY_STRING
REQUEST_METHOD GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME /index.php
REQUEST_URI /about/
DOCUMENT_URI /index.php/about/
DOCUMENT_ROOT /wwwroot/web/main_web
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
SERVER_SOFTWARE nginx/1.6.2
REMOTE_ADDR 103.219.107.226
REMOTE_PORT 60579
SERVER_ADDR 121.42.249.47
SERVER_PORT 80
SERVER_NAME daniujiaoyu.org
REDIRECT_STATUS 200
HTTP_USER_AGENT Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots)
HTTP_HOST http://www.sukarh.com
HTTP_ACCEPT */*
PHP_SELF /index.php/about/
REQUEST_TIME_FLOAT 1583484741.4055
REQUEST_TIME 1583484741
Environment Variablesempty
ThinkPHP Constants
APP_PATH /wwwroot/web/main_web/../main_app/
CONF_PATH /wwwroot/web/main_web/config/
BIND_MODULE index
THINK_VERSION 5.0.5
THINK_START_TIME 1583484741.4059
THINK_START_MEM 260576
EXT .php
DS /
THINK_PATH /wwwroot/web/thinkphp/
LIB_PATH /wwwroot/web/thinkphp/library/
CORE_PATH /wwwroot/web/thinkphp/library/think/
TRAIT_PATH /wwwroot/web/thinkphp/library/traits/
ROOT_PATH /wwwroot/web/
EXTEND_PATH /wwwroot/web/extend/
VENDOR_PATH /wwwroot/web/vendor/
RUNTIME_PATH /wwwroot/web/runtime/
LOG_PATH /wwwroot/web/runtime/log/
CACHE_PATH /wwwroot/web/runtime/cache/
TEMP_PATH /wwwroot/web/runtime/temp/
CONF_EXT .php
ENV_PREFIX PHP_
COMMON_PATH /wwwroot/web/common/
DOC_PATH /wwwroot/web/main_web/
IS_CLI false
IS_WIN false