Tree view in "Dual Pane" mode broken

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

Moderators: Developers, Moderators

Post Reply
afieffe
Posts: 7
Joined: Tue Aug 30, 2005 8:14 am
Location: Paris, France

Tree view in "Dual Pane" mode broken

Post by afieffe »

Hi all,

I am using cati 0.8.6f with MySQL 5.0.1-alpha, php 4.4.0 on AIX 5.1 ML6.

All views are working well except the tree view in 'dual pane' (the single pane mode works perfectly).
I can only see the first items in the tree. I cannot see my devices or any hosts.
I've tried with IE or Mozilla 6.0 and Firefox 1.0.6 and the tree remains empty.


Any idea ?

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

Post by rony »

Do you have any device descriptions or graph titles with single or double quotes? If so, remove the quotes. This problem is fixed in the next release of 0.8.6, which will be coming out within the week.
[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]
afieffe
Posts: 7
Joined: Tue Aug 30, 2005 8:14 am
Location: Paris, France

Post by afieffe »

I've checked all my titles and descriptions and didn't find any quote...
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Can you email me a URL? Or can you dump and email me your database?
[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]
afieffe
Posts: 7
Joined: Tue Aug 30, 2005 8:14 am
Location: Paris, France

Post by afieffe »

Just sent you my database dump
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

I will have time wednesday to load it up and see.
[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]
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

I'm looking at your graph tree right now, and I see no problems with it.

Do you have all patches applied?
[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]
User avatar
TheWitness
Developer
Posts: 17061
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Also,

Please make sure that your php max execution time is about 300.

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?
afieffe
Posts: 7
Joined: Tue Aug 30, 2005 8:14 am
Location: Paris, France

Post by afieffe »

The settings for php execution max time are now correct :
max_execution_time = 400

I have applied all patches i've found for 0.8.6f.

but the problem is the same...

I wait for the new version,I hope it will solve this issue.
User avatar
TheWitness
Developer
Posts: 17061
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Bring up in Internet Exploiter, if you see a warning message near the status bar (little yellow caution symbol), double click it and post the status messages. Should say something like "error in script" or something like that. It will point to a line number. You must then "View Source" and paste that source into a text editor with a line counter.

You will find a host/graph with invalid characters in it's name. I found this issue whan I had an interface with a damaged ifName. We are pushing a patch with 0.8.6g that if you reindex the problem host, the problem should go away.

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?
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

No javascript errors in IE or Netscape.

Can you post a screenshot of your broken graph tree?
[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]
afieffe
Posts: 7
Joined: Tue Aug 30, 2005 8:14 am
Location: Paris, France

Post by afieffe »

I didn't find any error in IE neither in Mozilla.

Screenshots of my problem with the dual pane mode :
Attachments
A sample of a working tree in 'single pane' mode.
A sample of a working tree in 'single pane' mode.
Working_tree_single_pane.jpg (160.42 KiB) Viewed 4064 times
The problem with the dual pane mode
The problem with the dual pane mode
Broken_tree_dual_pane.jpg (111.48 KiB) Viewed 4064 times
User avatar
TheWitness
Developer
Posts: 17061
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Uhm, from Internet Exploiter, goto Tools->Internet Settings->Advanced and make sure script debugging is "Enabled" for both IE and Other scripts and that script notification is on for ALL errors. These are not typical settings.

Then, restart IE (All of um) and reload the page.

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?
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Do me a favor.. Run a repair/check of you cacti mysql database.
[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]
afieffe
Posts: 7
Joined: Tue Aug 30, 2005 8:14 am
Location: Paris, France

Post by afieffe »

Hi,

As i'am running Mysql 5.0.1-alpha i have some problems whith the check tools ( myisamchk seg fault...).
I will try to downgrade on a 4.1.

My IE settings look correct.


I have noticed that the first time i open my tree i have this error :
Warning: array_push(): First argument should be an array in /opt/apache/htdocs/cacti/lib/html_tree.php on line 564

may be this is due to my unstable version of Mysql.

I downgrade asap and post the results...

Arnaud.
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests