Graphs screen stays blank after >0.8.7e/PA2.5 upgrade
In the last weeks, i have been busy with doing some upgrades of CactiEZ 0.8.7c with PA2.2 to 0.8.7e with PA2.5. As always, at first sight everything seems to be OK when the upgrade has finished. But when you have a full blown Cacti server (with a lot of plugins and tweaks running), it can be different..
In some cases, the GRAPHS screen did stay blank when i clicked on the GRAPHS tab after the upgrade. The only thing i could do to see the graphs, was to click the TREE tab, resulting in showing up the graph tree on the left of the screen. Then i have to click on the appropriate graph in the tree to see it.
In a few words, i did the following to fix this problem (it’s not the most neat one:/)
1. Backup your Cacti files!
2. Download the official Cacti 0.8.7e files
3. Overwrite the files in the ‘/var/www/html’ directory on your server with the official Cacti 0.8.7e files
4. Now overwrite the files in the ‘/var/www/html’ directory again with the 0.8.7e/PA2.5 files
Now some files have to be edited for Cacti to function correctly;
5. Edit /var/www/html/include/config.php
Go to rule number 30 and edit the following line;
$database_password = "change_this_to_your_dbpassword";
6. Edit /var/www/html/include/global.php
Add the plugins you have installed with the $plugins statements. You can get those from your backup files.
Now Cacti should operate normal again. When you click the GRAPHS tab, the main graph screen will show up again!