Forums / Install & configuration / Problem with "smartcache" after upgrading to 3.5.2

Problem with "smartcache" after upgrading to 3.5.2

Author Message

Jack Rackham

Tuesday 03 May 2005 8:45:31 am

After upgrading to 3.5.2 the cache is not cleared after publish an article.
I had the same problem in an older version of ez publish, but I fixed it by disabling the smartcache.

Sander van den Akker

Friday 06 May 2005 2:01:24 am

I have the same problem. The content cache is not cleared after publishing an object, while smartcacheclear is disabled.

eZ Publish certified developer
http://auth.ez.no/certification/verify/392313

Björn Dieding@xrow.de

Friday 06 May 2005 2:16:58 am

Have you set the array

AvailableDesignList in the content.ini?

It is working for me on 3.5.3

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Jack Rackham

Friday 06 May 2005 3:18:34 am

Do you mean in my site design or override folder.
Is there some special upgrading guide for 3.5.2 that I have overlooked?

my site design

<?php /* #?ini charset="iso-8859-1"?

[VersionView]
AvailableSiteDesignList[]
AvailableSiteDesignList[]=plain
AvailableSiteDesignList[]=admin
*/ ?>

override folder

<?php /* #?ini charset="iso-8859-1"?

[NodeSettings]
DesignRootNode=311
*/ ?>

Francisca Hernández

Friday 06 May 2005 5:39:19 am

I have the same problem after upgrading to 3.5.2.
I don't know how to fix, somebody fixed it?

thanks in advanced!

Iguana IT, SL - http://www.iguanait.com

Björn Dieding@xrow.de

Friday 06 May 2005 7:11:36 am

@Håvard,

You have not overlooked something. It has "always"(version 3.3?) been like that.

If your

SiteDesign=plain <- site.ini/override

then your settings are right!

In your case, the admin interface will delete/expire the following caches

var/cache/content/admin/*
var/cache/content/plain/*

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Jack Rackham

Saturday 07 May 2005 3:34:50 am

So what you mean is that only admin and the plain folder is cleared when I publish an article?
But the problem is that my site design is called something else, and I don?t have a site design called plain (I think).
However this was not an issue in all versions from 3.3 ? 3.5.2 (I have used them all).

Dmitry Lakhtyuk

Tuesday 10 May 2005 4:00:38 am

Are you sure that after adding your sitedesign to AvailableSiteDesignList caches still are not cleared?

Jack Rackham

Tuesday 10 May 2005 4:21:21 am

"Are you sure that after adding your sitedesign to AvailableSiteDesignList caches still are not cleared?" I have "downgraded" to v 3.5.1 so I am unable to check.

Are I suppose to add my design to the content.ini file in the override folder, or in my design folder | my design admin folder.

The cache is clear correctly in 3.5.1 without this setting, if it's required in 3.5.2 why did EZ not add a upgrade guide for it????

kracker (the)

Tuesday 10 May 2005 4:45:09 am

I very well could be making things worse by commenting here but I see the people in this thread talking in circles about the same things, unfortunately no one is writing enough text to communicate what they are both trying to say without leaving a lot open to interpretation.

<i>First things first, this is what I see when I read this thread ... </i>

1. The settings regarding this feature have (apparently) not changed since pre v3.3 days.

2. If your upgrading a site, you must manually check to ensure that new override settings existing in your pre-existing settings/override/(files) and settings/siteaccess/(folders/(files). You must do this manually, this is the user's (upgrading eZ publish) responsibility. ( I'm not certain if automated tools exist to help in this regard, suggestions? )

<b>Questions: </b>

<i> @Håvard, Tell us what version of eZ publish your started with in this specific instance. Is this an older copy of eZ publish that you have been upgrading for several months / years? What was the</i> <b>original</b> <i>version you used in this specific site?</i>

<i>@Håvard, Tell us what what the name of your siteaccess that is not working under smart cache?</i>

<i>@Håvard, Tell us what what the name of your (site) design that is not working under smart cache?</i>

3. No one ( Neither Håvard or the others ... tisk tisk ) has provided a combination of the correct settings & the full file name for which they should be located in.

Which is at the root of this thread's problem. You are talking about the right things but even experienced users need point blank answers with nothing left open for interpretation...it's frustrating to be sure at times but it is the way these things work.

<b>Required Settings</b>

I could be wrong here, I'm really just stepping in to put this together so feel free to correct me cause I don't have to know the answer to do better than what we got so far ...

File: settings/override/site.ini.append.php
Required Settings (Check/Add):

n/a?

File: settings/siteaccess/havard/site.ini.append.php
Required Settings (Check/Add):

[DesignSettings]
SiteDesign=havard
AdditionalSiteDesignList[]=havard
AdditionalSiteDesignList[]=base

So I guess at the right settings but if you all would just take a little more time, ask a few more targeted / direct questions which would provide the core information to give Håvard a cut and past solution, things would progress a little smother ....

Then on the flip side, I say smugly that Håvard could ease up a little and buy some support time if it's worth getting upset about, but then again I'm sure I've done more or less the same if not worse so who am i to reply like this ...

//kracker
can't we all just get along?
or does that cost too much?

Sole :Selling Live Water : Pawn in the Game Pt. 2

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

Jack Rackham

Tuesday 10 May 2005 5:16:02 am

- My original EZ system was 3.2 or 3.4 (I don't remember, at one point my host provider accidentally delete my account so I had to start building a new site).
- Site based on plain design
- I am not trying to get smartcache to work, a setting that came with 3.4.x enabled smartcache so that it did not clean anything (see
http://ez.no/community/forum/setup_design/template_caching_problems/re_template_caching_problems__5 )

Jack Rackham

Thursday 02 June 2005 6:31:20 am

I have now tried everything you suggested but no luck.

My new mydesign/content.ini.append.php

<?php /* #?ini charset="iso-8859-1"?

[VersionView]
AvailableSiteDesignList[]
AvailableSiteDesignList[]=magasinet
AvailableSiteDesignList[]=magasinet_admin
*/ ?>

Myadmindesign/ content.ini.append.php

<?php /* #?ini charset="iso-8859-1"?

[VersionView]
AvailableSiteDesignList[]
AvailableSiteDesignList[]=magasinet
AvailableSiteDesignList[]=magasinet_admin
*/ ?>

mydesign/site.ini.append.php

[DesignSettings]
SiteDesign=magasinet
AdditionalSiteDesignList[]=magasinet
AdditionalSiteDesignList[]=base

Myadmindesign/ site.ini.append.php

[DesignSettings]
SiteDesign=admin

I have now upgraded to 3.6