You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2009-09-08 18:07:05

stefmcp
Member
Registered: 2009-07-22
Posts: 98

Pb interaction Plugin data injection

bonjour,

Lors du clic sur le bouton suivant de la premiere page du plugin data injection une page blanche apparait, en mode debug le message affiché est :

PHP ERROR: Use of undefined constant PLUGIN_DOMAIN_TYPE - assumed 'PLUGIN_DOMAIN_TYPE' in /usr/local/apache2/htdocs/glpi/plugins/appweb/hook.php at line 770
PHP ERROR: Use of undefined constant PLUGIN_DOMAIN_TYPE - assumed 'PLUGIN_DOMAIN_TYPE' in /usr/local/apache2/htdocs/glpi/plugins/appweb/hook.php at line 771
PHP ERROR: Use of undefined constant PLUGIN_DOMAIN_TYPE - assumed 'PLUGIN_DOMAIN_TYPE' in /usr/local/apache2/htdocs/glpi/plugins/appweb/hook.php at line 772
PHP ERROR: Use of undefined constant PLUGIN_DOMAIN_TYPE - assumed 'PLUGIN_DOMAIN_TYPE' in /usr/local/apache2/htdocs/glpi/plugins/appweb/hook.php at line 773
PHP ERROR: Use of undefined constant PLUGIN_DOMAIN_TYPE - assumed 'PLUGIN_DOMAIN_TYPE' in /usr/local/apache2/htdocs/glpi/plugins/appweb/hook.php at line 774
PHP ERROR: Use of undefined constant PLUGIN_DOMAIN_TYPE - assumed 'PLUGIN_DOMAIN_TYPE' in /usr/local/apache2/htdocs/glpi/plugins/appweb/hook.php at line 775
PHP ERROR: Undefined variable: plugin in /usr/local/apache2/htdocs/glpi/plugins/backups/hook.php at line 1239

Fatal error: Call to a member function isActivated() on a non-object in /usr/local/apache2/htdocs/glpi/plugins/backups/hook.php on line 1239

GLPI version 0.72
plugin data injection : 1.6.0
plugin sauvegarde : 1.4.0
plugin AppWeb : 1.5.0

Si je desactive le plugin backup
En mode Debug la page Suivante du plugin data injection apparait mais un autre message d'erreur s'affiche

PHP ERROR: Use of undefined constant PLUGIN_DOMAIN_TYPE - assumed 'PLUGIN_DOMAIN_TYPE' in /usr/local/apache2/htdocs/glpi/plugins/appweb/hook.php at line 770
PHP ERROR: Use of undefined constant PLUGIN_DOMAIN_TYPE - assumed 'PLUGIN_DOMAIN_TYPE' in /usr/local/apache2/htdocs/glpi/plugins/appweb/hook.php at line 771
PHP ERROR: Use of undefined constant PLUGIN_DOMAIN_TYPE - assumed 'PLUGIN_DOMAIN_TYPE' in /usr/local/apache2/htdocs/glpi/plugins/appweb/hook.php at line 772
PHP ERROR: Use of undefined constant PLUGIN_DOMAIN_TYPE - assumed 'PLUGIN_DOMAIN_TYPE' in /usr/local/apache2/htdocs/glpi/plugins/appweb/hook.php at line 773
PHP ERROR: Use of undefined constant PLUGIN_DOMAIN_TYPE - assumed 'PLUGIN_DOMAIN_TYPE' in /usr/local/apache2/htdocs/glpi/plugins/appweb/hook.php at line 774
PHP ERROR: Use of undefined constant PLUGIN_DOMAIN_TYPE - assumed 'PLUGIN_DOMAIN_TYPE' in /usr/local/apache2/htdocs/glpi/plugins/appweb/hook.php at line 775

Le plugin Domaine n'est pas installé

merci de votre aide


GLPI 0.7.2.4
CentOs 5

Offline

#2 2009-09-08 18:19:01

tsmr
GLPI-DEV
From: Rennes
Registered: 2005-08-26
Posts: 11,632
Website

Re: Pb interaction Plugin data injection

remplaces dans /usr/local/apache2/htdocs/glpi/plugins/appweb/hook.php PLUGIN_DOMAIN_TYPE par PLUGIN_APPWEB_TYPE


Xavier Caillaud
Blog GLPI Infotel

Offline

#3 2009-09-08 18:25:25

stefmcp
Member
Registered: 2009-07-22
Posts: 98

Re: Pb interaction Plugin data injection

Modification effectué

maintenant j'ai

PHP ERROR: Undefined variable: plugin in /usr/local/apache2/htdocs/glpi/plugins/backups/hook.php at line 1239

Fatal error: Call to a member function isActivated() on a non-object in /usr/local/apache2/htdocs/glpi/plugins/backups/hook.php on line 1239

lors de l'appui sur suivant avec le plugin Sauvegarde activé

sans le plugin sauvegarde RAS


GLPI 0.7.2.4
CentOs 5

Offline

#4 2009-09-08 18:45:40

tsmr
GLPI-DEV
From: Rennes
Registered: 2005-08-26
Posts: 11,632
Website

Re: Pb interaction Plugin data injection

il faut ajouter : $plugin = new Plugin(); juste avant la ligne 1239


Xavier Caillaud
Blog GLPI Infotel

Offline

#5 2009-09-09 09:11:33

stefmcp
Member
Registered: 2009-07-22
Posts: 98

Re: Pb interaction Plugin data injection

Fonctionnement Ok

Merci beaucoup

Vous povez fermer le Post


GLPI 0.7.2.4
CentOs 5

Offline

Board footer

Powered by FluxBB