[0] HttpException in App.php line 391

控制器不存在:Message

  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 391
  2. at App::module(['index', 'message', 'index'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], null) in App.php line 295
  3. at App::exec(['type' => 'module', 'module' => ['index', 'message', 'index']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 123
  4. at App::run() in start.php line 18
  5. at require('/www/wwwroot/zhongji...') in index.php line 19

Environment Variables

GET Data
empty
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/home/www
FCGI_ROLE
RESPONDER
SCRIPT_FILENAME
/www/wwwroot/zhongjianyou.com/public/index.php
QUERY_STRING
s=/index/message/index.html
REQUEST_METHOD
GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME
/index.php
REQUEST_URI
/index/message/index.html
DOCUMENT_URI
/index.php
DOCUMENT_ROOT
/www/wwwroot/zhongjianyou.com/public
SERVER_PROTOCOL
HTTP/1.1
REQUEST_SCHEME
http
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.20.1
REMOTE_ADDR
58.114.11.151
REMOTE_PORT
1964
SERVER_ADDR
172.18.249.88
SERVER_PORT
80
SERVER_NAME
zhongjianyou.com
REDIRECT_STATUS
200
PATH_INFO
/index/message/index.html
HTTP_REFERER
http://www.zhongjianyou.com/
HTTP_CONNECTION
keep-alive
HTTP_HOST
www.zhongjianyou.com
HTTP_USER_AGENT
Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98)
HTTP_ACCEPT
text/html,image/png,image/jpeg,image/pjpeg,image/x-xbitmap,image/svg+xml,image/gif;q=0.9,*/*;q=0.1
HTTP_ACCEPT_LANGUAGE
en, *
HTTP_ACCEPT_ENCODING
gzip, identity;q=0.9
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1643478692.4529
REQUEST_TIME
1643478692
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/zhongjianyou.com/public/application/
RUNTIME_PATH
/www/wwwroot/zhongjianyou.com/public/runtime/
APP_DEBUG
true
THINK_VERSION
5.0.10
THINK_START_TIME
1643478692.4534
THINK_START_MEM
262984
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/zhongjianyou.com/thinkphp/
LIB_PATH
/www/wwwroot/zhongjianyou.com/thinkphp/library/
CORE_PATH
/www/wwwroot/zhongjianyou.com/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/zhongjianyou.com/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/zhongjianyou.com/
EXTEND_PATH
/www/wwwroot/zhongjianyou.com/extend/
VENDOR_PATH
/www/wwwroot/zhongjianyou.com/vendor/
LOG_PATH
/www/wwwroot/zhongjianyou.com/public/runtime/log/
CACHE_PATH
/www/wwwroot/zhongjianyou.com/public/runtime/cache/
TEMP_PATH
/www/wwwroot/zhongjianyou.com/public/runtime/temp/
CONF_PATH
/www/wwwroot/zhongjianyou.com/public/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false