Hello Team,
We upgraded Cacti from 1.2.9 to 1.2.24 but we have an issue when we are creating a new graph, this is the logs from Deveops console.
Do you have any idea to fix this?
Best
Cacti 1.2.24 Issue unable to create Graph
Moderators: Developers, Moderators
Cacti 1.2.24 Issue unable to create Graph
- Attachments
-
- cacti error.PNG (102.63 KiB) Viewed 544 times
Re: Cacti 1.2.24 Issue unable to create Graph
I attached the cacti clogs
CMDPHP PHP ERROR WARNING Backtrace: (/graphs_new.php[42]:form_save(), /graphs_new.php[164]:html_graph_new_graphs(), /lib/html_graph.php[465]:host_new_graphs_save(), /graphs_new.php[269]:CactiErrorHandler())
CMDPHP PHP ERROR WARNING Backtrace: (/graphs_new.php[42]:form_save(), /graphs_new.php[164]:html_graph_new_graphs(), /lib/html_graph.php[465]:host_new_graphs_save(), /graphs_new.php[269]:CactiErrorHandler())
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Cacti 1.2.24 Issue unable to create Graph
What version of PHP? If it's 5.x, upgrade it to 7.x. Upgrading is easy on Linux, just use the REMI repos.
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Re: Cacti 1.2.24 Issue unable to create Graph
Hello,
Yes, probably the version of php (5.4) that we have installed on our Centos 7 server has some incompatibility with the latest versions of cacti.
But at the time of updating we had to solve with the following solution
We copy the last version(1.2.9) file graphs_new.php to the production path and that resolve the issue of graphs creation.
After that we identify another error related to place graphs on a trees, so we modify the following
/var/www/html/cacti/lib/funtcions.php
From: $items = unserialize($unstripped, array('allowed_classes' => false));
To: $item = unserialize($unstripped);
Best,
Yes, probably the version of php (5.4) that we have installed on our Centos 7 server has some incompatibility with the latest versions of cacti.
But at the time of updating we had to solve with the following solution
We copy the last version(1.2.9) file graphs_new.php to the production path and that resolve the issue of graphs creation.
After that we identify another error related to place graphs on a trees, so we modify the following
/var/www/html/cacti/lib/funtcions.php
From: $items = unserialize($unstripped, array('allowed_classes' => false));
To: $item = unserialize($unstripped);
Best,
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Cacti 1.2.24 Issue unable to create Graph
I would migrate to the Remi distro's and get yourself upgraded to either PHP 7.4 or 8.2. Cacti 1.2.24+ supports both versions quite well, and they use less memory.
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Who is online
Users browsing this forum: No registered users and 1 guest