[2] ErrorException in File.php line 249

unlink(D:\eplatform\runtime\cache\2024-03-19\9e40dc17be5907f962ca9e2b5dd218b9.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('sql_fb7701a5d1179b0e...', false) in Cache.php line 116
  6. at Cache::get('sql_fb7701a5d1179b0e...') in helper.php line 665
  7. at S('sql_fb7701a5d1179b0e...') in 8dc0d0092653012806414d06ed8af8ac.php line 45
  8. at include('D:\eplatform\runtime...') in File.php line 50
  9. at File->read('D:\eplatform\runtime...', ['action' => 'goodslist', 'goods_category_tree' => [['id' => 6, 'name' => '电脑办公', 'mobile_name' => '电脑办公', ...], ['id' => 574, 'name' => '文体耗材', 'mobile_name' => '文体耗材', ...], ['id' => 7, 'name' => '通讯数码', 'mobile_name' => '通讯数码', ...], ...], 'brand_list' => [['id' => 5, 'name' => '得印', 'parent_cat_id' => 1, ...], ['id' => 6, 'name' => '国际', 'parent_cat_id' => 1, ...], ['id' => 7, 'name' => 'OEM (befon中性)', 'parent_cat_id' => 1, ...], ...], ...]) in Template.php line 175
  10. at Template->fetch('./template/pc/goods\...', ['action' => 'goodslist', 'goods_category_tree' => [['id' => 6, 'name' => '电脑办公', 'mobile_name' => '电脑办公', ...], ['id' => 574, 'name' => '文体耗材', 'mobile_name' => '文体耗材', ...], ['id' => 7, 'name' => '通讯数码', 'mobile_name' => '通讯数码', ...], ...], 'brand_list' => [['id' => 5, 'name' => '得印', 'parent_cat_id' => 1, ...], ['id' => 6, 'name' => '国际', 'parent_cat_id' => 1, ...], ['id' => 7, 'name' => 'OEM (befon中性)', 'parent_cat_id' => 1, ...], ...], ...], []) in Think.php line 71
  11. at Think->fetch('./template/pc/goods\...', ['action' => 'goodslist', 'goods_category_tree' => [['id' => 6, 'name' => '电脑办公', 'mobile_name' => '电脑办公', ...], ['id' => 574, 'name' => '文体耗材', 'mobile_name' => '文体耗材', ...], ['id' => 7, 'name' => '通讯数码', 'mobile_name' => '通讯数码', ...], ...], 'brand_list' => [['id' => 5, 'name' => '得印', 'parent_cat_id' => 1, ...], ['id' => 6, 'name' => '国际', 'parent_cat_id' => 1, ...], ['id' => 7, 'name' => 'OEM (befon中性)', 'parent_cat_id' => 1, ...], ...], ...], []) in View.php line 158
  12. at View->fetch('', ['action' => 'goodslist', 'goods_category_tree' => [['id' => 6, 'name' => '电脑办公', 'mobile_name' => '电脑办公', ...], ['id' => 574, 'name' => '文体耗材', 'mobile_name' => '文体耗材', ...], ['id' => 7, 'name' => '通讯数码', 'mobile_name' => '通讯数码', ...], ...], 'brand_list' => [['id' => 5, 'name' => '得印', 'parent_cat_id' => 1, ...], ['id' => 6, 'name' => '国际', 'parent_cat_id' => 1, ...], ['id' => 7, 'name' => 'OEM (befon中性)', 'parent_cat_id' => 1, ...], ...], ...], [], []) in Controller.php line 125
  13. at Controller->fetch() in Goods.php line 188
  14. at Goods->goodsList()
  15. at ReflectionMethod->invokeArgs(object(Goods), []) in App.php line 227
  16. at App::invokeMethod([object(Goods), 'goodslist'], []) in App.php line 394
  17. at App::module(['home', 'Goods', 'goodsList'], ['app_namespace' => 'app', 'app_debug' => true, 'app_trace' => false, ...], true) in App.php line 133
  18. at App::run() in start.php line 18
  19. at require('D:\eplatform\thinkph...') in index.php line 42