pluginsGLPI / geninventorynumber

Inventorynumber generation
GNU General Public License v3.0
8 stars 14 forks source link

Marketplace dosent work after installing Update #53

Closed ORSTG closed 2 years ago

ORSTG commented 2 years ago

GLPI10.0 geninventorynumber 2.6.0

after downloading the new release you cant open the Marketplace again it shows up a black screen

cedric-anne commented 2 years ago

Hi,

Have you something related to this in files/_log/php-errors.log ?

ORSTG commented 2 years ago

Hi,

PHP Fatal error: Cannot redeclare plugin_init_geninventorynumber() (previously declared in /var/www/html/glpi/marketplace/geninventorynumber/setup.php:39) in /var/www/html/glpi/plugins/geninventorynumber-2.6.0/setup.php on line 39, referer: http://servername/glpi/front/central.php

this line should make the problems(setup.php line39) global $PLUGIN_HOOKS, $CFG_GLPI, $GENINVENTORYNUMBER_TYPES;

cedric-anne commented 2 years ago

/var/www/html/glpi/plugins/geninventorynumber-2.6.0/ directory should be removed, and you should just upgrade from the marketplace.

ORSTG commented 2 years ago

works fine thx :)