10005
Exception in App.php line 203
module [ myphp ] not exists

  1. define('MODULE_NAME', strip_tags($module));
  2. // 模块初始化
  3. if (MODULE_NAME && !in_array(MODULE_NAME, $config['deny_module_list']) && is_dir(APP_PATH . MODULE_NAME)) {
  4. define('MODULE_PATH', APP_PATH . MODULE_NAME . DS);
  5. define('VIEW_PATH', MODULE_PATH . VIEW_LAYER . DS);
  6. // 初始化模块
  7. self::initModule(MODULE_NAME, $config);
  8. } else {
  9. throw new Exception('module [ ' . MODULE_NAME . ' ] not exists ', 10005);
  10. }
  11. } else {
  12. // 单一模块部署
  13. define('MODULE_NAME', '');
  14. define('MODULE_PATH', APP_PATH);
  15. define('VIEW_PATH', MODULE_PATH . VIEW_LAYER . DS);
  16. }
  17. // 获取控制器名

Call Stack

  1. in App.php line 203
  2. at App::module(['myphp', 'math', 'image'], ['app_status' => '', 'root_namespace' => [], 'extra_config_list' => ['database', 'email', 'weixin', ...], ...]) in App.php line 84
  3. at App::run() in start.php line 52
  4. at require('/xtu/web/math.xtu.ed...') in index.php line 18

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /xtu/web
FCGI_ROLE RESPONDER
SCRIPT_FILENAME /xtu/web/math.xtu.edu.cn_2018/public/index.php
QUERY_STRING s=/myphp/math/image/xifang.htm
REQUEST_METHOD GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME /index.php
REQUEST_URI /myphp/math/image/xifang.htm
DOCUMENT_URI /index.php
DOCUMENT_ROOT /xtu/web/math.xtu.edu.cn_2018/public
SERVER_PROTOCOL HTTP/1.0
REQUEST_SCHEME http
GATEWAY_INTERFACE CGI/1.1
SERVER_SOFTWARE nginx/1.12.2
REMOTE_ADDR 202.197.224.207
REMOTE_PORT 55591
SERVER_ADDR 172.24.255.101
SERVER_PORT 80
SERVER_NAME math.xtu.edu.cn
REDIRECT_STATUS 200
HTTP_HOST math.xtu.edu.cn
HTTP_X_REAL_IP 202.197.224.10
HTTP_X_FORWARDED_FOR 54.162.121.80, 202.197.224.10
HTTP_CONNECTION close
HTTP_USER_AGENT CCBot/2.0 (http://commoncrawl.org/faq/)
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1524242551.2871
REQUEST_TIME 1524242551
PATH_INFO myphp/math/image/xifang
Environment Variablesempty
ThinkPHP Constants
THINK_VERSION 5.0.0 RC2
THINK_PATH /xtu/web/math.xtu.edu.cn_2018/thinkphp/
LIB_PATH /xtu/web/math.xtu.edu.cn_2018/thinkphp/library/
EXTEND_PATH /xtu/web/math.xtu.edu.cn_2018/thinkphp/extend/
MODE_PATH /xtu/web/math.xtu.edu.cn_2018/thinkphp/mode/
CORE_PATH /xtu/web/math.xtu.edu.cn_2018/thinkphp/library/think/
TRAIT_PATH /xtu/web/math.xtu.edu.cn_2018/thinkphp/library/traits/
APP_PATH /xtu/web/math.xtu.edu.cn_2018/public/../application/
RUNTIME_PATH /xtu/web/math.xtu.edu.cn_2018/application/runtime/
LOG_PATH /xtu/web/math.xtu.edu.cn_2018/application/runtime/log/
CACHE_PATH /xtu/web/math.xtu.edu.cn_2018/application/runtime/cache/
TEMP_PATH /xtu/web/math.xtu.edu.cn_2018/application/runtime/temp/
VENDOR_PATH /xtu/web/math.xtu.edu.cn_2018/thinkphp/vendor/
MODULE_PATH undefined
VIEW_PATH undefined
APP_NAMESPACE app
COMMON_MODULE common
APP_MULTI_MODULE true
MODULE_ALIAS undefined
MODULE_NAME myphp
CONTROLLER_NAME undefined
ACTION_NAME undefined
MODEL_LAYER model
VIEW_LAYER view
CONTROLLER_LAYER controller
APP_DEBUG true
APP_HOOK true
ENV_PREFIX T_
IS_API false
APP_AUTO_RUN true
APP_MODE common
REQUEST_METHOD GET
IS_CGI 0
IS_WIN 0
IS_CLI 0
IS_AJAX false
IS_GET true
IS_POST false
IS_PUT false
IS_DELETE false
NOW_TIME 1524242551
LANG_SET undefined
EXT .php
DS /
__INFO__ myphp/math/image/xifang.htm
__EXT__ htm