Welcome to the nuBuilder forums!

Please register and login to view forums and other content only available 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...
Attachments
Screenshot-incorrect timestamps?
Screenshot-incorrect timestamps?
201303_screenshot_nubuilder.PNG (121.25 KiB) Viewed 2419 times
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: 2781
Joined: Mon Jun 15, 2009 2:23 am
nuBuilder Version: 4.5
Been thanked: 1 time

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

Unread post by admin »

.
Locked