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 2010-09-01 10:52:50

J-n-s
Member
From: Rennes
Registered: 2009-10-26
Posts: 419

[RC2] Plugin customfield en 0.78

J'ai mis à jour mes plugins sur la version 0.78RC2, non sans mal, il faut je pense d'abord désinstaller (et non désactiver) les plugins avant de faire la mise à jour de GLPI. Vrai ?
J'ai décompresser les plugins qui m'intéressaient via https://forge.indepnet.net/tarballs-plugins/
Customfield me donne ceci quand je l'installe en mode debug :

PHP Notice: Use of undefined constant MOBOARD_DEVICE - assumed 'MOBOARD_DEVICE' in /usr/share/glpi/plugins/customfields/locales/fr_FR.php at line 119
PHP Notice: Use of undefined constant PROCESSOR_DEVICE - assumed 'PROCESSOR_DEVICE' in /usr/share/glpi/plugins/customfields/locales/fr_FR.php at line 120
PHP Notice: Use of undefined constant RAM_DEVICE - assumed 'RAM_DEVICE' in /usr/share/glpi/plugins/customfields/locales/fr_FR.php at line 121
PHP Notice: Use of undefined constant HDD_DEVICE - assumed 'HDD_DEVICE' in /usr/share/glpi/plugins/customfields/locales/fr_FR.php at line 122
PHP Notice: Use of undefined constant NETWORK_DEVICE - assumed 'NETWORK_DEVICE' in /usr/share/glpi/plugins/customfields/locales/fr_FR.php at line 123
PHP Notice: Use of undefined constant DRIVE_DEVICE - assumed 'DRIVE_DEVICE' in /usr/share/glpi/plugins/customfields/locales/fr_FR.php at line 124
PHP Notice: Use of undefined constant CONTROL_DEVICE - assumed 'CONTROL_DEVICE' in /usr/share/glpi/plugins/customfields/locales/fr_FR.php at line 125
PHP Notice: Use of undefined constant GFX_DEVICE - assumed 'GFX_DEVICE' in /usr/share/glpi/plugins/customfields/locales/fr_FR.php at line 126
PHP Notice: Use of undefined constant SND_DEVICE - assumed 'SND_DEVICE' in /usr/share/glpi/plugins/customfields/locales/fr_FR.php at line 127
PHP Notice: Use of undefined constant PCI_DEVICE - assumed 'PCI_DEVICE' in /usr/share/glpi/plugins/customfields/locales/fr_FR.php at line 128
PHP Notice: Use of undefined constant CASE_DEVICE - assumed 'CASE_DEVICE' in /usr/share/glpi/plugins/customfields/locales/fr_FR.php at line 129
PHP Notice: Use of undefined constant POWER_DEVICE - assumed 'POWER_DEVICE' in /usr/share/glpi/plugins/customfields/locales/fr_FR.php at line 130
PHP Notice: Use of undefined constant MOBOARD_DEVICE - assumed 'MOBOARD_DEVICE' in /usr/share/glpi/plugins/customfields/locales/fr_FR.php at line 119
PHP Notice: Use of undefined constant PROCESSOR_DEVICE - assumed 'PROCESSOR_DEVICE' in /usr/share/glpi/plugins/customfields/locales/fr_FR.php at line 120
PHP Notice: Use of undefined constant RAM_DEVICE - assumed 'RAM_DEVICE' in /usr/share/glpi/plugins/customfields/locales/fr_FR.php at line 121
PHP Notice: Use of undefined constant HDD_DEVICE - assumed 'HDD_DEVICE' in /usr/share/glpi/plugins/customfields/locales/fr_FR.php at line 122
PHP Notice: Use of undefined constant NETWORK_DEVICE - assumed 'NETWORK_DEVICE' in /usr/share/glpi/plugins/customfields/locales/fr_FR.php at line 123
PHP Notice: Use of undefined constant DRIVE_DEVICE - assumed 'DRIVE_DEVICE' in /usr/share/glpi/plugins/customfields/locales/fr_FR.php at line 124
PHP Notice: Use of undefined constant CONTROL_DEVICE - assumed 'CONTROL_DEVICE' in /usr/share/glpi/plugins/customfields/locales/fr_FR.php at line 125
PHP Notice: Use of undefined constant GFX_DEVICE - assumed 'GFX_DEVICE' in /usr/share/glpi/plugins/customfields/locales/fr_FR.php at line 126
PHP Notice: Use of undefined constant SND_DEVICE - assumed 'SND_DEVICE' in /usr/share/glpi/plugins/customfields/locales/fr_FR.php at line 127
PHP Notice: Use of undefined constant PCI_DEVICE - assumed 'PCI_DEVICE' in /usr/share/glpi/plugins/customfields/locales/fr_FR.php at line 128
PHP Notice: Use of undefined constant CASE_DEVICE - assumed 'CASE_DEVICE' in /usr/share/glpi/plugins/customfields/locales/fr_FR.php at line 129
PHP Notice: Use of undefined constant POWER_DEVICE - assumed 'POWER_DEVICE' in /usr/share/glpi/plugins/customfields/locales/fr_FR.php at line 130

Fatal error: Call to undefined function registerPluginType() in /usr/share/glpi/plugins/customfields/setup.php on line 65

Les plugins disponibles via le lien sont ils tous compatible avec la 0.78 (tout simplement) ?


Prod. : CentOS 6.5 - PHP 5.3.3 - Apache 2.2.15 - MySQL 5.1.73 - OCS 2.1.2 - GLPI 0.84.6
Dev. : CentOS 7 - PHP 5.4.16 - Apache 2.4.6 - MariaDB 5.5.50 - OCS 2.3 - GLPI 9.1.2 + OPcache 7.0.5FE + APCu 4.0.11

Offline

#2 2010-09-01 10:56:57

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

Re: [RC2] Plugin customfield en 0.78


Xavier Caillaud
Blog GLPI Infotel

Offline

#3 2010-09-01 11:01:08

J-n-s
Member
From: Rennes
Registered: 2009-10-26
Posts: 419

Re: [RC2] Plugin customfield en 0.78

OK, donc il n'est pas mis à jour.
Mais peux-tu me confirmer qu'il fallait que je désinstalle plutôt que je désactive les plugins avant la mise à jour ?
Il faut bien que j'utilise cette source : https://forge.indepnet.net/tarballs-plugins/ pour la 0.78 ?

Merci smile !


Prod. : CentOS 6.5 - PHP 5.3.3 - Apache 2.2.15 - MySQL 5.1.73 - OCS 2.1.2 - GLPI 0.84.6
Dev. : CentOS 7 - PHP 5.4.16 - Apache 2.4.6 - MariaDB 5.5.50 - OCS 2.3 - GLPI 9.1.2 + OPcache 7.0.5FE + APCu 4.0.11

Offline

#4 2010-09-01 11:28:42

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

Re: [RC2] Plugin customfield en 0.78

Non surtout pas les désinstaller.

Pour la source, oui.


Xavier Caillaud
Blog GLPI Infotel

Offline

#5 2010-09-22 10:17:55

J-n-s
Member
From: Rennes
Registered: 2009-10-26
Posts: 419

Re: [RC2] Plugin customfield en 0.78

Si quelqu'un sait si il est prévu une mise à jour de customfield pour la 0.78 ?!


Prod. : CentOS 6.5 - PHP 5.3.3 - Apache 2.2.15 - MySQL 5.1.73 - OCS 2.1.2 - GLPI 0.84.6
Dev. : CentOS 7 - PHP 5.4.16 - Apache 2.4.6 - MariaDB 5.5.50 - OCS 2.3 - GLPI 9.1.2 + OPcache 7.0.5FE + APCu 4.0.11

Offline

#6 2010-09-22 10:24:57

wawa
GLPI-DEV
From: Montpellier / France
Registered: 2006-07-03
Posts: 6,019
Website

Re: [RC2] Plugin customfield en 0.78

aucune idée, il faut demander directement à son créateur

Offline

#7 2011-03-27 14:25:37

yllen
GLPI-DEV
From: Sillery (51)
Registered: 2008-01-14
Posts: 15,278

Re: [RC2] Plugin customfield en 0.78

J-n-s : plugin en cours de ré-écriture mais j'ai besoin des tables customfields de la 0.72 pour tester le migration (actuellement tout est écrit à l'aveugle);
Si tu as ça sous la main, ce serait cool...


CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6  - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

Offline

#8 2011-03-28 10:35:56

J-n-s
Member
From: Rennes
Registered: 2009-10-26
Posts: 419

Re: [RC2] Plugin customfield en 0.78

Salut Yllen,

Tu souhaites mes tables du plugin dans la version 0.72 si j'ai bien compris?
Je n'ai pas ca sous la main actuellement, mais je pourrais t'envoyer ca la semaine prochaine (a partir du 04/04/2011) !

Cordialement,

Jonas


Prod. : CentOS 6.5 - PHP 5.3.3 - Apache 2.2.15 - MySQL 5.1.73 - OCS 2.1.2 - GLPI 0.84.6
Dev. : CentOS 7 - PHP 5.4.16 - Apache 2.4.6 - MariaDB 5.5.50 - OCS 2.3 - GLPI 9.1.2 + OPcache 7.0.5FE + APCu 4.0.11

Offline

Board footer

Powered by FluxBB