Problem with weathermap: "editor.php"

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

ambre
Cacti User
Posts: 64
Joined: Tue Jan 27, 2009 5:41 am

Problem with weathermap: "editor.php"

Post by ambre »

hy,

when I go "http://.../cacti/puglins/weathermap/editor.php"
I have this error:

Sorry, it's partly laziness on my part, but you really need JavaScrip enabled and DOM support in your browser to use this editor. It's a visual tool, so accessibility is already an issue, if it is, and from a security viewpoin, you're already running my code on your server so either you trust it all having read it, or you're already screwed.
if it's a major issue for you, mease feel free to complain. It's mainly laziness as I said, and there could be a fallback 'not a smooth) mode for non-javascript broswers it it was seen to be worthwhile (I would take at of convincing, because i don't see a benifit, personally).

someone can help me :)
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

Did you enable javascript?
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
ambre
Cacti User
Posts: 64
Joined: Tue Jan 27, 2009 5:41 am

Post by ambre »

Howie wrote:Did you enable javascript?
yes I have enable javascript
ambre
Cacti User
Posts: 64
Joined: Tue Jan 27, 2009 5:41 am

Post by ambre »

and I utilize php-weathermap version 0.82
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

ambre wrote:and I utilize php-weathermap version 0.82
Why? There have been 8 releases since then... I'm not that interested in fixing bugs in 30-month-old code.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
ambre
Cacti User
Posts: 64
Joined: Tue Jan 27, 2009 5:41 am

Post by ambre »

Why? There have been 8 releases since then... I'm not that interested in fixing bugs in 30-month-old code.[/quote]

because it's my company which use this version and I can't install a new version...
ambre
Cacti User
Posts: 64
Joined: Tue Jan 27, 2009 5:41 am

Post by ambre »

ambre wrote:because it's my company which use this version and I can't install a new version...

it's the same problem : http://forums.cacti.net/about26775.html&highlight=
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

OK, so from that thread...

If you are sure javascript is enabled, look in your webserver logs, and make sure that the editor.js file is being requested by your browser. If it is, then look if your browser has a javascript console (not java) and look for errors there. Also, try with a different browser.

The way this works is that that error is in the HTML file, and when the javascript file is loaded, it hides the message. So either it can't run or it isn't loaded.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
ambre
Cacti User
Posts: 64
Joined: Tue Jan 27, 2009 5:41 am

Post by ambre »

Howie wrote:OK, so from that thread...

If you are sure javascript is enabled, look in your webserver logs, and make sure that the editor.js file is being requested by your browser. If it is, then look if your browser has a javascript console (not java) and look for errors there. Also, try with a different browser.

The way this works is that that error is in the HTML file, and when the javascript file is loaded, it hides the message. So either it can't run or it isn't loaded.
How do you look the webserver log?
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

ambre wrote:
Howie wrote:OK, so from that thread...

If you are sure javascript is enabled, look in your webserver logs, and make sure that the editor.js file is being requested by your browser. If it is, then look if your browser has a javascript console (not java) and look for errors there. Also, try with a different browser.

The way this works is that that error is in the HTML file, and when the javascript file is loaded, it hides the message. So either it can't run or it isn't loaded.
How do you look the webserver log?
I don't know, it's different for different webservers. Ask the person who runs your webserver?
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
ambre
Cacti User
Posts: 64
Joined: Tue Jan 27, 2009 5:41 am

Post by ambre »

what is the DOM ? where is it?please
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

ambre wrote:what is the DOM ? where is it?please
DOM is what javascript uses to manipulate the web page. It's what used to be called DHTML.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
ambre
Cacti User
Posts: 64
Joined: Tue Jan 27, 2009 5:41 am

Post by ambre »

Howie wrote:
ambre wrote:what is the DOM ? where is it?please
DOM is what javascript uses to manipulate the web page. It's what used to be called DHTML.
where can I verify that DOM is activate?
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

ambre wrote:
Howie wrote:
ambre wrote:what is the DOM ? where is it?please
DOM is what javascript uses to manipulate the web page. It's what used to be called DHTML.
where can I verify that DOM is activate?
You can't usually turn it off. Your browser either has it or it doesn't. If it has Javascript and it was made in the last 5 years, it has DOM support.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
ambre
Cacti User
Posts: 64
Joined: Tue Jan 27, 2009 5:41 am

Post by ambre »

Howie wrote: You can't usually turn it off. Your browser either has it or it doesn't. If it has Javascript and it was made in the last 5 years, it has DOM support.
thanks, so I have Iceweasel and javascript is activate, then if I understand, I have DOM support.
but I don't understand why I can't go to my web page.
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests