[2] ErrorException in File.php line 249

unlink(D:\eplatform\runtime\cache\2024-03-29\817987d80cc8632197ec729dc5cd2202.php): Permission denied

  1. /**
  2. * 判断文件是否存在后,删除
  3. * @param $path
  4. * @return bool
  5. * @return boolean
  6. */
  7. private function unlink($path)
  8. {
  9. return is_file($path) && unlink($path);
  10. }
  11. }

Call Stack

  1. in File.php line 249
  2. at Error::appError(2, 'unlink(D:\eplatform\...', 'D:\eplatform\thinkph...', 249, ['path' => 'D:\eplatform\runtime...'])
  3. at unlink('D:\eplatform\runtime...') in File.php line 249
  4. at File->unlink('D:\eplatform\runtime...') in File.php line 115
  5. at File->get('78345a36f869be69c58a...', false) in Cache.php line 116
  6. at Cache::get('78345a36f869be69c58a...') in Query.php line 2282
  7. at Query->select() in Base.php line 25
  8. at Base->public_assign() in Base.php line 20
  9. at Base->_initialize() in Controller.php line 70
  10. at Controller->__construct(object(Request))
  11. at ReflectionClass->newInstanceArgs([object(Request)]) in App.php line 246
  12. at App::invokeClass('app\home\controller\...') in Loader.php line 420
  13. at Loader::controller('goods', 'controller', false, 'Error') in App.php line 372
  14. at App::module(['home', 'Goods', 'goodsInfo'], ['app_namespace' => 'app', 'app_debug' => true, 'app_trace' => false, ...], true) in App.php line 133
  15. at App::run() in start.php line 18
  16. at require('D:\eplatform\thinkph...') in index.php line 42