The clock freezes to the time an authorized user loged out, for all not logged users.
In this way not logged users (visitors) see a freezed clock at a wrong time.
Drupal 6.8 with Weather module (I just mention it in case it has something to do with this module)

Comments

agrigor1’s picture

But previous version was working okey. The same problem has 6.x.2 dev.

flevour’s picture

Hi Agrigor,
I can't reproduce this bug.
Can you try and disable the Weather module and check if Worldclock works?
Is the buggy site available online somewhere so I can check it?
Is the clock displaying the time down to the seconds precision?
Cheers,
Francesco

agrigor1’s picture

The site is a production site now and I cannot do it.
(The only thing I could do would be to take the site 'off line', reproduce the problem, put it 'on line' for you to see and revert back to previous version. This requires synchronization between you and me)

I have put the previous version now. I suspected the Weather module because of its instructions concerning running cron so that anauthorized users be able to see updated weather (something which is not necessary for authenticated users.)
By the way, resaving the date/time settings of site doesnt solve the problem. In case this is helpfull users dont have their own timezone enabled. So there is only sitewide Drupal Europe/Athens timezone. Also keep note that the problem was seen in both Firefox and IE7
I have cache in normal and enabled the css and javascript optimization.

agrigor1’s picture

I forgot to answer to your question that in the 1.5 version the seconds freeze for anauthorized visitors when there is no authorized user connected. Version 1.4 works fine as I already told you.
I wish I was not new in Drupal. I would be able to help more.

flevour’s picture

Can you link to the live site? Is it something I can interact with? In the meantime I'll try to analyze what changed after 1.4.
Cheers,
Francesco

flevour’s picture

Could you try to replace the current worldclock/worldclock.js file with the version you can find at this address:
http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/worldclock/...
Then make sure to clear all your caches (both browser and Drupal - you can use the button you find under Configuration >> Performance), refresh your site and check if the problem goes away?
Cheers,
Fran

agrigor1’s picture

Well, I think I found the root of the problem.
Block cache was enabled (marked as recommended by Drupal).
I installed version 1.5 and seems to work okey now.
Perhaps you should include an INSTALL.txt file stating the necessity of this setting (block cache must be disabled).
I also have a recommendation that I will put in a new post.

Dennis-1’s picture

I was having the same issue with the weather module location block. Sure enough, disabling Block Cache did the trick.

Thanks, I was going nuts trying to figure this out. Never even considered block cache as a potential issue.

Dennis