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

Can't Install Plugin. Version Check. #2

Open
LordBat opened this issue Feb 14, 2017 · 2 comments
Open

Can't Install Plugin. Version Check. #2

LordBat opened this issue Feb 14, 2017 · 2 comments

Comments

@LordBat
Copy link

LordBat commented Feb 14, 2017

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
Copy link
Owner

php version?

@LordBat
Copy link
Author

LordBat commented Feb 15, 2017

PHP 5.5.9-1ubuntu4.20

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

2 participants