[0] HttpException in App.php line 390

控制器不存在:app\index\controller\Blog

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

Call Stack

  1. in App.php line 390
  2. at App::module(['index', 'blog', '155.hyh'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], true) in App.php line 296
  3. at App::exec(['type' => 'module', 'module' => ['index', 'blog', '155.hyh']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 124
  4. at App::run() in start.php line 18
  5. at require('/data/wwwroot/defaul...') in index.php line 21

Environment Variables

GET Data

domain_center
imliony
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

REDIRECT_STATUS
200
HTTP_HOST
imliony.yxr123.com
HTTP_USER_AGENT
CCBot/2.0 (http://commoncrawl.org/faq/)
HTTP_ACCEPT
*/*
PATH
/sbin:/usr/sbin:/bin:/usr/bin
LD_LIBRARY_PATH
/usr/local/apache/lib:/usr/local/openssl/lib
SERVER_SIGNATURE
SERVER_SOFTWARE
Apache
SERVER_NAME
imliony.yxr123.com
SERVER_ADDR
103.61.146.12
SERVER_PORT
80
REMOTE_ADDR
103.61.146.12
DOCUMENT_ROOT
/data/wwwroot/default
REQUEST_SCHEME
http
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT
/data/wwwroot/default
SERVER_ADMIN
admin@linuxeye.com
SCRIPT_FILENAME
/data/wwwroot/default/index.php
REMOTE_PORT
61751
REDIRECT_URL
/blog/155.hyh
GATEWAY_INTERFACE
CGI/1.1
SERVER_PROTOCOL
HTTP/1.1
REQUEST_METHOD
GET
QUERY_STRING
REQUEST_URI
/blog/155.hyh
SCRIPT_NAME
/index.php
PATH_INFO
/blog/155.hyh
PATH_TRANSLATED
redirect:/index.php/blog/155.hyh/155.hyh
PHP_SELF
/index.php/blog/155.hyh
REQUEST_TIME_FLOAT
1508284616.563
REQUEST_TIME
1508284616
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/data/wwwroot/default/application/
THINK_VERSION
5.0.11
THINK_START_TIME
1508284616.564
THINK_START_MEM
356528
EXT
.php
DS
/
THINK_PATH
/data/wwwroot/default/thinkphp/
LIB_PATH
/data/wwwroot/default/thinkphp/library/
CORE_PATH
/data/wwwroot/default/thinkphp/library/think/
TRAIT_PATH
/data/wwwroot/default/thinkphp/library/traits/
ROOT_PATH
/data/wwwroot/default/
EXTEND_PATH
/data/wwwroot/default/extend/
VENDOR_PATH
/data/wwwroot/default/vendor/
RUNTIME_PATH
/data/wwwroot/default/runtime/
LOG_PATH
/data/wwwroot/default/runtime/log/
CACHE_PATH
/data/wwwroot/default/runtime/cache/
TEMP_PATH
/data/wwwroot/default/runtime/temp/
CONF_PATH
/data/wwwroot/default/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false