addressing icon indicating copy to clipboard operation
addressing copied to clipboard

fresh install of the plugin via market place

Open basanisi opened this issue 3 years ago • 5 comments

I fresh install and clean in market place and plugins directory of the plug-in When reinstall from market place in configuration I select fping and select all options to on, the when i save il have this logs

[2022-10-12 15:39:35] glpiphplog.WARNING: *** PHP Warning (2): Undefined array key "use_ping" in /opt/glpi/plugins/addressing/inc/config.class.php at line 89 Backtrace : plugins/addressing/front/config.php:43 PluginAddressingConfig->showForm()

[2022-10-12 15:43:17] glpiphplog.WARNING: *** PHP Warning (2): Undefined array key "used_system" in /opt/glpi/plugins/addressing/inc/config.class.php at line 45 Backtrace : plugins/addressing/front/config.php:43 PluginAddressingConfig->showForm()

[2022-10-12 15:43:17] glpiphplog.WARNING: *** PHP Warning (2): Undefined array key "alloted_ip" in /opt/glpi/plugins/addressing/inc/config.class.php at line 66 Backtrace : plugins/addressing/front/config.php:43 PluginAddressingConfig->showForm()

[2022-10-12 15:43:17] glpiphplog.WARNING: *** PHP Warning (2): Undefined array key "free_ip" in /opt/glpi/plugins/addressing/inc/config.class.php at line 71 Backtrace : plugins/addressing/front/config.php:43 PluginAddressingConfig->showForm()

[2022-10-12 15:43:17] glpiphplog.WARNING: *** PHP Warning (2): Undefined array key "double_ip" in /opt/glpi/plugins/addressing/inc/config.class.php at line 77 Backtrace : plugins/addressing/front/config.php:43 PluginAddressingConfig->showForm()

[2022-10-12 15:43:17] glpiphplog.WARNING: *** PHP Warning (2): Undefined array key "reserved_ip" in /opt/glpi/plugins/addressing/inc/config.class.php at line 82 Backtrace : plugins/addressing/front/config.php:43 PluginAddressingConfig->showForm()

[2022-10-12 15:43:17] glpiphplog.WARNING: *** PHP Warning (2): Undefined array key "use_ping" in /opt/glpi/plugins/addressing/inc/config.class.php at line 89 Backtrace : plugins/addressing/front/config.php:43 PluginAddressingConfig->showForm()

Could you help please

basanisi avatar Oct 12 '22 13:10 basanisi

Problem with install plugin, i think.

result of SHOW VARIABLES LIKE 'sql_mode'; into mysql shell ?

tsmr avatar Nov 05 '22 17:11 tsmr

This is the result of the command

SHOW VARIABLES LIKE 'sql_mode'; +---------------+-------------------------------------------------------------------------------------------------------------------------------------------+ | Variable_name | Value | +---------------+-------------------------------------------------------------------------------------------------------------------------------------------+ | sql_mode | ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION | +---------------+-------------------------------------------------------------------------------------------------------------------------------------------+ 1 row in set (0,01 sec)

kind regards

basanisi avatar Nov 07 '22 09:11 basanisi

I have the same problem, please help

makasi4 avatar Apr 06 '23 07:04 makasi4

Has anyone figured it out, I'm having the same problem

Vagnerbelem avatar Aug 23 '23 12:08 Vagnerbelem

It turns out when you uninstall this plugin, all tables are deleted except for the glpi_plugin_addressing_ipcomments table. Worked for me doing the following steps:

  1. Deactivate and uninstall the plugin
  2. Connect into the mysql database and assert that table glpi_plugin_addressing_ipcomments is still there. Drop it and commit.
  3. Install the plugin again. Now it seems it work.

vnirocha avatar Aug 24 '23 14:08 vnirocha