Cacti / plugin_mactrack

Mactrack Plugin for Cacti
GNU General Public License v2.0
12 stars 25 forks source link

Error in the include path of mactrack_functions.php in mactrack_import_ouidb.php #167

Closed andersonreloaded closed 2 years ago

andersonreloaded commented 2 years ago

https://github.com/Cacti/plugin_mactrack/blob/60ff9a4b9d83b1898ad1ea1f78235cc21e92886e/mactrack_import_ouidb.php#L34

The include path needs additional forward slash before plugins include_once($config['base_path'] . '/plugins/mactrack/lib/mactrack_functions.php');

During import of OUI database from file, it throws below warning: PHP Warning: include_once(/var/www/html/cactiplugins/mactrack/lib/mactrack_functions.php): failed to open stream: No such file or directory in /var/www/html/cacti/plugins/mactrack/mactrack_import_ouidb.php on line 34

PS: I am willing to contribute towards development of Cacti and its plugins. Let me know the procedure.

andersonreloaded commented 2 years ago

Thank you for merging the pull request! Closing the issue.

TheWitness commented 2 years ago

Relative to fixing things, or contributing, start with fixing bugs you come across, and then submitting pull requests. We are always looking for additional volunteers. I'm personally looking for additional volunteers as I start to whither into dust.

andersonreloaded commented 2 years ago

@TheWitness Thank you for responding. Shall definitely try my best and contribute towards fixing and enhancing Cacti and its plugins.