Tree View Not working

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
skuzbucket
Posts: 16
Joined: Thu Jul 14, 2005 8:55 am

Tree View Not working

Post by skuzbucket »

/cacti/graph_view.php

Tree View does not work. Preview and List both do work.

If I delete the entire Tree, It works again. Im kinda lost right now and am wondering if anyone has seen this behavior.

Windows 2003 SP1 (IIS6)
Cacti 0.8.6f
MYSQL 4.1

Ill post logfiles of what I am seeing soon.

Thanks All

Ted
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Do any of you graphs titles contain double or single quotes? If so, remove them, otherwise, I don't know what happened. :(
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
skuzbucket
Posts: 16
Joined: Thu Jul 14, 2005 8:55 am

log file

Post by skuzbucket »

basically it just keeps going 302, 302, 302, 302...

2005-07-14 13:59:20 W3SVC122795103 SERVERNAME SERVERIP GET /cacti/graph_view.php action=tree&tree_id=4&leaf_id=1261&select_first=true 80 - CLIENTIP HTTP/1.1 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) PHPSESSID=fec3c0a878c5487469b256c81122dea6 http://SERVERURL/cacti/graph_view.php SERVERURL 302 0 0 705 586 390
2005-07-14 13:59:20 W3SVC122795103 SERVERNAME SERVERIP GET /cacti/graph_view.php action=tree&tree_id=4&leaf_id=1261&select_first=true 80 - CLIENTIP HTTP/1.1 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) PHPSESSID=fec3c0a878c5487469b256c81122dea6 http://SERVERURL/cacti/graph_view.php SERVERURL 302 0 0 705 425 390
2005-07-14 13:59:20 W3SVC122795103 SERVERNAME SERVERIP GET /cacti/graph_view.php action=tree&tree_id=4&leaf_id=1261&select_first=true 80 - CLIENTIP HTTP/1.1 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) PHPSESSID=fec3c0a878c5487469b256c81122dea6 http://SERVERURL/cacti/graph_view.php SERVERURL 302 0 0 705 586 375
2005-07-14 13:59:20 W3SVC122795103 SERVERNAME SERVERIP GET /cacti/graph_view.php action=tree&tree_id=4&leaf_id=1261&select_first=true 80 - CLIENTIP HTTP/1.1 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) PHPSESSID=fec3c0a878c5487469b256c81122dea6 http://SERVERURL/cacti/graph_view.php SERVERURL 302 0 0 705 425 375
2005-07-14 13:59:20 W3SVC122795103 SERVERNAME SERVERIP GET /cacti/graph_view.php action=tree&tree_id=4&leaf_id=1261&select_first=true 80 - CLIENTIP HTTP/1.1 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322) PHPSESSID=fec3c0a878c5487469b256c81122dea6 http://SERVERURL/cacti/graph_view.php SERVERURL 302 0 0 705 586 390
skuzbucket
Posts: 16
Joined: Thu Jul 14, 2005 8:55 am

more info

Post by skuzbucket »

more info:

the tree itself works just fine, but if I add an graphs to the tree - BOOM. No more working in a new session. Seems like PHP is being odd, but I can now replicate it each time. If I remove the hosts/graphs from the tree - it works...

Any ideas all?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

When you get into tree view. Click on the link called "Graphs" right above the tree and see if it clears up.

TheWitness
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?
skuzbucket
Posts: 16
Joined: Thu Jul 14, 2005 8:55 am

Post by skuzbucket »

nope
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

What PHP version?

When the page doesn't work, do you get an error message or what?

Have you followed any [other] guides on how to set up PHP on IIS besides the one here?
jpozdzal
Posts: 1
Joined: Sat Jul 23, 2005 5:48 pm

Post by jpozdzal »

Sounds something like I had, but in my case when the Server was rebooted and it was a fresh start, I was able to access the graph's using the tree, and once I logged out, I was unable to access the tree again, until I rebooted the server and then it worked ok till I logged out and so on... Also I was getting all kinds of weird MySQL errors that the communication was messed up. Anyway, what the problem was is the way I set PHP in IIS... I used the php-cgi.exe to execute php extensions instead of the php5isapi.dll. Once I switched that to the php5isapi.dll, my problems went away and it was actually much faster then the php-cgi.exe. So you might want to give that a try... Hope it helps... :D
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests