Title: clearing cache gives error
Last modified: August 30, 2016

---

# clearing cache gives error

 *  [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/clearing-cache-gives-error/)
 * I’m testing zencache (lite v151107) on my local XAMPP-machine (i.e. Apache on
   Windows) and get the following error when trying to clear cache;
 * > <b>Warning</b>: rename(E:/xampp/htdocs/wordpress/wp-content/cache/zencache/
   > cache/http/localhost,E:/xampp/htdocs/wordpress/wp-content/cache/zencache/cache/
   > http/localhost-5648308b84441460758740-tmp): Access is denied. (code: 5) in 
   > <b>E:\xampp\htdocs\wordpress\wp-content\plugins\zencache\includes\share.php
   > </b> on line <b>1799</b>
   > <b>Fatal error</b>: Uncaught exception ‘Exception’ with message ‘Unable to 
   > delete files. Rename failure on tmp directory: `E:/xampp/htdocs/wordpress/wp-
   > content/cache/zencache/cache/http/localhost`.’ in E:\xampp\htdocs\wordpress\
   > wp-content\plugins\zencache\includes\share.php:1800
   >  Stack trace: #0 E:\xampp\
   > htdocs\wordpress\wp-content\plugins\zencache\includes\share.php(1534): zencache\
   > share->delete_files_from_host_cache_dir(‘/^.+/i’) #1 E:\xampp\htdocs\wordpress\
   > wp-content\plugins\zencache\zencache.inc.php(896): zencache\share->clear_files_from_host_cache_dir(‘/
   > ^.+/i’) #2 E:\xampp\htdocs\wordpress\wp-content\plugins\zencache\zencache.inc.
   > php(996): zencache\plugin->clear_cache() #3 E:\xampp\htdocs\wordpress\wp-content\
   > plugins\zencache\zencache.inc.php(1853): zencache\plugin->auto_clear_cache()#
   > 4 [internal function]: zencache\plugin->maybe_auto_clear_cache(”) #5 E:\xampp\
   > htdocs\wordpress\wp-includes\plugin.php(503): call_user_func_array(Array, Array)#
   > 6 E:\xampp\htdocs\wordpress\wp-admin\admin.php(168): do_action(‘admin_init’)#
   > 7 E in <b>E:\xampp\htdocs\wordpress\wp-content\plugins\zencache\includes\share.
   > php</b> on line <b>1800</b>
 * looking forward to your feedback.
 * frank
 * [https://wordpress.org/plugins/zencache/](https://wordpress.org/plugins/zencache/)

The topic ‘clearing cache gives error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/zencache_3c4c6b.svg)
 * [ZenCache](https://wordpress.org/plugins/zencache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/zencache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/zencache/)
 * [Active Topics](https://wordpress.org/support/plugin/zencache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/zencache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/zencache/reviews/)

## Tags

 * [clear cache](https://wordpress.org/support/topic-tag/clear-cache/)

 * 0 replies
 * 1 participant
 * Last reply from: [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/clearing-cache-gives-error/)
 * Status: not resolved