88038威尼斯

[2] ErrorException in File.php line 189

file_put_contents(D:\wwwroot\ntpentu\wwwroot\runtime\cache\25\4f15c30b2d52da9a77fbb68feef627.php): failed to open stream: Permission denied

  1. $data = $this->serialize($value);
  2. if ($this->options['data_compress'] && function_exists('gzcompress')) {
  3. //数据压缩
  4. $data = gzcompress($data, 3);
  5. }
  6. $data = "\n" . $data;
  7. //return false;
  8. $result = file_put_contents($filename, $data);
  9. if ($result) {
  10. isset($first) && $this->setTagItem($filename);
  11. clearstatcache();
  12. return true;
  13. } else {
  14. return false;
  15. }
  16. }

Call Stack

  1. in File.php line 189
  2. at Error::appError(2, 'file_put_contents(D:...', 'D:\wwwroot\ntpentu\w...', 189, ['name' => 'getCategory_25', 'value' => ['id' => 25, 'catname' => '...', 'catdir' => 'jiejingchejianpeitao...', ...], 'expire' => 3600, ...])
  3. at file_put_contents('D:\wwwroot\ntpentu\w...', '') in File.php line 189
  4. at File->set('getCategory_25', ['id' => 25, 'catname' => '...', 'catdir' => 'jiejingchejianpeitao...', ...], 3600)
  5. at call_user_func_array([object(File), 'set'], ['getCategory_25', ['id' => 25, 'catname' => '...', 'catdir' => 'jiejingchejianpeitao...', ...], 3600]) in Cache.php line 130
  6. at Cache->__call('set', ['getCategory_25', ['id' => 25, 'catname' => '...', 'catdir' => 'jiejingchejianpeitao...', ...], 3600])
  7. at call_user_func_array([object(Cache), 'set'], ['getCategory_25', ['id' => 25, 'catname' => '...', 'catdir' => 'jiejingchejianpeitao...', ...], 3600]) in Facade.php line 123
  8. at Facade::__callStatic('set', ['getCategory_25', ['id' => 25, 'catname' => '...', 'catdir' => 'jiejingchejianpeitao...', ...], 3600]) in function.php line 54
  9. at getCategory(25, 'arrparentid') in function.php line 102
  10. at catpos(25) in 865dbed17faa308ce882edb97d1f2287.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' => '">">">">