delete link not working
Moderators: Developers, Moderators
delete link not working
Hi Folks
good morning
Here is something interesting......
I just upgraded cacti from 8.8a to 8.8c and weathermap from 097a to 097c
it look like the delete link button no longer works. I made a simple 3 node map and full meshed it.
when I select a link and click delete nothing happens it is still there. However if I delete the node
the links get removed along with the node.................... any ideas???????
thanks
good morning
Here is something interesting......
I just upgraded cacti from 8.8a to 8.8c and weathermap from 097a to 097c
it look like the delete link button no longer works. I made a simple 3 node map and full meshed it.
when I select a link and click delete nothing happens it is still there. However if I delete the node
the links get removed along with the node.................... any ideas???????
thanks
Re: delete link not working
Hi Folks
has anyone else have this same problem with the delete links?
thanks
has anyone else have this same problem with the delete links?
thanks
Re: delete link not working
bigrow wrote:Hi Folks
has anyone else have this same problem with the delete links?
thanks
I have the same problem. I usually just edit the config manually via the command line to remove the link. But it sure would be great if we could get this fixed.
Re: delete link not working
agreed
I can edit files vi vi by hand but some of my junior members don't know how to spell unix.......
thanks
I can edit files vi vi by hand but some of my junior members don't know how to spell unix.......
thanks
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: delete link not working
Which browser are you guys using?
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!)
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!)
Re: delete link not working
The issue is present on both windows and mac. My versions:Howie wrote:Which browser are you guys using?
OS: OS X 10.9.5 and Windows 7 Enterprise
Browsers: Firefox 36.0.1 and Chrome 41.0.2272.104 (64-bit) (On both OS's)
If you need anymore info from me please let me know.
Cheers!
Re: delete link not working
I actually had that issue or something similar to it where I couldn' delete a link or node. I changed the user:group on the config file under the weathmap plugin, somehow it was root:root and changed it to match the rest apache:apache
Re: delete link not working
it does it with IE and firefox.
the delete link just doesn't delete the link.
the delete link just doesn't delete the link.
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: delete link not working
OK - and are there any errors in the Apache error log when you try?
One thing I have a mail about for this:
Does that help?
One thing I have a mail about for this:
Code: Select all
change
if(isset($map->links[target])) {
$log = "delete link ".$target;
unset($map->links[$target]);
$map->WriteConfig($mapfile);
}
break;
to
if(isset($map->links[$target])) {
$log = "delete link ".$target;
unset($map->links[$target]);
$map->WriteConfig($mapfile);
}
break;
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!)
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!)
Re: delete link not working
Yes, this fixed my issue of not being able to delete the links between nodes. Thanks, Howie.Howie wrote:OK - and are there any errors in the Apache error log when you try?
One thing I have a mail about for this:
Does that help?Code: Select all
change if(isset($map->links[target])) { $log = "delete link ".$target; unset($map->links[$target]); $map->WriteConfig($mapfile); } break; to if(isset($map->links[$target])) { $log = "delete link ".$target; unset($map->links[$target]); $map->WriteConfig($mapfile); } break;
For those wondering, the config file you need to edit is editor.php. Replace the 'if' block below the 'case "delete_link" section. I am running Weathermap version 0.97c.
Re: delete link not working
Thanks for this. Works now.Howie wrote:OK - and are there any errors in the Apache error log when you try?
One thing I have a mail about for this:
Does that help?Code: Select all
change if(isset($map->links[target])) { $log = "delete link ".$target; unset($map->links[$target]); $map->WriteConfig($mapfile); } break; to if(isset($map->links[$target])) { $log = "delete link ".$target; unset($map->links[$target]); $map->WriteConfig($mapfile); } break;
Re: delete link not working
ok,
I'll give this a try
if(isset($map->links[$target])) it looks like my file is missing the $ in the target variable.....
will try tomorrow
I'll give this a try
if(isset($map->links[$target])) it looks like my file is missing the $ in the target variable.....
will try tomorrow
Re: delete link not working
this is all that is necessary is that correct?
Re: delete link not working
That's all I had to do.bigrow wrote:this is all that is necessary is that correct?
Re: delete link not working
it works now
thanks for the fix!!!!!
thanks for the fix!!!!!
Who is online
Users browsing this forum: No registered users and 0 guests