netniV / plugin_murlin

A GitHub-fork of the original mURLin plugin found at https://docs.cacti.net/userplugin:murlin
3 stars 2 forks source link

install error murlin on cacti 1.2.15 #6

Open Christophe-kibale opened 2 years ago

Christophe-kibale commented 2 years ago
2022/04/25 12:30:38 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins.php[74]:api_plugin_install(), /lib/plugins.php[652]:api_plugin_check_config(), /lib/plugins.php[718]:plugin_mURLin_check_config(), /plugins/murlin/setup.php[57]:plugin_mURLin_check_upgrade(), /plugins/murlin/setup.php[71]:GetNewVersion(), /plugins/murlin/setup.php[112]:plugin_mURLin_version(), /plugins/murlin/setup.php[124]:parse_ini_file(), CactiErrorHandler()) -- 2022/04/25 12:30:38 - ERROR PHP WARNING in Plugin 'murlin': parse_ini_file(/var/www/html/cacti/plugins/mURLin/INFO): failed to open stream: No such file or directory in file: /var/www/html/cacti/plugins/murlin/setup.php on line: 124 2022/04/25 12:30:37 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins.php[74]:api_plugin_install(), /lib/plugins.php[651]:plugin_mURLin_install(), /plugins/murlin/setup.php[47]:CactiErrorHandler()) 2022/04/25 12:30:37 - ERROR PHP NOTICE in Plugin 'murlin': Only variables should be passed by reference in file: /var/www/html/cacti/plugins/murlin/setup.php on line: 47 2022/04/25 12:30:37 - CMDPHP SQL Backtrace: (/plugins.php[74]:api_plugin_install(), /lib/plugins.php[647]:db_execute_prepared()) 2022/04/25 12:30:37 - CMDPHP ERROR: A DB Exec Failed!, Error: Column 'name' cannot be null 2022/04/25 12:30:37 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins.php[74]:api_plugin_install(), /lib/plugins.php[629]:plugin_mURLin_version(), /plugins/murlin/setup.php[124]:parse_ini_file(), CactiErrorHandler()) 2022/04/25 12:30:37 - ERROR PHP WARNING in Plugin 'murlin': parse_ini_file(/var/www/html/cacti/plugins/mURLin/INFO): failed to open stream: No such file or directory in file: /var/www/html/cacti/plugins/murlin/setup.php on line: 124 2022/04/25 12:30:37 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins.php[74]:api_plugin_install(), /lib/plugins.php[612]:include_once(), /plugins/murlin/setup.php[39]:plugin_mURLin_upgrade(), /plugins/murlin/setup.php[64]:plugin_mURLin_check_upgrade(), /plugins/murlin/setup.php[71]:GetNewVersion(), /plugins/murlin/setup.php[112]:plugin_mURLin_version(), /plugins/murlin/setup.php[124]:parse_ini_file(), CactiErrorHandler()) 2022/04/25 12:30:37 - ERROR PHP WARNING in Plugin 'murlin': parse_ini_file(/var/www/html/cacti/plugins/mURLin/INFO): failed to open stream: No such file or directory in file: /var/www/html/cacti/plugins/murlin/setup.php on line: 124
thurban commented 2 years ago

Please rename your plugin directory to "mURLin" and retry

netniV commented 2 years ago

Thanks for picking that up @thurban