[0] HttpException in App.php line 360

模块不存在:404

  1. // 模块初始化
  2. if ($module && $available) {
  3. // 初始化模块
  4. $request->module($module);
  5. $config = self::init($module);
  6. // 模块请求缓存检查
  7. $request->cache($config['request_cache'], $config['request_cache_expire'], $config['request_cache_except']);
  8. } else {
  9. throw new HttpException(404, 'module not exists:' . $module);
  10. }
  11. } else {
  12. // 单一模块部署
  13. $module = '';
  14. $request->module($module);
  15. }
  16. // 当前模块路径
  17. App::$modulePath = APP_PATH . ($module ? $module . DS : '');

Call Stack

  1. in App.php line 360
  2. at App::module(['404', null, null], ['app_namespace' => 'app', 'app_debug' => true, 'app_trace' => true, ...], null) in App.php line 295
  3. at App::exec(['type' => 'module', 'module' => ['404', null, null]], ['app_namespace' => 'app', 'app_debug' => true, 'app_trace' => true, ...]) in App.php line 123
  4. at App::run() in start.php line 18
  5. at require('/var/www/longnianjuc...') in index.php line 18

Environment Variables

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

Server/Request Data

REDIRECT_PATH_INFO
404.html
REDIRECT_STATUS
200
HTTP_HOST
www.longnianju.com
HTTP_ACCEPT
*/*
PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
SERVER_SIGNATURE
SERVER_SOFTWARE
Apache
SERVER_NAME
www.longnianju.com
SERVER_ADDR
172.31.103.64
SERVER_PORT
80
REMOTE_ADDR
209.58.142.147
DOCUMENT_ROOT
/var/www/longnianjucom
REQUEST_SCHEME
http
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT
/var/www/longnianjucom
SERVER_ADMIN
2500306666@qq.com
SCRIPT_FILENAME
/var/www/longnianjucom/index.php
REMOTE_PORT
59904
REDIRECT_URL
/404.html
GATEWAY_INTERFACE
CGI/1.1
SERVER_PROTOCOL
HTTP/1.1
REQUEST_METHOD
GET
QUERY_STRING
REQUEST_URI
/404.html
SCRIPT_NAME
/index.php
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1544832599.48
REQUEST_TIME
1544832599
PATH_INFO
404.html
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/var/www/longnianjucom/app/
RUNTIME_PATH
/var/www/longnianjucom/data/runtime/
THINK_VERSION
5.0.7
THINK_START_TIME
1544832599.481
THINK_START_MEM
355488
EXT
.php
DS
/
THINK_PATH
/var/www/longnianjucom/thinkphp/
LIB_PATH
/var/www/longnianjucom/thinkphp/library/
CORE_PATH
/var/www/longnianjucom/thinkphp/library/think/
TRAIT_PATH
/var/www/longnianjucom/thinkphp/library/traits/
ROOT_PATH
/var/www/longnianjucom/
EXTEND_PATH
/var/www/longnianjucom/extend/
VENDOR_PATH
/var/www/longnianjucom/vendor/
LOG_PATH
/var/www/longnianjucom/data/runtime/log/
CACHE_PATH
/var/www/longnianjucom/data/runtime/cache/
TEMP_PATH
/var/www/longnianjucom/data/runtime/temp/
CONF_PATH
/var/www/longnianjucom/app/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
QINIU_FUNCTIONS_VERSION
7.1.3
ADDON_PATH
/var/www/longnianjucom/addons/
0.002063s