|
|
| Author |
Message |
Dacob9906 Cacti User
Joined: 03 Apr 2007 Posts: 199 Location: Pullman Washington
|
Posted: Fri Sep 07, 2007 10:01 am Post subject: Mactrack Fatal error |
|
|
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
|
Posted: Fri Sep 07, 2007 10:26 am Post subject: |
|
|
| 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
|
Posted: Fri Sep 07, 2007 10:30 am Post subject: |
|
|
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
|
Posted: Fri Sep 07, 2007 12:54 pm Post subject: |
|
|
Correct.
TheWitness
(mactrack author) |
|
| Back to top |
|
 |
Dacob9906 Cacti User
Joined: 03 Apr 2007 Posts: 199 Location: Pullman Washington
|
Posted: Mon Sep 10, 2007 10:02 am Post subject: |
|
|
| 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
|
|
| Back to top |
|
 |
Dacob9906 Cacti User
Joined: 03 Apr 2007 Posts: 199 Location: Pullman Washington
|
Posted: Mon Sep 10, 2007 11:38 am Post subject: |
|
|
| 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
|
Posted: Mon Sep 10, 2007 11:52 am Post subject: |
|
|
np...
now if I could get mactrack to work with the .87 beta
 |
|
| Back to top |
|
 |
|