ddurieux / glpi_physicalinv

Plugin GLPI used to manage the physical inventory of devices
GNU Affero General Public License v3.0
6 stars 4 forks source link

Can't Install Plugin. Version Check. #2

Open LordBat opened 7 years ago

LordBat commented 7 years ago

Hi, when i try to install the plugin i have this error.

image

i think is the Version Check...

Thanks and Regards!

EDIT:

Hi i found this on setup.php

function plugin_physicalinv_check_prerequisites() { global $DB;

if (!isset($_SESSION['glpi_plugins'])) { $_SESSION['glpi_plugins'] = array(); }

if (version_compare(GLPI_VERSION, '0.85', 'lt') || version_compare(GLPI_VERSION, '0.90', 'ge')) { echo __('Your GLPI version not compatible, require >= 0.85 and < 9.1', 'physicalinv'); return FALSE; } return TRUE; }

I think this is the problem.

Regards!

ddurieux commented 7 years ago

php version?

LordBat commented 7 years ago

PHP 5.5.9-1ubuntu4.20