Problem with weathermap: "editor.php"

Support questions about the Network Weather Map plugin

Moderators: Moderators, Developers

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

Problem with weathermap: "editor.php"

#1 Post by ambre » Tue Jan 27, 2009 5:46 am

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: 5334
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

#2 Post by Howie » Tue Jan 27, 2009 6:16 am

Did you enable javascript?
Weathermap 0.98 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

#3 Post by ambre » Tue Jan 27, 2009 6:31 am

Howie wrote:Did you enable javascript?
yes I have enable javascript

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

#4 Post by ambre » Tue Jan 27, 2009 6:45 am

and I utilize php-weathermap version 0.82

User avatar
Howie
Cacti Guru User
Posts: 5334
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

#5 Post by Howie » Tue Jan 27, 2009 7:20 am

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.98 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

#6 Post by ambre » Tue Jan 27, 2009 8:20 am

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

#7 Post by ambre » Tue Jan 27, 2009 8:24 am

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: 5334
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

#8 Post by Howie » Tue Jan 27, 2009 8:40 am

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.98 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

#9 Post by ambre » Tue Jan 27, 2009 8:45 am

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: 5334
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

#10 Post by Howie » Tue Jan 27, 2009 8:47 am

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.98 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

#11 Post by ambre » Wed Jan 28, 2009 3:04 am

what is the DOM ? where is it?please

User avatar
Howie
Cacti Guru User
Posts: 5334
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

#12 Post by Howie » Wed Jan 28, 2009 4:10 am

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.98 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

#13 Post by ambre » Wed Jan 28, 2009 4:44 am

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: 5334
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

#14 Post by Howie » Wed Jan 28, 2009 5:37 am

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.98 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

#15 Post by ambre » Wed Jan 28, 2009 6:05 am

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