|
|
| Author |
Message |
bpraveen
Joined: 08 Feb 2008 Posts: 24 Location: BANGALORE
|
Posted: Mon Apr 21, 2008 3:41 am Post subject: Problem with editor |
|
|
Hi,
I upgraded my PHP-Weathermap from 0.8 to 0.95b,After that i have a problem when editing the map with editor, After makeing any changes & click OK i get the below error.
Warning: fopen(configs/simple.conf) [function.fopen]: failed to open stream: Permission denied in D:\WanMonData\wwwData\php-weathermap\Weathermap.class.php on line 2133
|
|
| Back to top |
|
 |
bpraveen
Joined: 08 Feb 2008 Posts: 24 Location: BANGALORE
|
Posted: Mon Apr 21, 2008 4:26 am Post subject: |
|
|
Hi,
Solved this, This was the permission issue with configs directory, How ever i have another issue, After i key in the bandwith for a link still in weathermap it shows ZERO, Any idea on this ? Attched the screenshot.
| Description: |
|
| Filesize: |
8.03 KB |
| Viewed: |
1241 Time(s) |

|
|
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2059 Location: United Kingdom
|
Posted: Mon Apr 21, 2008 7:09 am Post subject: |
|
|
In the editor?
That's normal. It's because the editor uses the same engine as the main weathermap code, but without fetching any data, so it's always zero. If you look in the config file, you should see that it is adding BANDWIDTH lines correctly.
|
|
| Back to top |
|
 |
bpraveen
Joined: 08 Feb 2008 Posts: 24 Location: BANGALORE
|
Posted: Mon Apr 21, 2008 11:23 pm Post subject: |
|
|
Yes, In editor.
I am not looking for the fetching data or real time bandwidth in editor, I am refering for the bandwidth set in link properties, Yes i can see the badwidth in config file.
In my earlier version on weathermap 0.8 after set the bandwidth in link properties my links in editor was shoing as below snapshot, Now it shows ZERO.
| Description: |
|
| Filesize: |
10.64 KB |
| Viewed: |
1205 Time(s) |

|
|
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2059 Location: United Kingdom
|
Posted: Tue Apr 22, 2008 1:55 am Post subject: |
|
|
It did change for a good reason, but I can't remember what it is
Probably something to do with IN/OUTBWLABELFORMAT, because with no data, you'd have big [UNKNOWN] labels all over your map.
|
|
| Back to top |
|
 |
Palermo
Joined: 11 Sep 2008 Posts: 36
|
Posted: Mon Sep 29, 2008 10:32 am Post subject: Re: Problem with editor |
|
|
| bpraveen wrote: | Hi,
I upgraded my PHP-Weathermap from 0.8 to 0.95b,After that i have a problem when editing the map with editor, After makeing any changes & click OK i get the below error.
Warning: fopen(configs/simple.conf) [function.fopen]: failed to open stream: Permission denied in D:\WanMonData\wwwData\php-weathermap\Weathermap.class.php on line 2133 |
How did you slove the error.
I have the same kind of error
| Code: |
Warning: fopen(configs/simple2.conf) [function.fopen]: failed to open stream: Permission denied in /var/www/html/plugins/weathermap/Weathermap.class.php on line 4967
|
thx in advanced
|
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2059 Location: United Kingdom
|
Posted: Mon Sep 29, 2008 11:42 am Post subject: Re: Problem with editor |
|
|
| Palermo wrote: |
How did you slove the error.
I have the same kind of error
thx in advanced |
Yours is in a completely different part of the code. Which version of Weathermap is that? I know it's not 0.95 because that doesn't have 4000+ lines in Weathermap.class.php...
My first guess would be that the configs/ directory is not readable by the webserver user. It needs to be readable and writable by that user (usually httpd, www, or nobody).
|
|
| Back to top |
|
 |
|