[10005] Exception in App.php line 204

module [ sites ] 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 204
  2. at App::module(['sites', 'default', 'files'], ['app_status' => '', 'root_namespace' => [], 'extra_config_list' => ['database', 'route', 'validate', ...], ...]) in App.php line 86
  3. at App::run() in start.php line 50
  4. at require('D:\www.appotronics.c...') in index.php line 37

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
PHPSESSID cgortdkr9dgk971bj8vbkhcic2
Sessionempty
Server/Request Data
PROCESSOR_ARCHITEW6432 AMD64
_FCGI_X_PIPE_ \\.\pipe\IISFCGI-c2d732c1-e6c9-4fa2-8253-204d54b33585
PHPRC D:\phpStudy4IIS\php54n\
PHP_FCGI_MAX_REQUESTS 10000
ALLUSERSPROFILE C:\ProgramData
APPDATA C:\Windows\system32\config\systemprofile\AppData\Roaming
APP_POOL_CONFIG C:\inetpub\temp\apppools\www.appotronics.com\www.appotronics.com.config
APP_POOL_ID www.appotronics.com
CommonProgramFiles C:\Program Files (x86)\Common Files
CommonProgramFiles(x86) C:\Program Files (x86)\Common Files
CommonProgramW6432 C:\Program Files\Common Files
COMPUTERNAME iZ94rltj715Z
ComSpec C:\Windows\system32\cmd.exe
FP_NO_HOST_CHECK NO
LOCALAPPDATA C:\Windows\system32\config\systemprofile\AppData\Local
NUMBER_OF_PROCESSORS 1
OS Windows_NT
Path C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft\Web Platform Installer\;
PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE x86
PROCESSOR_IDENTIFIER Intel64 Family 6 Model 45 Stepping 7, GenuineIntel
PROCESSOR_LEVEL 6
PROCESSOR_REVISION 2d07
ProgramData C:\ProgramData
ProgramFiles C:\Program Files (x86)
ProgramFiles(x86) C:\Program Files (x86)
ProgramW6432 C:\Program Files
PSModulePath C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
PUBLIC C:\Users\Public
SystemDrive C:
SystemRoot C:\Windows
TEMP C:\Windows\TEMP
TMP C:\Windows\TEMP
USERDOMAIN WORKGROUP
USERNAME iZ94rltj715Z$
USERPROFILE C:\Windows\system32\config\systemprofile
windir C:\Windows
windows_tracing_flags 3
windows_tracing_logfile C:\BVTBin\Tests\installpackage\csilogfile.log
ORIG_PATH_INFO /index.php/sites/default/files/Voyage into the Unknown - God Problem By Col.pdf
URL /index.php
SERVER_SOFTWARE Microsoft-IIS/7.5
SERVER_PROTOCOL HTTP/1.1
SERVER_PORT_SECURE 0
SERVER_PORT 80
SERVER_NAME www.appotronics.com
SCRIPT_NAME /index.php
SCRIPT_FILENAME D:\www.appotronics.com\index.php
REQUEST_URI /sites/default/files/Voyage into the Unknown - God Problem By Col.pdf
REQUEST_METHOD GET
REMOTE_USER
REMOTE_PORT 51404
REMOTE_HOST 209.73.158.114
REMOTE_ADDR 209.73.158.114
QUERY_STRING
PATH_TRANSLATED D:\www.appotronics.com\index.php\sites\default\files\Voyage into the Unknown - God Problem By Col.pdf
PATH_INFO sites/default/files/Voyage into the Unknown - God Problem By Col.pdf
LOGON_USER
LOCAL_ADDR 112.74.23.125
INSTANCE_META_PATH /LM/W3SVC/2
INSTANCE_NAME WWW.APPOTRONICS.COM
INSTANCE_ID 2
HTTPS_SERVER_SUBJECT
HTTPS_SERVER_ISSUER
HTTPS_SECRETKEYSIZE
HTTPS_KEYSIZE
HTTPS off
GATEWAY_INTERFACE CGI/1.1
DOCUMENT_ROOT D:\www.appotronics.com
CONTENT_TYPE application/x-www-form-urlencoded
CONTENT_LENGTH 0
CERT_SUBJECT
CERT_SERIALNUMBER
CERT_ISSUER
CERT_FLAGS
CERT_COOKIE
AUTH_USER
AUTH_PASSWORD
AUTH_TYPE
APPL_PHYSICAL_PATH D:\www.appotronics.com\
APPL_MD_PATH /LM/W3SVC/2/ROOT
IIS_UrlRewriteModule 7.1.0871.0
UNENCODED_URL /sites/default/files/Voyage%20into%20the%20Unknown%20-%20God%20Problem%20By%20Col.pdf
IIS_WasUrlRewritten 1
HTTP_X_ORIGINAL_URL /sites/default/files/Voyage%20into%20the%20Unknown%20-%20God%20Problem%20By%20Col.pdf
HTTP_USER_AGENT Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
HTTP_HOST www.appotronics.com
HTTP_COOKIE PHPSESSID=cgortdkr9dgk971bj8vbkhcic2
HTTP_ACCEPT_CHARSET utf-8
HTTP_ACCEPT */*
HTTP_CONTENT_TYPE application/x-www-form-urlencoded
HTTP_CONTENT_LENGTH 0
FCGI_ROLE RESPONDER
PHP_SELF /index.php/sites/default/files/Voyage into the Unknown - God Problem By Col.pdf
REQUEST_TIME_FLOAT 1532257011.0811
REQUEST_TIME 1532257011
Environment Variablesempty
ThinkPHP Constants
THINK_VERSION 5.0.0 RC2
THINK_PATH D:\www.appotronics.com\thinkphp\
LIB_PATH D:\www.appotronics.com\thinkphp\library\
EXTEND_PATH D:\www.appotronics.com\thinkphp\extend\
MODE_PATH D:\www.appotronics.com\thinkphp\mode\
CORE_PATH D:\www.appotronics.com\thinkphp\library\think\
TRAIT_PATH D:\www.appotronics.com\thinkphp\library\traits\
APP_PATH D:\www.appotronics.com/application/
RUNTIME_PATH D:\www.appotronics.com/application/data/runtime/
LOG_PATH D:\www.appotronics.com/application/data/runtime/log\
CACHE_PATH D:\www.appotronics.com/application/data/runtime/cache\
TEMP_PATH D:\www.appotronics.com/application/data/runtime/temp\
MODULE_PATH undefined
VIEW_PATH undefined
APP_NAMESPACE app
COMMON_MODULE common
APP_MULTI_MODULE true
MODULE_ALIAS undefined
MODULE_NAME sites
CONTROLLER_NAME undefined
ACTION_NAME undefined
MODEL_LAYER model
VIEW_LAYER view
CONTROLLER_LAYER controller
APP_DEBUG true
APP_HOOK false
ENV_PREFIX T_
IS_API false
VENDOR_PATH D:\www.appotronics.com\thinkphp\vendor\
APP_AUTO_RUN true
APP_MODE common
REQUEST_METHOD GET
IS_CGI 1
IS_WIN 1
IS_CLI 0
IS_GET true
IS_POST false
IS_PUT false
IS_AJAX false
IS_DELETE false
NOW_TIME 1532257011
LANG_SET undefined
EXT .php
DS \
__INFO__ sites/default/files/Voyage into the Unknown - God Problem By Col.pdf
__EXT__ pdf