Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Mactrack Fatal error

 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (MAC Track)
Author Message
Dacob9906
Cacti User


Joined: 03 Apr 2007
Posts: 199
Location: Pullman Washington

PostPosted: Fri Sep 07, 2007 10:01 am    Post subject: Mactrack Fatal error Reply with quote

I came into work today, click on the mactrack tab in Cacti, and got this...
Fatal error: Cannot redeclare get_dns_from_ip() (previously declared in C:\Inetpub\wwwroot\cacti\plugins\Settings\include\functions.php:149) in C:\Inetpub\wwwroot\cacti\plugins\MacTrack\lib\mactrack_functions.php on line 1176

Anyone have any ideas what it really means?
Back to top
Dacob9906
Cacti User


Joined: 03 Apr 2007
Posts: 199
Location: Pullman Washington

PostPosted: Fri Sep 07, 2007 10:26 am    Post subject: Reply with quote

It appears that if I disable the settings plugin... this error goes away.. Is there any known incomparability with Mactrack and Settings?
Back to top
cd



Joined: 17 Aug 2007
Posts: 14

PostPosted: Fri Sep 07, 2007 10:30 am    Post subject: Reply with quote

Yup.

Its in here someplace you just have to comment out a variable in mactrack i beleive.
Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9736
Location: MI, USA

PostPosted: Fri Sep 07, 2007 12:54 pm    Post subject: Reply with quote

Correct.

TheWitness
(mactrack author)
Back to top
Dacob9906
Cacti User


Joined: 03 Apr 2007
Posts: 199
Location: Pullman Washington

PostPosted: Mon Sep 10, 2007 10:02 am    Post subject: Reply with quote

Ok, any idea which line/lines I would comment out. I assume it is in the mactrack_functions.php file? I did some looking based on there error, but can't seem to figure out what I shoujld be commenting out. I can caomment out the whole "function get_dns_from_ip"... but that seems bad to me? I also did some looking on here, and I couldn't find any posts that mentioned it. Thanks for your help!
Back to top
cd



Joined: 17 Aug 2007
Posts: 14

PostPosted: Mon Sep 10, 2007 11:22 am    Post subject: Reply with quote

its all described in this thread

http://forums.cacti.net/about22155-0-asc-15.html
Back to top
Dacob9906
Cacti User


Joined: 03 Apr 2007
Posts: 199
Location: Pullman Washington

PostPosted: Mon Sep 10, 2007 11:38 am    Post subject: Reply with quote

Thanks guys, commenting out the entire Get_dsn_from_ip function corrected the problem... I don't get any errors with Mactrack and settings both running now. Thanks!
Back to top
cd



Joined: 17 Aug 2007
Posts: 14

PostPosted: Mon Sep 10, 2007 11:52 am    Post subject: Reply with quote

np...


now if I could get mactrack to work with the .87 beta

Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (MAC Track) All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group