Page 1 of 1

ViciBox Time 12 hours behind

PostPosted: Wed May 02, 2012 7:22 am
by zando101
Hi,

On my newly install ViciBox the time on the top right of screen
in the web admin is 12 hours behind.

All my config settings look correct so I'm a but stuck.

linux-gsal:~ # date
Wed May 2 20:14:01 PHT 2012

I'm here in the Philippines and the time on the machine is correct.
It's 8:10pm on May 2nd.

From this web page in Vicidial admin:
vicidial/admin.php

Top right of the admin window reads:

Wednesday May 2, 2012 8:01:26 AM

The system admin page has =>

Default Local GMT: 8
Default Voicemail Zone: Philippines

The kernel on this openSuse box is:

linux-gsal:~ # uname -r
2.6.34.10-0.6-default

Looking for the keyword "zone" in the config directory
I can't see anything:

linux-gsal:/etc/asterisk # grep -rn zone *
BUILDvoicemail-vicidial.conf:17:[zonemessages]
chan_dahdi.conf:505:; Few zones are supported at the time of this writing, but may be selected
chan_dahdi.conf:506:; with "progzone"
chan_dahdi.conf:512:;progzone=us
rpt.conf:23:;tonezone = us ; use US tones (default)
rpt.conf:64:;tonezone = us ; use US tones (default)
voicemail.conf:17:[zonemessages]

I must be overlooking something?

Any advise much appreciated.

Thanks!

Re: ViciBox Time 12 hours behind

PostPosted: Wed May 02, 2012 7:35 am
by zando101
Also the version I'm on is:

VERSION: 2.4-361a
BUILD: 120221-1647
© 2012 ViciDial Group

Re: ViciBox Time 12 hours behind

PostPosted: Wed May 02, 2012 7:38 am
by DomeDan
Check the file /etc/php5/apache2/php.ini
look for date.timezone = America/New_York
and change that one, restart apache

if that didn't work, tell us the installation method, what iso were used

Re: ViciBox Time 12 hours behind

PostPosted: Thu May 03, 2012 2:26 am
by zando101
Thank you .. that fixed it.


[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
;date.timezone = America/New_York
date.timezone = Asia/Manila