[SOLVED][Cacti 0.8.8f]Graph -> tree mode : blank

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

Moderators: Developers, Moderators

Post Reply
francois910
Posts: 2
Joined: Wed Sep 14, 2016 9:26 am

[SOLVED][Cacti 0.8.8f]Graph -> tree mode : blank

Post by francois910 »

Hi

i install cacti today and the plugin php-weathermap-0.98 I add one host with graph.

But i "lost" my page Graph -> tree mode. No menu on left, all is blank. List and preview work.

I haven't apache error. Cacti is install on ubuntu server (up to date).

Have you any idea ?

------------------------------

Problem solve.
bergynator
Posts: 3
Joined: Thu May 21, 2015 9:58 am

Re: [Cacti 0.8.8f]Graph -> tree mode : blank

Post by bergynator »

I have the same issue, how did you solved it?

Thanks,
francois910
Posts: 2
Joined: Wed Sep 14, 2016 9:26 am

Re: [Cacti 0.8.8f]Graph -> tree mode : blank

Post by francois910 »

You go on settings and you change the number of collum.
You save.
You return at original value.
You save.
Well Done. :)
georgeb
Posts: 6
Joined: Tue Oct 14, 2008 4:06 pm
Location: San Jose, CA

Re: [Cacti 0.8.8f]Graph -> tree mode : blank

Post by georgeb »

In my case that did not work. If I go to "settings" in graph mode and select "single pane", it works. But if I go back to "dual pane" which was the default, the graph tree view page is completely blank.
georgeb
Posts: 6
Joined: Tue Oct 14, 2008 4:06 pm
Location: San Jose, CA

Re: [Cacti 0.8.8f]Graph -> tree mode : blank

Post by georgeb »

Also note the browser reports the following errors:

jstree.js:11 Uncaught ReferenceError: jQuery is not defined(anonymous function) @ jstree.js:11(anonymous function) @ jstree.js:13
jquery.zoom.js:968 Uncaught ReferenceError: jQuery is not defined(anonymous function) @ jquery.zoom.js:968
graph_view.php:75 Uncaught ReferenceError: $ is not defined(anonymous function) @ graph_view.php:75

The first two are reported in single or dual pane. The third only in dual pane. The code causing that error seems to be:
$(function () {
$('#navigation').css('height', ($(window).height()-80)+'px');
$(window).resize(function() {
$('#navigation').css('height', ($(window).height()-80)+'px');
});

$("#jstree")

It is complaining about the "$" in front of (function). I have attached a screen shot of the debugger.
Attachments
Tree-View.png
Tree-View.png (90.95 KiB) Viewed 5094 times
georgeb
Posts: 6
Joined: Tue Oct 14, 2008 4:06 pm
Location: San Jose, CA

Re: [Cacti 0.8.8f]Graph -> tree mode : blank

Post by georgeb »

ok, I found the problem. I am running an Ubuntu system and the javascript-common package got hosed somehow. Even doing an apt-get remove and install did not fix the problem. Had to do:

dpkg --purge javascript-common
apt-get install javascript-common

and it works fine now. This might have happened during a distribution upgrade from 14.04 LTS to 16.04LTS
User avatar
Gluntzmaster
Posts: 17
Joined: Wed Oct 13, 2010 4:53 am

Re: [Cacti 0.8.8f]Graph -> tree mode : blank

Post by Gluntzmaster »

georgeb wrote:ok, I found the problem. I am running an Ubuntu system and the javascript-common package got hosed somehow. Even doing an apt-get remove and install did not fix the problem. Had to do:

dpkg --purge javascript-common
apt-get install javascript-common

and it works fine now. This might have happened during a distribution upgrade from 14.04 LTS to 16.04LTS
Spot on.
This also will happen on a fresh Mint "Sarah" install.

Thanks for troubleshooting this George !

Leo
You'll have to pay me to use Windows
kharntiitar
Posts: 1
Joined: Mon Jan 09, 2017 4:45 am

Re: [Cacti 0.8.8f]Graph -> tree mode : blank

Post by kharntiitar »

georgeb wrote:ok, I found the problem. I am running an Ubuntu system and the javascript-common package got hosed somehow. Even doing an apt-get remove and install did not fix the problem. Had to do:

dpkg --purge javascript-common
apt-get install javascript-common

and it works fine now. This might have happened during a distribution upgrade from 14.04 LTS to 16.04LTS

Just signed up to this forum to say thanks, this worked perfectly for me .. Only difference is that I am on a fresh install of 16.04...

I guess I can pick up all this hair off the floor, and try to glue it back on .. :P
indraf
Posts: 1
Joined: Wed Apr 25, 2018 4:12 am

Re: [Cacti 0.8.8f]Graph -> tree mode : blank

Post by indraf »

georgeb wrote:ok, I found the problem. I am running an Ubuntu system and the javascript-common package got hosed somehow. Even doing an apt-get remove and install did not fix the problem. Had to do:

dpkg --purge javascript-common
apt-get install javascript-common

and it works fine now. This might have happened during a distribution upgrade from 14.04 LTS to 16.04LTS
thanks, fix my problem (upgrade from 14.04 LTS to 16.04LTS)
Mednes
Posts: 9
Joined: Thu Oct 01, 2020 3:32 am

Re: [SOLVED][Cacti 0.8.8f]Graph -> tree mode : blank

Post by Mednes »

hi i have a little problem with cacti 0.8.8f. tree mode is not displayed. is there a solution?
thank you.
Attachments
Capture.PNG
Capture.PNG (66.07 KiB) Viewed 1829 times
Mednes
Posts: 9
Joined: Thu Oct 01, 2020 3:32 am

Re: [SOLVED][Cacti 0.8.8f]Graph -> tree mode : blank

Post by Mednes »

Hi
I still have this problem can someone help me please ! :roll:
User avatar
Osiris
Cacti Guru User
Posts: 1424
Joined: Mon Jan 05, 2015 10:10 am

Re: [SOLVED][Cacti 0.8.8f]Graph -> tree mode : blank

Post by Osiris »

We are no longer supporting that version of cacti. I would suggest you upgrade, though I see weather map there too which will complicate the upgrade.
Before history, there was a paradise, now dust.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests