Page 1 of 1

Agent login php timezone issue

PostPosted: Sun Oct 04, 2015 3:56 pm
by fk335210
I have installed goautodial scratch installation properly installed everything is working fine. CENTOS 5.9 32BIT

I followed some steps
......goautodialce/wiki/64bit

everything is working fine except Agent login screen time.zone issue PLEASE HELP



Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /var/www / html / agent / agent . php on line 476
' for 'EDT/-4.0/DST' instead in / var / www /html/agent/functions.php on line 1416

Re: Agent login php timezone issue

PostPosted: Fri Oct 16, 2015 3:28 pm
by louis_sgc
Before anything else, you should consider using the official ViciBox distro. Using scratch builds will result in issues over time and eventual failure as the scratch build is not a good method on CentOS due to poor driver backporting practices which make it very inefficient in operation.

That being said, the issue you mention is usually related to an improperly set timezone in the php.ini file

Edit your php.ini and add the time zone correctly as such:

Code: Select all
[Date]
date.timezone = America/New_York


Make sure to replace America/New_York with what is set in your distro (CentOS)