88038威尼斯

[2] ErrorException in File.php line 133

file_get_contents(D:\wwwroot\ntpentu\wwwroot\runtime\cache\e6\04073620581d2b85eabcfe5a420027.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\ntpentu\w...', 133, ['name' => 'getCategory_14', 'default' => false, 'filename' => 'D:\wwwroot\ntpentu\w...'])
  3. at file_get_contents('D:\wwwroot\ntpentu\w...') in File.php line 133
  4. at File->get('getCategory_14')
  5. at call_user_func_array([object(File), 'get'], ['getCategory_14']) in Cache.php line 130
  6. at Cache->__call('get', ['getCategory_14'])
  7. at call_user_func_array([object(Cache), 'get'], ['getCategory_14']) in Facade.php line 123
  8. at Facade::__callStatic('get', ['getCategory_14']) in function.php line 36
  9. at getCategory('14', 'url') in function.php line 104
  10. at catpos(15) in 2cd83ca3286b918601b0c3f82aaeee1a.php line 164
  11. at include('D:\wwwroot\ntpentu\w...') in File.php line 59
  12. at File->read('D:\wwwroot\ntpentu\w...', ['site' => ['web_site_statistics' => '">">">">