Error after upgrading cacti

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
Rugby
Posts: 1
Joined: Wed Mar 15, 2017 1:36 pm

Error after upgrading cacti

Post by Rugby »

Hello,

I'm try to upgrade from 0.8.8h to 1.0.4 and I'm have this error on /var/log/httpd/error_log:

PHP Warning: 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 /usr/share/cacti/lib/functions.php on line 636, referer:

PHP Warning: 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 /usr/share/cacti/lib/functions.php on line 636, referer:

PHP Warning: file_get_contents(/usr/share/cacti/mibs/CACTI-BOOST-MIB): failed to open stream: No such file or directory in /usr/share/cacti/lib/mib_parser.php on line 66, referer:

PHP Fatal error: Call to a member function row() on a non-object in /usr/share/cacti/lib/snmpagent.php on line 536, referer:

PHP Warning: 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 /usr/share/cacti/lib/functions.php on line 636, referer:

PHP Warning: 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 /usr/share/cacti/lib/functions.php on line 636, referer:

PHP Warning: 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 /usr/share/cacti/lib/functions.php on line 636, referer:

PHP Warning: 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 /usr/share/cacti/lib/functions.php on line 636, referer:

PHP Warning: 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 /usr/share/cacti/lib/functions.php on line 636, referer:

PHP Warning: 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 /usr/share/cacti/lib/functions.php on line 636, referer:


Did anyone have idea what it is?

Thank you.
cigamit
Developer
Posts: 3368
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Error after upgrading cacti

Post by cigamit »

Not a Cacti issue for timezone stuff. You need to properly set the timezone in your php.ini.

As for
PHP Warning: file_get_contents(/usr/share/cacti/mibs/CACTI-BOOST-MIB): failed to open stream: No such file or directory in /usr/share/cacti/lib/mib_parser.php on line 66, referer:

PHP Fatal error: Call to a member function row() on a non-object in /usr/share/cacti/lib/snmpagent.php on line 536, referer:
That looks like a permissions issue most likely.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests