Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fresh install of the plugin via market place #62

Open
basanisi opened this issue Oct 12, 2022 · 5 comments
Open

fresh install of the plugin via market place #62

basanisi opened this issue Oct 12, 2022 · 5 comments

Comments

@basanisi
Copy link

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

@tsmr
Copy link
Collaborator

tsmr commented Nov 5, 2022

Problem with install plugin, i think.

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

@basanisi
Copy link
Author

basanisi commented Nov 7, 2022

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

@makasi4
Copy link

makasi4 commented Apr 6, 2023

I have the same problem, please help

@Vagnerbelem
Copy link

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

@vnirocha
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants