Closed derry43 closed 2 years ago
The issue is related to how this plugin handles CSRF, see https://github.com/glpi-project/glpi/issues/1133, had to set the constant GLPI_USE_CSRF_CHECK
to 0 during install of archimap plugin (as well as implementing below changes) to allow installation.
Also tracked down a couple of issues (related to the above errors, but not to the installation problem).
Line 28 in plugins\archimap\hook.php
was
global $DB;
but should be
global $DB, $CFG_GLPI;
Line 177 in plugins\archimap\hook.php
was
if (Session::haveRight("plugin_archimap_open_ticket", "1")) {
but should be
if (Session::haveRight("plugin_archimap_open_ticket", READ)) {
Thank you for the remarks and suggestions. Solved in v3.2.7. K.r,
Plugin version: 3.2.6 GLPI version: 10.0.0 PHP version: 7.4
Manual installation via plugins folder on 10.0.0 (with existing config, so upgrade of plugin) produces a single error during install "The action you have requested is not allowed" from page
front/plugin.form.php
.Related log file entries below.