Fist of all huge thanks to creator of Weathermap.
I'm using PHP Weathermap 0.97b and i'm experiencing this notice
Notice: Use of undefined constant target - assumed 'target' in /home/mon/stats2.advancedhosters.com/weathermap/editor.php on line 760
I got this when I press 'Vert' in editor
Also I got Notice: Use of undefined constant target - assumed 'target' in /home/mon/stats2.advancedhosters.com/weathermap/editor.php on line 727
when I Press 'Horiz' in editor
The main prob is that the position of link doesn't change after I get this Notices.
Please assist. Thanks
Weathermap 0.97b Released (security fixes, etc)
Moderators: Developers, Moderators
-
- Posts: 1
- Joined: Fri Apr 19, 2013 3:54 am
Re: Weathermap 0.97b Released (security fixes, etc)
looksl ike there is a bug in 0.97c!
config:
NODE gauge_uptime_VIX
LABEL {node:this:bandwidth_in:%.0f} days up
since 0.97c there are only 2 characters working after the label.
if i do: days up, ill get "xxxxx up" on the html page.
but when i do a
NODE gauge_uptime_VIX
LABEL {node:this:bandwidth_in:%.0f} da ys up
ill get "da ys up" on the html page.
gone back to 0.97a and everything is working..
config:
NODE gauge_uptime_VIX
LABEL {node:this:bandwidth_in:%.0f} days up
since 0.97c there are only 2 characters working after the label.
if i do: days up, ill get "xxxxx up" on the html page.
but when i do a
NODE gauge_uptime_VIX
LABEL {node:this:bandwidth_in:%.0f} da ys up
ill get "da ys up" on the html page.
gone back to 0.97a and everything is working..
Re: Weathermap 0.97b Released (security fixes, etc)
=======cameronpalma wrote:Fist of all huge thanks to creator of Weathermap.
I'm using PHP Weathermap 0.97b and i'm experiencing this notice
Notice: Use of undefined constant target - assumed 'target' in /home/mon/stats2.advancedhosters.com/weathermap/editor.php on line 760
I got this when I press 'Vert' in editor
Also I got Notice: Use of undefined constant target - assumed 'target' in /home/mon/stats2.advancedhosters.com/weathermap/editor.php on line 727
when I Press 'Horiz' in editor
The main prob is that the position of link doesn't change after I get this Notices.
Please assist. Thanks
Please change following to fix at editor.php:
if(isset($map->links[target])) {
To:
if(isset($map->links[$target])) {
Re: Weathermap 0.97b Released (security fixes, etc)
Hi Howie, thanks for the update!
I moved from 0.95b to 0.97c and it works great!
One minor question: since I have a link to the output maps, I noticed the output files have changed names, since
I also renamed the config files to have the .config extension, removed the "old ones" and added the "new ones" with .config
I did the same on another server and notice the output files got different names in my two identical installs of 0.97c.
I know that I can not control the name of the output file since I am using as a cacti plugin.
Is there a way that I can control, even vaguely, the name of the output file ? at least so that will be the same across different servers ? (ps: the maps are identical) or the name is truly at random ? On 0.95b that was not the case ... they had the same output name across different servers.
thanks again!
I moved from 0.95b to 0.97c and it works great!
One minor question: since I have a link to the output maps, I noticed the output files have changed names, since
I also renamed the config files to have the .config extension, removed the "old ones" and added the "new ones" with .config
I did the same on another server and notice the output files got different names in my two identical installs of 0.97c.
I know that I can not control the name of the output file since I am using as a cacti plugin.
Is there a way that I can control, even vaguely, the name of the output file ? at least so that will be the same across different servers ? (ps: the maps are identical) or the name is truly at random ? On 0.95b that was not the case ... they had the same output name across different servers.
thanks again!
Re: Weathermap 0.97b Released (security fixes, etc)
JJX wrote:I have comment out that line.
When I open editor I get a white page and this error:
After deleting the old installation and using a clean copy of 0.97c it worked.[Fri Apr 12 12:58:40 2013] [error] PHP Fatal error: Call to undefined function wm_module_checks() in /var/www/cacti/plugins/weathermap/editor.php on line 86, referer: http://cacti.mysite.com/plugins/weather ... n-mgmt.php
Some fine tuning with editor is required (to open the maps directly)
thanks deleting the old one worked for me. make sure you backup your configs before deleting the old installation.
Who is online
Users browsing this forum: No registered users and 0 guests