Forums / General / Clear Cache Doesn't Work in Admin
GG 66
Tuesday 07 November 2006 6:35:52 am
The clear cache button isn't working. If I add content it doesn't appear on the site.
If I clear cache using the admin interface it doesn't work.
The same happens if I update pagelayout.tpl
I can access and delete files from public_html/var/corporate_site/cache/content/corporate_site
but I can't do this all the time. Any pointers gratefully received.
Claudia Kosny
Tuesday 07 November 2006 9:41:11 am
Hi GG
What version of ez do you use? What happens if you try to clear the cache using the admin interface - any error messages (enable full debug output before)?
Does the script \bin\php\ezcache.php work? (look in the file for the different options)
Claudia
Wednesday 08 November 2006 9:45:38 am
Thanks for the reply,
Using ez 3.8.0
No errors appear when doing it through the admin.
Wednesday 08 November 2006 1:16:06 pm
Hmm not sure what could cause the problem.
Does ez at least try to cache the cache (meaning reloading the page after clicking on clearcache does take a while)? Does the cache clearing work if you do it directly on the setup tab of the admin view?Does the cache clearing script work? Maybe also play a bit with the finegrained cache control, maybe you can pin the problem down to something specific.
Good luck with troubleshooting...
Vincent Mellano
Wednesday 22 November 2006 1:03:31 am
Dear all,
I've got the same problem. When I update something in the admin interface I need to clear the cache manually (button in the admin interface) to see my changes. For example: if I change the sub-items sorting from "Published" to "Priority" I need to clear the content cache to see the priority fields where I can enter the priorities.Same for content change.
I confirm that my site caches all content. It takes a long time to access pages when I clear the cache.
My settings:
override/site.ini.append.php: [ContentSettings] CachedViewModes=full;sitemap;pdf ViewCaching=enabledPreViewCache=enabled
[TemplateSettings] NodeTreeCaching=enabled TemplateCache=enabled TemplateCompile=enabled TemplateCompression=enabledTemplateOptimization=enabled
extensions/mysite/settings/viewcache.ini.append.php [ViewCacheSettings]SmartCacheClear=enabled
OS: SolarisExponential 3.8.6
Many thanks for your help
Best regards from Luxembourg
Vincent
Thursday 14 December 2006 5:04:30 am
I forgot to say that the same settings work on Windows but not on solaris.
Xavier Dutoit
Thursday 14 December 2006 7:42:50 am
If this is about dev, I suggest you to use this extension to clear the cache only on the right page:
http://ez.no/community/forum/developer/template_developer_life_saver_easyadmin_updated
If this is about updating the front when you edit in the back, that's probably a setting to add on your content.ini.append.php for your admin
[VersionView] AvailableSiteDesignList[] AvailableSiteDesignList[]=frontoffice
See the content.ini, the syntax has changed, not sure if it's before or after the version you use.
X+
http://www.sydesy.com
Thursday 14 December 2006 8:05:43 am
I've also tryed this even if they say it's deprecated in the version I'm using (3.8.6).
My admin siteaccess site.ini.append.php seems to be correct.
It's seems that smart clear cache checks in:
RelatedSiteAccessList[] RelatedSiteAccessList[]=frontofficeRelatedSiteAccessList[]=admin
And I've in the same file
[ContentSettings]PreViewCache=enabled
<b>The thing is that I made an exact copy of my site on windows and it work fine there.</b>
My cache directory permissions are correct. (full rights to all).
As anyone tried to install this version of Exponential on Solaris and made the smart clear cache work?
Thanks a lot