Willkommen Gast. Bitte Einloggen oder Registrieren
 
Sprache wählen:
 
 
Statistik Version 20 online.

  ÜbersichtHilfeSuchenEinloggenRegistrieren  
 
Seitenindex umschalten Seiten: 1
Thema versenden Drucken
time of day problem (Gelesen: 18563 mal)
azjerry
Ex-Mitglied


time of day problem
02.08.08 um 02:14:28
 
It's 17:10 and I see by counter.php that today's count has already been moved to yesterday. How is that possible? It looks real strange compared to the other counter right above it.

In the admin panel the time that's displayed appears to be UTC so I set my time as -7 which is my offset from UTC. Is there something else I need to do?

http://www/azjerry.com/weather
Zum Seitenanfang
 
 
IP gespeichert
 
Husky
Global Moderator
*****
Offline



Beiträge: 1133
Geschlecht: male
Re: time of day problem
Antwort #1 - 02.08.08 um 05:46:20
 
Hi azjerry,

17:10 -7=Yesterday? That makes no sense! Try to clear the Cache for the Counter.

Husky
Zum Seitenanfang
 
 
IP gespeichert
 
azjerry
Ex-Mitglied


Re: time of day problem
Antwort #2 - 02.08.08 um 06:41:57
 
No, the server time was 2:10 -7 hours makes my time 17:10.

Right now the server time is 4:39, my time is 21:39 so I subtract 7 from 4:39 to get 21:39, right?

The USA Weather Finder counter says 16 hits today but WebStat says 0 today and 20 yesterday.
Zum Seitenanfang
 
 
IP gespeichert
 
Husky
Global Moderator
*****
Offline



Beiträge: 1133
Geschlecht: male
Re: time of day problem
Antwort #3 - 02.08.08 um 08:36:57
 
Your Server is located in the US - right? Why is it 7(!) hour different to your lokal time?

Please sent me the PW for the stat via PM, ok?

Husky
Zum Seitenanfang
 
 
IP gespeichert
 
Husky
Global Moderator
*****
Offline



Beiträge: 1133
Geschlecht: male
Re: time of day problem
Antwort #4 - 03.08.08 um 08:27:17
 
Thanks for PM with PW - unfortunately the PW doesn't works  Griesgrämig

Try it again, ok?

Husky
Zum Seitenanfang
 
 
IP gespeichert
 
azjerry
Ex-Mitglied


Re: time of day problem
Antwort #5 - 03.08.08 um 22:51:03
 
Try the PW again. It should work now.
Zum Seitenanfang
 
 
IP gespeichert
 
Husky
Global Moderator
*****
Offline



Beiträge: 1133
Geschlecht: male
Re: time of day problem
Antwort #6 - 04.08.08 um 08:31:49
 
Yes - it works.


Your problem is easy ............... you are living in a Time - Chaos!!! Durchgedreht

Your Server is in an other State than you - Time difference has to be 2hour. But Servertime is -6 to -7h! Griesgrämig
Your other Counter is in a State with a time difference to your State with +1h hä?

In your example with the Jump at 17:10
Your server means at 17:00 ...... it's a new Day. That means for the Stat: What I have count today is now yesterday.
And your other Counter will wait until 23:00 to say: Now it's a new day - and switch to yesterday ......

You have just Augenrollen to synchronizes all the countys and the times and it will work proper!

Good luck! Zwinkernd

Husky
Zum Seitenanfang
 
 
IP gespeichert
 
azjerry
Ex-Mitglied


Re: time of day problem
Antwort #7 - 05.08.08 um 03:11:32
 
I know the other counter is off by an hour. There's nothing I can do about that. But I'm still confused how to make stat either follow my time or the time of the other counter (so at least they agree). Since my server appears to use UTC I subtracted 7 hours which I thought should correct the time. Is that not right?
Zum Seitenanfang
 
 
IP gespeichert
 
Husky
Global Moderator
*****
Offline



Beiträge: 1133
Geschlecht: male
Re: time of day problem
Antwort #8 - 05.08.08 um 07:58:09
 
It seems like UTC ....  hä?

Your thought with -7h is correct - but it doesn't work.

I guess the Server shows UTC - but runs for all programs GMT (of course!!!)

That means for your Stat: adjust to +0 (your time) or -1 for the other Counter time.

Just try it for a couple of days, ok?

Husky
Zum Seitenanfang
 
 
IP gespeichert
 
azjerry
Ex-Mitglied


Re: time of day problem
Antwort #9 - 14.08.08 um 07:26:19
 
It doesn't seem to make any difference what I set the offset to: 0, -1 or -7. It always seems to roll over around 5PM my time.
Zum Seitenanfang
 
 
IP gespeichert
 
Husky
Global Moderator
*****
Offline



Beiträge: 1133
Geschlecht: male
Re: time of day problem
Antwort #10 - 14.08.08 um 10:27:57
 
Maybe is this what you are waiting for Zwinkernd

http://www.php-web-statistik.de/cgi-bin/yabb/YaBB.pl?num=1196367170

Husky
Zum Seitenanfang
 
 
IP gespeichert
 
azjerry
Ex-Mitglied


Re: time of day problem
Antwort #11 - 15.08.08 um 05:47:18
 
Thanks. Just downloaded and updated my site. Hopefully it fixes my problem.
Zum Seitenanfang
 
 
IP gespeichert
 
azjerry
Ex-Mitglied


Re: time of day problem
Antwort #12 - 18.08.08 um 02:50:33
 
Well, I can now say that the new version didn't help. No matter what I have the offset for the counter resets a 5PM my time.  Griesgrämig
Zum Seitenanfang
 
 
IP gespeichert
 
Husky
Global Moderator
*****
Offline



Beiträge: 1133
Geschlecht: male
Re: time of day problem
Antwort #13 - 21.08.08 um 09:34:39
 
Hi azjerry,

something is wrong and we (or better the Developer in Germany Zwinkernd) are trying to find out what is going on.

I'm back to you ASAP ...  Zwinkernd

Husky
Zum Seitenanfang
 
 
IP gespeichert
 
azjerry
Ex-Mitglied


Re: time of day problem
Antwort #14 - 22.08.08 um 06:12:41
 
Thanks for letting me know. Zwinkernd
Zum Seitenanfang
 
 
IP gespeichert
 
Husky
Global Moderator
*****
Offline



Beiträge: 1133
Geschlecht: male
Re: time of day problem
Antwort #15 - 28.08.08 um 08:52:20
 
Hi,
please try this Idea from Holger and replace two lines in the counter.php

1. On line 314 you will find:

$visitor_day [ date ( "y/m/d" , time ( ) ) ] ,

replace it with

$visitor_day [ date ( "y/m/d" ) ] ,


2. and you will find on line 318:

$visitor_month [ date ( "m/Y" , time ( ) ) ] ,

replace it with

$visitor_month [ date ( "m/Y" ) ] ,

Let the modified counter.php run on for the stat for a
couple of days and give me feedback how it's working, ok?

Good luck Zwinkernd

Husky
Zum Seitenanfang
 
 
IP gespeichert
 
azjerry
Ex-Mitglied


Re: time of day problem
Antwort #16 - 29.08.08 um 05:10:18
 
OK, I made the changes and will let you know in a couple of days. Thanks
Zum Seitenanfang
 
 
IP gespeichert
 
azjerry
Ex-Mitglied


Re: time of day problem
Antwort #17 - 03.09.08 um 06:01:10
 
It's definite. Making the changes to counter.php has not helped.
Zum Seitenanfang
 
 
IP gespeichert
 
Seitenindex umschalten Seiten: 1
Thema versenden Drucken