Page 1 of 1

[SOLVED] 1.11.1 Need to clear cache to see certain changes

Posted: Fri Sep 14, 2012 7:52 pm
by twwitt
Hi --
Sorry if this has been covered elsewhere, but couldn't find it.

I'm running 1.11.1, php 5.2.17, mysql 5, linux -- (at 1and1.com).

When I make a simple textual change to a page, or upload a photo and place it, I can see my change immediately. When I make changes to my stylesheets, it seems I have to clear cache to see the changes.

Any ideas as to the problem? Is this a permissions thing? A time zone thing?

(Don't know if it's related or not, but I first noticed this after implementing the strategy of creating a separate color stylesheet using [[assign var='myblue' value='#335d9f']] , etc. and then in my main stylesheet using {color: [[$myblue]]} )

Re: 1.11.1 Need to clear cache to see certain changes

Posted: Fri Sep 14, 2012 7:59 pm
by calguy1000
a: Is this a site that was upgraded from an old version?
b: Is your template using {stylesheet} or {cms_stylesheet}?
c: Is the timezone set correctly in the config.php to match the 'server'
d: Is the server's date correct?

Re: 1.11.1 Need to clear cache to see certain changes

Posted: Fri Sep 14, 2012 8:20 pm
by twwitt
a: Is this a site that was upgraded from an old version?
b: Is your template using {stylesheet} or {cms_stylesheet}?
c: Is the timezone set correctly in the config.php to match the 'server'
d: Is the server's date correct?
a: new, not upgraded
b: {cms_stylesheet}
c: timezone set as 'America/Chicago' -- but is 1and1.com server in Germany?
d: Don't know if this is what you're referring to, but this is what it says in System Info:
linux linux infong 2.4 #1 smp fri may 18 17:32:59 utc 2012 i686 gnu/linux on linux infong 2.4 #1 smp fri may 18 17:32:59 utc 2012 i686 gnu/linux

Re: 1.11.1 Need to clear cache to see certain changes

Posted: Fri Sep 14, 2012 8:27 pm
by calguy1000
The timezone setting has to match the server timezone.

if it does not, as in this case the America/Chicago timezone is earlier than Europe/Berlin by about 6 hours.... the system, when comparing dates of files generated and the modified time of the stylesheets in the database will get the math wrong.

Re: 1.11.1 Need to clear cache to see certain changes

Posted: Fri Sep 14, 2012 8:42 pm
by twwitt
Thanks. I've made that change.

I also found that I had checked Media type: all for my color stylesheet, which was causing changes to disappear and re-appear after clearing cache.

Re: [SOLVED] 1.11.1 Need to clear cache to see certain chang

Posted: Tue Dec 04, 2012 10:36 pm
by inyerface
Hello, I'm experiencing the same thing on many different sites and version. 1.9.2 and 1.10.3 specifically. My issue however is with simple text/page changes or template changes. Editing style sheets does not require us to clear the cache.

Timezones are synched too and just not sure where else to look.