[2] ErrorException in File.php line 302

unlink(C:\wwwroot\realsc.cn\runtime\cache\shopxo\f6\22a5685983835847bfe0adfc588de9.php): Permission denied

  1. * 判断文件是否存在后,删除
  2. * @access private
  3. * @param string $path
  4. * @return bool
  5. * @author byron sampson <xiaobo.sun@qq.com>
  6. * @return boolean
  7. */
  8. private function unlink($path)
  9. {
  10. return is_file($path) && unlink($path);
  11. }
  12. }

Call Stack

  1. in File.php line 302
  2. at Error::appError(2, 'unlink(C:\wwwroot\re...', 'C:\wwwroot\realsc.cn...', 302, ['path' => 'C:\wwwroot\realsc.cn...'])
  3. at unlink('C:\wwwroot\realsc.cn...') in File.php line 302
  4. at File->unlink('C:\wwwroot\realsc.cn...') in File.php line 140
  5. at File->get('cache_common_home_na...')
  6. at call_user_func_array([object(File), 'get'], ['cache_common_home_na...']) in Cache.php line 130
  7. at Cache->__call('get', ['cache_common_home_na...'])
  8. at Cache->get('cache_common_home_na...')
  9. at call_user_func_array([object(Cache), 'get'], ['cache_common_home_na...']) in Facade.php line 123
  10. at Facade::__callStatic('get', ['cache_common_home_na...']) in helper.php line 129
  11. at Cache::get('cache_common_home_na...') in helper.php line 129
  12. at cache('cache_common_home_na...') in NavigationService.php line 45
  13. at NavigationService::Nav() in Common.php line 480
  14. at Common->NavInit() in Common.php line 103
  15. at Common->__construct() in Search.php line 36
  16. at Search->__construct()
  17. at ReflectionClass->newInstanceArgs([]) in Container.php line 439
  18. at Container->invokeClass('app\index\controller...', []) in Container.php line 284
  19. at Container->make('app\index\controller...', true) in App.php line 725
  20. at App->controller('search', 'controller', false, 'Error') in Module.php line 95
  21. at Module->exec() in Dispatch.php line 168
  22. at Dispatch->run() in App.php line 432
  23. at App->think\{closure}(object(Request), object(Closure), null)
  24. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  25. at Middleware->think\{closure}(object(Request)) in SystemEnvCheck.php line 42
  26. at SystemEnvCheck->handle(object(Request), object(Closure), null)
  27. at call_user_func_array([object(SystemEnvCheck), 'handle'], [object(Request), object(Closure), null]) in Middleware.php line 185
  28. at Middleware->think\{closure}(object(Request))
  29. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  30. at Middleware->dispatch(object(Request)) in App.php line 435
  31. at App->run() in index.php line 24
  32. at require('C:\wwwroot\realsc.cn...') in index.php line 16

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
_FCGI_X_PIPE_ \\.\pipe\IISFCGI-827a0b14-0a75-4b0c-a2c8-db240bd57b51
PHP_FCGI_MAX_REQUESTS 10000
ALLUSERSPROFILE C:\ProgramData
APPDATA C:\Windows\system32\config\systemprofile\AppData\Roaming
APP_POOL_CONFIG C:\inetpub\temp\apppools\realsc.cn\realsc.cn.config
APP_POOL_ID realsc.cn
BT_PANEL C:\BtSoft\panel
BT_PYTHON C:\Program Files\python
BT_SETUP C:\BtSoft
CommonProgramFiles C:\Program Files\Common Files
CommonProgramFiles(x86) C:\Program Files (x86)\Common Files
CommonProgramW6432 C:\Program Files\Common Files
COMPUTERNAME 10-7-89-4
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:\Windows\System32\WindowsPowerShell\v1.0\;;C:\Program Files\python;C:\Program Files\python\Scripts;;C:\BtSoft\panel\script;
PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE AMD64
PROCESSOR_IDENTIFIER Intel64 Family 6 Model 61 Stepping 2, GenuineIntel
PROCESSOR_LEVEL 6
PROCESSOR_REVISION 3d02
ProgramData C:\ProgramData
ProgramFiles C:\Program Files
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
UNRAR_LIB_PATH C:\Program Files\python\Lib\site-packages\unrar\UnRAR.dll
USERDOMAIN WORKGROUP
USERNAME 10-7-89-4$
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
URL /index.php
SERVER_SOFTWARE Microsoft-IIS/7.5
SERVER_PROTOCOL HTTP/1.1
SERVER_PORT_SECURE 0
SERVER_PORT 80
SERVER_NAME realsc.cn
SCRIPT_NAME /index.php
SCRIPT_FILENAME c:\wwwroot\realsc.cn\index.php
REQUEST_URI /index.php?s=/index/search/index/category_id/511.html
REQUEST_METHOD GET
REMOTE_USER
REMOTE_PORT 57392
REMOTE_HOST 34.230.84.106
REMOTE_ADDR 34.230.84.106
QUERY_STRING s=/index/search/index/category_id/511.html
PATH_TRANSLATED c:\wwwroot\realsc.cn\index.php
LOGON_USER
LOCAL_ADDR 10.7.89.4
INSTANCE_META_PATH /LM/W3SVC/14
INSTANCE_NAME REALSC.CN
INSTANCE_ID 14
HTTPS_SERVER_SUBJECT
HTTPS_SERVER_ISSUER
HTTPS_SECRETKEYSIZE
HTTPS_KEYSIZE
HTTPS off
GATEWAY_INTERFACE CGI/1.1
DOCUMENT_ROOT c:\wwwroot\realsc.cn
CONTENT_TYPE
CONTENT_LENGTH 0
CERT_SUBJECT
CERT_SERIALNUMBER
CERT_ISSUER
CERT_FLAGS
CERT_COOKIE
AUTH_USER
AUTH_PASSWORD
AUTH_TYPE
APPL_PHYSICAL_PATH c:\wwwroot\realsc.cn\
APPL_MD_PATH /LM/W3SVC/14/ROOT
IIS_UrlRewriteModule 7.1.0871.0
HTTP_USER_AGENT claudebot
HTTP_HOST realsc.cn
HTTP_ACCEPT */*
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1710831492.2821
REQUEST_TIME 1710831492
Environment Variablesempty
ThinkPHP Constants
IS_ROOT_ACCESS true
APPLICATION_VERSION v2.0.2
DS /
__MY_HTTP__ http
__MY_ROOT__
__MY_ROOT_PUBLIC__ /public/
__MY_ADDR__
__MY_HOST__ realsc.cn
__MY_URL__ http://realsc.cn/
__MY_PUBLIC_URL__ http://realsc.cn/public/
__MY_VIEW_URL__ http://realsc.cn/index.php?s=/index/search/index/category_id/511.html
ROOT_PATH C:/wwwroot/realsc.cn/public/
ROOT C:/wwwroot/realsc.cn/
APP_PATH C:/wwwroot/realsc.cn/application/
APPLICATION web
APPLICATION_CLIENT_TYPE pc
IS_GET true
IS_POST false
IS_AJAX false