mostafamemariani / mysql-cacti-templates

Automatically exported from code.google.com/p/mysql-cacti-templates
GNU General Public License v2.0
0 stars 0 forks source link

PHP warnings #174

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When I run the PHP script manually, I get

Strict Standards: date(): It is not safe to rely on the system's timezone 
settings. Please use the date.timezone setting, the TZ environment variable 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 'EST/-5.0/no DST' instead in 
/var/www/localhost/htdocs/cacti/scripts/ss_get_by_ssh.php on line 710

I'm not sure if this is a PHP misconfiguration or if the script needs to be 
updated to newer PHP coding standards.

Original issue reported on code.google.com by baron.schwartz on 25 Jan 2011 at 7:30

GoogleCodeExporter commented 8 years ago
please see the issue 180. add date_default_timezone_set("xxx/xxx"); in 
ss_get_by_ssh.php

the problem will be done.

Original comment by tongton...@gmail.com on 10 Feb 2011 at 10:51

GoogleCodeExporter commented 8 years ago
Issue 180 has been merged into this issue.

Original comment by baron.schwartz on 10 Feb 2011 at 11:18

GoogleCodeExporter commented 8 years ago
Marking for migration / fixing in a new project.

Original comment by baron.schwartz on 4 Jan 2012 at 6:21

GoogleCodeExporter commented 8 years ago
Fixed in new project.

Original comment by baron.schwartz on 25 Jan 2012 at 1:59