Cache not updated

Author Message

Bernt Rosland

Wednesday 06 July 2011 4:02:11 am

I have a 2011.5 site up and running and I'm having some issues with the cache not getting updated when editing content. I have set up multiple siteaccesses as I always have. Unfortunately for some reason if I use the default siteaccess created at install everything is a ok but if I use one of mine there is no update.

I see the cache file being created in the right place and so on but it just does not get updated when I edit.

I've set the following:

settings/override/site.ini.append.php

[...]

[SiteSettings]
DefaultAccess=mysite1
SiteList[]=mysite1
SiteList[]=mysite2

[SiteAccessSettings]
CheckValidity=false
AvailableSiteAccessList[]=mysite1
AvailableSiteAccessList[]=mysite2
MatchOrder=uri;host
HostMatchType=map
HostMatchMapItems[]=www.mysite1.com;mysite1

[...]

settings/siteaccess/mysite1/site.ini.append.php

[...]

[SiteAccessSettings]
PathPrefix=mysite1
RequireUserLogin=false
RelatedSiteAccessList[]=mysite1
RelatedSiteAccessList[]=site_admin
ShowHiddenNodes=false

[Session]
SessionNameHandler=custom

[...]

 

-bernt

Radek Kuchta

Wednesday 06 July 2011 9:08:55 am

Hi Bernt,

Where do you edit your content, in Admin siteaccess or in a publick siteacces? If you are using an Admin site, take a look at the site.ini settings - there is an array RelatedSiteAccessList.

http://ez.no/certification/verify/272582

Bernt Rosland

Thursday 07 July 2011 12:01:53 am

Thanks for the reply Radek, well it works now. It most likely had to do with the RelatedSiteAccessList but the strange part is that I had that set up right in the override/site.ini.append.php (just forgot to post that:-) file but now I moved it to the siteaccess/site_admin/site.ini.append.php file and it works. I was using the Admin site for edits.

I will have to test putting it back and see if I can replicate this because I though the override/site... file would be the final version and it should have worked?

-bernt

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