Clear Cache Doesn't Work in Admin

Author Message

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

GG 66

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.

Claudia Kosny

Wednesday 08 November 2006 1:16:06 pm

Hi GG

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...

Claudia

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=enabled
PreViewCache=enabled

[TemplateSettings]
NodeTreeCaching=enabled
TemplateCache=enabled
TemplateCompile=enabled
TemplateCompression=enabled
TemplateOptimization=enabled

extensions/mysite/settings/viewcache.ini.append.php
[ViewCacheSettings]
SmartCacheClear=enabled

OS: Solaris
Ezpublish 3.8.6

Many thanks for your help

Best regards from Luxembourg

Vincent

Vincent Mellano

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

Vincent Mellano

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[]=frontoffice
RelatedSiteAccessList[]=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 Ezpublish on Solaris and made the smart clear cache work?

Thanks a lot

Vincent

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.