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

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
twwitt
Forum Members
Forum Members
Posts: 149
Joined: Thu Aug 28, 2008 7:45 pm

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

Post 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]]} )
Last edited by twwitt on Fri Sep 14, 2012 8:42 pm, edited 1 time in total.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: 1.11.1 Need to clear cache to see certain changes

Post 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?
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
twwitt
Forum Members
Forum Members
Posts: 149
Joined: Thu Aug 28, 2008 7:45 pm

Re: 1.11.1 Need to clear cache to see certain changes

Post 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
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: 1.11.1 Need to clear cache to see certain changes

Post 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.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
twwitt
Forum Members
Forum Members
Posts: 149
Joined: Thu Aug 28, 2008 7:45 pm

Re: 1.11.1 Need to clear cache to see certain changes

Post 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.
inyerface
Forum Members
Forum Members
Posts: 191
Joined: Mon Nov 26, 2007 4:46 pm

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

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

Return to “[locked] Installation, Setup and Upgrade”