|
|
| Author |
Message |
wysun
Joined: 07 Apr 2008 Posts: 8
|
Posted: Wed Apr 09, 2008 4:19 am Post subject: problems about weathermap |
|
|
I use weathermap editor to create a map, when I click weathermap editor, the page returns error message:
"The map config directory is not writable by the web server user. You will not be able to edit any files until this is corrected. [WMEDIT01]"
and also when I want to revise an already existed map, when I click a button, after revising some information and submit, refresh the page but nothing changed.
I am so confused about this. Anyone can help me ? |
|
| Back to top |
|
 |
totosh
Joined: 10 Mar 2008 Posts: 11
|
Posted: Wed Apr 09, 2008 11:27 am Post subject: |
|
|
| you need to give the webserver user (most likely apache) write access to your WM config directory ( /"cati install folder"/plugins/weathermap/configs). |
|
| Back to top |
|
 |
wysun
Joined: 07 Apr 2008 Posts: 8
|
Posted: Wed Apr 09, 2008 9:49 pm Post subject: |
|
|
thanks a lot.
I use this command: chmod 777 /var/www/html/cacti/plugins/weathermap/configs
and the problem was solved. |
|
| Back to top |
|
 |
ryanrife
Joined: 10 Apr 2008 Posts: 2
|
Posted: Thu Apr 10, 2008 2:12 pm Post subject: Little problem with editor |
|
|
Hey everyone, I'm attempting to edit a few of our network maps here, however, when I goto the url "cacti/plugins/weathermap/editor.php" I recieve a Warning msg.
This warning includes the following:
"WARNING - Sorry, it's partly laziness on my part, but you really need JavaScript 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 viewpoint, 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, please feel free to complain. It's mainly laziness as I said, and there could be a fallback (not so smooth) mode for non-javascript browsers if it was seen to be worthwhile (I would take a bit of convincing, because I don't see a benefit, personally)."
Now please understand, I'm not just the average user...
Here are some of the steps that I have undergone to come up with a solution to this.
1. Restart PC
2. Ensure Java is running
3. Test on a different browser (I.E. Firefox, Inernet Explorer, Avant)
4 I have tested on several of the boxes in the office
And even after all of this, I still don't understand what would have caused this much of an issue...
Can someone help me understand what I need to do to resolve this annoying conflict.
Thanks in advanced everyone! |
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2061 Location: United Kingdom
|
Posted: Thu Apr 10, 2008 2:29 pm Post subject: Re: Little problem with editor |
|
|
| ryanrife wrote: |
Can someone help me understand what I need to do to resolve this annoying conflict.
|
As it says in the first line of the message, Turn on JAVASCRIPT (not Java - they are totally different things).
However, if you are seeing this issue with multiple browsers it could be something else. Do you have some kind of filtering proxy that might limit javascript use?
If you are able to check the access logs on the server running Weathermap, it would be useful to see if the editor.js file is being requested.
The message would appear if (a) javascript is disabled, or (b) it failed to load the editor.js file from the webserver. |
|
| Back to top |
|
 |
ryanrife
Joined: 10 Apr 2008 Posts: 2
|
Posted: Thu Apr 10, 2008 4:45 pm Post subject: |
|
|
Okay,
Thanks for the heads up on the difference on the two subjects there...
I have ensured that the javascript is enabled, however I have not looked into the .js file that you mentioned.
Thanks for the quick response and sorry for my ignorance on this subject, I am trying to learn this as quickly as possible. |
|
| Back to top |
|
 |
|