[2] ErrorException in File.php line 133

file_get_contents(D:\wwwroot\www.swb.tw\runtime\cache\ca\4c2e2790c47c4d2b37dd97633e5f54.php): failed to open stream: Permission denied

  1. {
  2. $this->readTimes++;
  3. $filename = $this->getCacheKey($name);
  4. if (!is_file($filename)) {
  5. return $default;
  6. }
  7. $content = file_get_contents($filename);
  8. $this->expire = null;
  9. if (false !== $content) {
  10. $expire = (int) substr($content, 8, 12);
  11. if (0 != $expire && time() > filemtime($filename) + $expire) {
  12. //缓存过期删除缓存文件
  13. $this->unlink($filename);
  14. return $default;
  15. }

Call Stack

  1. in File.php line 133
  2. at Error::appError(2, 'file_get_contents(D:...', 'D:\wwwroot\www.swb.t...', 133, ['name' => 'level_nav_207*_idnot...', 'default' => false, 'filename' => 'D:\wwwroot\www.swb.t...'])
  3. at file_get_contents('D:\wwwroot\www.swb.t...') in File.php line 133
  4. at File->get('level_nav_207*_idnot...')
  5. at call_user_func_array([object(File), 'get'], ['level_nav_207*_idnot...']) in Cache.php line 130
  6. at Cache->__call('get', ['level_nav_207*_idnot...'])
  7. at call_user_func_array([object(Cache), 'get'], ['level_nav_207*_idnot...']) in Facade.php line 123
  8. at Facade::__callStatic('get', ['level_nav_207*_idnot...']) in common.php line 2086
  9. at get_cache('level_nav_207*_idnot...') in common.php line 4849
  10. at level_nav([['id' => 11, 'model_id' => 2, 'pid' => 5, ...], ['id' => 12, 'model_id' => 2, 'pid' => 5, ...], ['id' => 14, 'model_id' => 2, 'pid' => 5, ...], ...], 2, 160, '', [['id', 'not in', ['']]], 'idnot in', true, 'sort asc,id asc') in common.php line 4906
  11. at level_nav([['id' => 4, 'model_id' => 2, 'pid' => 3, ...], ['id' => 5, 'model_id' => 2, 'pid' => 3, ...], ['id' => 6, 'model_id' => 2, 'pid' => 3, ...]], 3, 160, '', [['id', 'not in', ['']]], 'idnot in', true, 'sort asc,id asc') in common.php line 4830
  12. at tag_nav(['3'], 'son', '', [['id', 'not in', ['']]], 3, true, '10', 'sort asc,id asc') in 3149f670e4a8ca50a881eeaa36183593.php line 79
  13. at include('D:\wwwroot\www.swb.t...') in File.php line 59
  14. at File->read('D:\wwwroot\www.swb.t...', ['get_config' => ['WEB_SITE_TITLE' => '...', 'WEB_SITE_DESCRIPTION' => '...', 'WEB_SITE_KEYWORD' => '连接器,连接线,...', ...], 'template_src' => '/templates/default', 'nav' => ['id' => 160, 'model_id' => 1, 'pid' => 7, ...], ...]) in Template.php line 226
  15. at Template->fetch('./templates/default/...', ['get_config' => ['WEB_SITE_TITLE' => '...', 'WEB_SITE_DESCRIPTION' => '...', 'WEB_SITE_KEYWORD' => '连接器,连接线,...', ...], 'template_src' => '/templates/default', 'nav' => ['id' => 160, 'model_id' => 1, 'pid' => 7, ...], ...], []) in Think.php line 93
  16. at Think->fetch('./templates/default/...', ['get_config' => ['WEB_SITE_TITLE' => '...', 'WEB_SITE_DESCRIPTION' => '...', 'WEB_SITE_KEYWORD' => '连接器,连接线,...', ...], 'template_src' => '/templates/default', 'nav' => ['id' => 160, 'model_id' => 1, 'pid' => 7, ...], ...], []) in View.php line 189
  17. at View->fetch('./templates/default/...')
  18. at call_user_func_array([object(View), 'fetch'], ['./templates/default/...']) in Facade.php line 123
  19. at Facade::__callStatic('fetch', ['./templates/default/...']) in Article.php line 149
  20. at Article->index('741')
  21. at ReflectionMethod->invokeArgs(object(Article), ['741']) in Container.php line 395
  22. at Container->invokeReflectMethod(object(Article), object(ReflectionMethod), ['lang' => '', 'city' => '', 'catename' => 'rongyuzizhi', ...]) in Module.php line 136
  23. at Module->think\route\dispatch\{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))
  26. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  27. at Middleware->dispatch(object(Request), 'controller') in Module.php line 141
  28. at Module->exec() in Dispatch.php line 168
  29. at Dispatch->run() in App.php line 432
  30. at App->think\{closure}(object(Request), object(Closure), null)
  31. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  32. at Middleware->think\{closure}(object(Request))
  33. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  34. at Middleware->dispatch(object(Request)) in App.php line 435
  35. at App->run() in index.php line 33

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
UVCOOKIE 80364878d4328f003546189df11d9cc8
browse_records a:1:{i:0;a:4:{s:11:"category_id";i:160;s:2:"id";i:741;s:6:"arturl";s:31:"/index.php/rongyuzizhi/741.html";s:11:"record_time";i:1713457921;}}
Session
think { "view": "2e65f2f2fdaf6c699b223c61b1b5ab89" }
Server/Request Data
PATH C:\ProgramData\Oracle\Java\javapath;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;;D:\BFSoft\BtSoft\panel\script;C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps
SYSTEMROOT C:\Windows
COMSPEC C:\Windows\system32\cmd.exe
PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
WINDIR C:\Windows
_FCGI_SHUTDOWN_EVENT_ 8720
HTTP_CONNECTION close
PATH_TRANSLATED redirect:\index.php\741.html
PATH_INFO /rongyuzizhi/741.html
SCRIPT_NAME /index.php
REQUEST_URI /index.php/rongyuzizhi/741.html
QUERY_STRING
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REMOTE_PORT 15351
SCRIPT_FILENAME D:/wwwroot/www.swb.tw/index.php
SERVER_ADMIN webmaster@example.com
CONTEXT_DOCUMENT_ROOT D:/wwwroot/www.swb.tw
CONTEXT_PREFIX
REQUEST_SCHEME http
DOCUMENT_ROOT D:/wwwroot/www.swb.tw
REMOTE_ADDR 18.226.187.199
SERVER_PORT 80
SERVER_ADDR 172.31.177.215
SERVER_NAME www.swb.tw
SERVER_SOFTWARE Apache/2.4.41 (Win32) OpenSSL/1.1.1c mod_fcgid/2.3.9a
SERVER_SIGNATURE
SystemRoot C:\Windows
HTTP_HOST www.swb.tw
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
SCRIPT_URI http://www.swb.tw/index.php/rongyuzizhi/741.html
SCRIPT_URL /index.php/rongyuzizhi/741.html
FCGI_ROLE RESPONDER
PHP_SELF /index.php/rongyuzizhi/741.html
REQUEST_TIME_FLOAT 1713457920.978
REQUEST_TIME 1713457920
Environment Variablesempty
ThinkPHP Constants
APP_PATH D:\wwwroot\www.swb.tw/application/
BIND_MODULE index
BEE_CMSNAME 佰蜂内容管理系统(简称:BeeCMS)
BEE_CMSVERSION 1.0.0
BEE_CMSURL http://www.gzbaifeng.cn/
BEE_CMSCHECKURL http://cms.gzbaifeng.cn/system/checkVersion
BEE_CMSUPDATEURL http://cms.gzbaifeng.cn/system/getDownloadUrl
BEEPUBKEY -----BEGIN PUBLIC KEY----- MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDDNLC44VKc631sBthqldc9W4uy FZeUTySplHND2szBefA6FPDTxYJ1m7JeKE2VIcpaPJD/vN6O46Rtni6aCLJxlYSL 548/hd9tdo8BpRJFW0IEPHZ5LmjF/0Aed+IDi9FPbo5e1oixCsTu+MK8MbnAd10s zr5F2j2vHjl1Da2QtQIDAQAB -----END PUBLIC KEY-----
TABLEADDON addon
EXTRA_DIR
PUBLIC_DIR /public
PROJECT_NAME
PROJECT_PATH D:/wwwroot/www.swb.tw
DEFAULT_UPLOAD_FILE_PATH ./public/static/uploads/
DEFAULT_UPLOAD_FILE_EXT jpg,png,gif
DEFAULT_UPLOAD_FILE_SIZE 20971520
VIEW_PATH D:/wwwroot/www.swb.tw
LANG_URL_DIR
LANG_DIR