Project

General

Profile

goautodial ce 3.0 vps instal error on function.date please help

Added by Jurdan Escobedo over 10 years ago

Hi,

I followed exactly the tutorial on How To Install GOautodial From Scratch Using 64bit and 32bit CentOS 5.9

everything seems to work ok for the installation, except this error:

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

I need help fixing this.

I have this install on a vps at digitalocean.com centos 5.9 (updated) 64bit


Replies (3)

RE: goautodial ce 3.0 vps instal error on function.date please help - Added by Jurdan Escobedo over 10 years ago

also let me add this error message on the dashboard

Notice: Undefined variable: show_chostname in /var/www/html/application/views/phpsysinfo/includes/xml/vitals.php on line 39

Warning: gethostbyaddr() [function.gethostbyaddr]: Address is not a valid IPv4 or IPv6 address in /var/www/html/application/views/phpsysinfo/includes/os/class.Linux.inc.php on line 107

Notice: Undefined variable: show_ip_addr in /var/www/html/application/views/phpsysinfo/includes/xml/vitals.php on line 40

Deprecated: Function split() is deprecated in /var/www/html/application/views/phpsysinfo/includes/os/class.Linux.inc.php on line 137

goautodial_error_dashboard.JPG (42.4 KB) goautodial_error_dashboard.JPG goautodial error dashboard

RE: goautodial ce 3.0 vps instal error on function.date please help - Added by Jurdan Escobedo over 10 years ago

after searching google for this problem for this error:
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

what i did was i edited the php.ini section "[date]"
and uncommented added this code:
date.timezone = Asia/Manila

as stated here: http://stackoverflow.com/questions/16765158/date-it-is-not-safe-to-rely-on-the-systems-timezone-settings-in-codeigniter

also in the agent/functions.php, added date_default_timezone_set('Asia/Manila'); as stated in one comment on that same link from stackoverflow...

now troubleshooting other error in the admin dashboard:

/var/www/html/application/views/phpsysinfo/includes/xml/vitals.php on line 39

Warning: gethostbyaddr() [function.gethostbyaddr]: Address is not a valid IPv4 or IPv6 address in /var/www/html/application/views/phpsysinfo/includes/os/class.Linux.inc.php on line 107

Notice: Undefined variable: show_ip_addr in /var/www/html/application/views/phpsysinfo/includes/xml/vitals.php on line 40

Deprecated: Function split() is deprecated in /var/www/html/application/views/phpsysinfo/includes/os/class.Linux.inc.php on line

RE: goautodial ce 3.0 vps instal error on function.date please help - Added by drop box almost 9 years ago

Jurdan Escobedo wrote:

after searching google for this problem for this error:
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

what i did was i edited the php.ini section "[date]"
and uncommented added this code:
date.timezone = Asia/Manila

as stated here: http://stackoverflow.com/questions/16765158/date-it-is-not-safe-to-rely-on-the-systems-timezone-settings-in-codeigniter

also in the agent/functions.php, added date_default_timezone_set('Asia/Manila'); as stated in one comment on that same link from stackoverflow...

now troubleshooting other error in the admin dashboard:

/var/www/html/application/views/phpsysinfo/includes/xml/vitals.php on line 39

Warning: gethostbyaddr() [function.gethostbyaddr]: Address is not a valid IPv4 or IPv6 address in /var/www/html/application/views/phpsysinfo/includes/os/class.Linux.inc.php on line 107

Notice: Undefined variable: show_ip_addr in /var/www/html/application/views/phpsysinfo/includes/xml/vitals.php on line 40

Deprecated: Function split() is deprecated in /var/www/html/application/views/phpsysinfo/includes/os/class.Linux.inc.php on line

    (1-3/3)
    Go to top