Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

Security timestamps show incorrect date/time...

Locked
kettnev
Posts: 9
Joined: Tue Feb 26, 2013 9:46 am
Location: Czech Republic - Prague
Contact:

Security timestamps show incorrect date/time...

Unread post by kettnev »

Hello,

we encountered a strange problem with having incorrect date and time set for security timestamps. The time is shifted +- 9,5 hours ahead. We thought that the problem is with timezones set for Australia, so we changed the timezones setting in php.ini file and even the common.php file to Europe/Prague. However it did not affected the time logs shown via phpmyadmin. The system time for the server is also set correctly. We do not know now what else may be the problem.
Where does the timestamps take the time from - where else could it be set? I am also sending a screenshot...
You do not have the required permissions to view the files attached to this post.
zazzium
Posts: 84
Joined: Mon Jul 04, 2011 12:52 am

Re: Security timestamps show incorrect date/time...

Unread post by zazzium »

Hi kettnev,

check your timezone in common.php (between line 140 and 170 function setClientTimeZone())
and in table "zzsys_setup" field "set_timezone"

i guess u have to set the value to Europe/Parague

zazzium
kettnev
Posts: 9
Joined: Tue Feb 26, 2013 9:46 am
Location: Czech Republic - Prague
Contact:

Re: Security timestamps show incorrect date/time...

Unread post by kettnev »

Many thanks zazzium, it helped. The timezone in common.php was set correctly, but not in the zzsys_setup. Now the time is ok, prefect.
Vít
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Security timestamps show incorrect date/time...

Unread post by admin »

.
Locked