Unable to clear cache for all folders

This forum is for issues with installing Joomla! 3.x on IIS webservers.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Locked
43rdworld
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Sun Sep 21, 2014 5:27 am

Unable to clear cache for all folders

Post by 43rdworld » Wed Nov 30, 2016 5:12 am

We recently had a server crash but were able to restore our site from backups. However, since then, I've been unable to fully clear my cache - whereas prior to the crash, everything was working fine. Some folders clear but not all. I get messages like:

Warning
JCacheStorageFile::_deleteFolder JFolder: :delete: Could not delete folder. Path: C:\inetpub\wwwroot\cache\com_languages
JCacheStorageFile::_deleteFolder JFolder: :delete: Could not delete folder. Path: C:\inetpub\wwwroot\cache\com_modules
JCacheStorageFile::_deleteFolder JFolder: :delete: Could not delete folder. Path: C:\inetpub\wwwroot\cache\com_templates
JCacheStorageFile::_deleteFolder JFolder: :delete: Could not delete folder. Path: C:\inetpub\wwwroot\cache\mod_menu
JCacheStorageFile::_deleteFolder JFolder: :delete: Could not delete folder. Path: C:\inetpub\wwwroot\cache\mod_search
JCacheStorageFile::_deleteFolder JFolder: :delete: Could not delete folder. Path: C:\inetpub\wwwroot\cache\_system
Only some cache group(s) have been cleared.

Error
Error clearing cache group(s): Site > com_languages.
Error clearing cache group(s): Site > com_modules.
Error clearing cache group(s): Site > com_templates.
Error clearing cache group(s): Site > mod_menu.
Error clearing cache group(s): Site > mod_search.
Error clearing cache group(s): Site > _system.


All the folders exist and the contents of the folders correlate with the contents I'm seeing on the Clear Cache screen as to number of files etc.

I'm doing everything locally and have full administrative access to the machine - should I just stop the site and delete the cache files manually and let Joomla rebuild the directories of is there another, better way of resolving this error?

Thanks in advance.
Last edited by toivo on Thu Dec 01, 2016 11:07 pm, edited 1 time in total.
Reason: mod note: moved to IIS forum

sovainfo
Joomla! Exemplar
Joomla! Exemplar
Posts: 8808
Joined: Sat Oct 01, 2011 7:06 pm

Re: Unable to clear cache for all folders

Post by sovainfo » Wed Nov 30, 2016 6:47 pm

Sounds like the NTFS rights are not set properly for IUSR !
Issue with migrating? Include logs/joomla_update.php in your report!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!

43rdworld
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Sun Sep 21, 2014 5:27 am

Re: Unable to clear cache for all folders

Post by 43rdworld » Thu Dec 01, 2016 8:44 pm

Everything looks the same permission wise with the IUSR account - special permissions only for the folder but nothing set. Yet it works for some and not for others. User account had Read, Write & Execute and IIS_USRS have only Read & Execute


Locked

Return to “Joomla! 3.x on IIS webserver”