You are not logged in.
Pages: 1
Bonjour,
Je dois mettre en production pour une administration GLPI multi-entités. En plus du matériel informatique, nous allons gérer des bâtiments, des véhicules et un ensemble d'autres objets. Pour cela j'utilise le module magic Generic Objet en version 2.4.0 sur GLPI 9.1.1. Mon ou plutôt mes soucis sont que lorsque le plugin est activé il y a deux effets de bord.
Le premier.
La génération native de PDF ne fonctionne plus (même pour les objets natifs de GLPI)
"TCPDF ERROR: Some data has already been output, can't send PDF file"
Voici le Log
"2016-11-22 09:21:08 [1002@srv-31555-glpi1]
*** PHP Notice(8): Undefined index: date_creation
Backtrace :
plugins/genericobject/inc/field.class.php:279
plugins/genericobject/inc/type.class.php:1672 PluginGenericobjectField::getFieldOptions()
plugins/genericobject/inc/object.class.php:199 PluginGenericobjectType::getDropdownForItemtype()
plugins/genericobject/setup.php:162 PluginGenericobjectObject::registerType()
: plugin_post_init_genericobject()
inc/plugin.class.php:1138 call_user_func()
inc/includes.php:120 Plugin::doHook()
plugins/genericobject/front/object.php:28 include()
2016-11-22 09:21:08 [1002@srv-31555-glpi1]
*** PHP Notice(8): Undefined index: date_creation
Backtrace :
plugins/genericobject/inc/field.class.php:279
plugins/genericobject/inc/object.class.php:765 PluginGenericobjectField::getFieldOptions()
plugins/genericobject/inc/object.class.php:741 PluginGenericobjectObject->getObjectSearchOptions()
inc/search.class.php:5369 PluginGenericobjectObject->getSearchOptions()
inc/search.class.php:5183 Search::getOptions()
ajax/searchrow.php:52 Search::getCleanedOptions()
inc/search.class.php:1873 include()
inc/search.class.php:79 Search::showGenericSearch()
plugins/genericobject/front/object.php:35 Search::show()
2016-11-22 09:21:08 [1002@srv-31555-glpi1]
*** PHP Notice(8): Undefined index: name
Backtrace :
plugins/genericobject/inc/object.class.php:820
plugins/genericobject/inc/object.class.php:741 PluginGenericobjectObject->getObjectSearchOptions()
inc/search.class.php:5369 PluginGenericobjectObject->getSearchOptions()
inc/search.class.php:5183 Search::getOptions()
ajax/searchrow.php:52 Search::getCleanedOptions()
inc/search.class.php:1873 include()
inc/search.class.php:79 Search::showGenericSearch()
plugins/genericobject/front/object.php:35 Search::show()
2016-11-22 09:21:10 [1002@srv-31555-glpi1]
*** PHP Notice(8): Undefined index: date_creation
Backtrace :
plugins/genericobject/inc/field.class.php:279
plugins/genericobject/inc/type.class.php:1672 PluginGenericobjectField::getFieldOptions()
plugins/genericobject/inc/object.class.php:199 PluginGenericobjectType::getDropdownForItemtype()
plugins/genericobject/setup.php:162 PluginGenericobjectObject::registerType()
: plugin_post_init_genericobject()
inc/plugin.class.php:1138 call_user_func()
inc/includes.php:120 Plugin::doHook()
front/report.dynamic.php:38 include()
2016-11-22 09:21:10 [1002@srv-31555-glpi1]
*** PHP Notice(8): Undefined index: date_creation
Backtrace :
plugins/genericobject/inc/field.class.php:279
plugins/genericobject/inc/object.class.php:765 PluginGenericobjectField::getFieldOptions()
plugins/genericobject/inc/object.class.php:741 PluginGenericobjectObject->getObjectSearchOptions()
inc/search.class.php:5369 PluginGenericobjectObject->getSearchOptions()
inc/search.class.php:5183 Search::getOptions()
inc/search.class.php:275 Search::getCleanedOptions()
inc/search.class.php:95 Search::prepareDatasForSearch()
front/report.dynamic.php:91 Search::showList()
2016-11-22 09:21:10 [1002@srv-31555-glpi1]
*** PHP Notice(8): Undefined index: name
Backtrace :
plugins/genericobject/inc/object.class.php:820
plugins/genericobject/inc/object.class.php:741 PluginGenericobjectObject->getObjectSearchOptions()
inc/search.class.php:5369 PluginGenericobjectObject->getSearchOptions()
inc/search.class.php:5183 Search::getOptions()
inc/search.class.php:275 Search::getCleanedOptions()
inc/search.class.php:95 Search::prepareDatasForSearch()
front/report.dynamic.php:91 Search::showList() "
Second soucis
La création d'un Ticket
Depuis l'interface Créer un Ticket lorsque je choisi un Objet celui-ci n'est pas rattaché au ticket ????
Voici le log
"2016-11-22 09:27:26 [1002@srv-31555-glpi1]
*** PHP Notice(8): Undefined index: date_creation
Backtrace :
plugins/genericobject/inc/field.class.php:279
plugins/genericobject/inc/type.class.php:1672 PluginGenericobjectField::getFieldOptions()
plugins/genericobject/inc/object.class.php:199 PluginGenericobjectType::getDropdownForItemtype()
plugins/genericobject/setup.php:162 PluginGenericobjectObject::registerType()
: plugin_post_init_genericobject()
inc/plugin.class.php:1138 call_user_func()
inc/includes.php:120 Plugin::doHook()
front/ticket.form.php:38 include()
2016-11-22 09:27:26 [1002@srv-31555-glpi1]
*** PHP Notice(8): Undefined index: date_creation
Backtrace :
plugins/genericobject/inc/field.class.php:279
plugins/genericobject/inc/type.class.php:1672 PluginGenericobjectField::getFieldOptions()
plugins/genericobject/inc/object.class.php:199 PluginGenericobjectType::getDropdownForItemtype()
plugins/genericobject/setup.php:162 PluginGenericobjectObject::registerType()
: plugin_post_init_genericobject()
inc/plugin.class.php:1138 call_user_func()
inc/includes.php:120 Plugin::doHook()
front/cron.php:43 include()
2016-11-22 09:27:27 [1002@srv-31555-glpi1]
*** PHP Notice(8): Undefined index: date_creation
Backtrace :
plugins/genericobject/inc/field.class.php:279
plugins/genericobject/inc/type.class.php:1672 PluginGenericobjectField::getFieldOptions()
plugins/genericobject/inc/object.class.php:199 PluginGenericobjectType::getDropdownForItemtype()
plugins/genericobject/setup.php:162 PluginGenericobjectObject::registerType()
: plugin_post_init_genericobject()
inc/plugin.class.php:1138 call_user_func()
inc/includes.php:120 Plugin::doHook()
ajax/common.tabs.php:38 include()
2016-11-22 09:27:33 [1002@srv-31555-glpi1]
*** PHP Notice(8): Undefined index: date_creation
Backtrace :
plugins/genericobject/inc/field.class.php:279
plugins/genericobject/inc/type.class.php:1672 PluginGenericobjectField::getFieldOptions()
plugins/genericobject/inc/object.class.php:199 PluginGenericobjectType::getDropdownForItemtype()
plugins/genericobject/setup.php:162 PluginGenericobjectObject::registerType()
: plugin_post_init_genericobject()
inc/plugin.class.php:1138 call_user_func()
inc/includes.php:120 Plugin::doHook()
front/central.php:39 include()
2016-11-22 09:27:33 [1002@srv-31555-glpi1]
*** PHP Notice(8): Undefined index: date_creation
Backtrace :
plugins/genericobject/inc/field.class.php:279
plugins/genericobject/inc/type.class.php:1672 PluginGenericobjectField::getFieldOptions()
plugins/genericobject/inc/object.class.php:199 PluginGenericobjectType::getDropdownForItemtype()
plugins/genericobject/setup.php:162 PluginGenericobjectObject::registerType()
: plugin_post_init_genericobject()
inc/plugin.class.php:1138 call_user_func()
inc/includes.php:120 Plugin::doHook()
front/ticket.form.php:38 include()
2016-11-22 09:27:34 [1002@srv-31555-glpi1]
*** PHP Notice(8): Undefined index: date_creation
Backtrace :
plugins/genericobject/inc/field.class.php:279
plugins/genericobject/inc/type.class.php:1672 PluginGenericobjectField::getFieldOptions()
plugins/genericobject/inc/object.class.php:199 PluginGenericobjectType::getDropdownForItemtype()
plugins/genericobject/setup.php:162 PluginGenericobjectObject::registerType()
: plugin_post_init_genericobject()
inc/plugin.class.php:1138 call_user_func()
inc/includes.php:120 Plugin::doHook()
ajax/common.tabs.php:38 include()
2016-11-22 09:27:38 [1002@srv-31555-glpi1]
*** PHP Notice(8): Undefined index: date_creation
Backtrace :
plugins/genericobject/inc/field.class.php:279
plugins/genericobject/inc/type.class.php:1672 PluginGenericobjectField::getFieldOptions()
plugins/genericobject/inc/object.class.php:199 PluginGenericobjectType::getDropdownForItemtype()
plugins/genericobject/setup.php:162 PluginGenericobjectObject::registerType()
: plugin_post_init_genericobject()
inc/plugin.class.php:1138 call_user_func()
inc/includes.php:120 Plugin::doHook()
ajax/dropdownTrackingDeviceType.php:38 include()
2016-11-22 09:27:39 [1002@srv-31555-glpi1]
*** PHP Notice(8): Undefined index: date_creation
Backtrace :
plugins/genericobject/inc/field.class.php:279
plugins/genericobject/inc/type.class.php:1672 PluginGenericobjectField::getFieldOptions()
plugins/genericobject/inc/object.class.php:199 PluginGenericobjectType::getDropdownForItemtype()
plugins/genericobject/setup.php:162 PluginGenericobjectObject::registerType()
: plugin_post_init_genericobject()
inc/plugin.class.php:1138 call_user_func()
inc/includes.php:120 Plugin::doHook()
ajax/getDropdownFindNum.php:39 include()"
Par contre si je passe par l'Objet et que j'y ajoute un Ticket pas de problème ....!
Voici le log
"2016-11-22 09:31:24 [1002@srv-31555-glpi1]
*** PHP Notice(8): Undefined index: date_creation
Backtrace :
plugins/genericobject/inc/field.class.php:279
plugins/genericobject/inc/type.class.php:1672 PluginGenericobjectField::getFieldOptions()
plugins/genericobject/inc/object.class.php:199 PluginGenericobjectType::getDropdownForItemtype()
plugins/genericobject/setup.php:162 PluginGenericobjectObject::registerType()
: plugin_post_init_genericobject()
inc/plugin.class.php:1138 call_user_func()
inc/includes.php:120 Plugin::doHook()
plugins/genericobject/front/object.php:28 include()
2016-11-22 09:31:24 [1002@srv-31555-glpi1]
*** PHP Notice(8): Undefined index: date_creation
Backtrace :
plugins/genericobject/inc/field.class.php:279
plugins/genericobject/inc/object.class.php:765 PluginGenericobjectField::getFieldOptions()
plugins/genericobject/inc/object.class.php:741 PluginGenericobjectObject->getObjectSearchOptions()
inc/search.class.php:5369 PluginGenericobjectObject->getSearchOptions()
inc/search.class.php:5183 Search::getOptions()
ajax/searchrow.php:52 Search::getCleanedOptions()
inc/search.class.php:1873 include()
inc/search.class.php:79 Search::showGenericSearch()
plugins/genericobject/front/object.php:35 Search::show()
2016-11-22 09:31:24 [1002@srv-31555-glpi1]
*** PHP Notice(8): Undefined index: name
Backtrace :
plugins/genericobject/inc/object.class.php:820
plugins/genericobject/inc/object.class.php:741 PluginGenericobjectObject->getObjectSearchOptions()
inc/search.class.php:5369 PluginGenericobjectObject->getSearchOptions()
inc/search.class.php:5183 Search::getOptions()
ajax/searchrow.php:52 Search::getCleanedOptions()
inc/search.class.php:1873 include()
inc/search.class.php:79 Search::showGenericSearch()
plugins/genericobject/front/object.php:35 Search::show()
2016-11-22 09:31:26 [1002@srv-31555-glpi1]
*** PHP Notice(8): Undefined index: date_creation
Backtrace :
plugins/genericobject/inc/field.class.php:279
plugins/genericobject/inc/type.class.php:1672 PluginGenericobjectField::getFieldOptions()
plugins/genericobject/inc/object.class.php:199 PluginGenericobjectType::getDropdownForItemtype()
plugins/genericobject/setup.php:162 PluginGenericobjectObject::registerType()
: plugin_post_init_genericobject()
inc/plugin.class.php:1138 call_user_func()
inc/includes.php:120 Plugin::doHook()
plugins/genericobject/front/object.form.php:30 include()
2016-11-22 09:31:27 [1002@srv-31555-glpi1]
*** PHP Notice(8): Undefined index: date_creation
Backtrace :
plugins/genericobject/inc/field.class.php:279
plugins/genericobject/inc/type.class.php:1672 PluginGenericobjectField::getFieldOptions()
plugins/genericobject/inc/object.class.php:199 PluginGenericobjectType::getDropdownForItemtype()
plugins/genericobject/setup.php:162 PluginGenericobjectObject::registerType()
: plugin_post_init_genericobject()
inc/plugin.class.php:1138 call_user_func()
inc/includes.php:120 Plugin::doHook()
ajax/common.tabs.php:38 include()
2016-11-22 09:31:27 [1002@srv-31555-glpi1]
*** PHP Notice(8): Undefined index: date_creation
Backtrace :
plugins/genericobject/inc/field.class.php:279
plugins/genericobject/inc/object.class.php:765 PluginGenericobjectField::getFieldOptions()
plugins/genericobject/inc/object.class.php:741 PluginGenericobjectObject->getObjectSearchOptions()
inc/search.class.php:5369 PluginGenericobjectObject->getSearchOptions()
inc/search.class.php:5245 Search::getOptions()
inc/ticket.class.php:5219 Search::getOptionNumber()
inc/ticket.class.php:687 Ticket::showListForItem()
inc/commonglpi.class.php:477 Ticket::displayTabContentForItem()
ajax/common.tabs.php:97 CommonGLPI::displayStandardTab()
2016-11-22 09:31:27 [1002@srv-31555-glpi1]
*** PHP Notice(8): Undefined index: name
Backtrace :
plugins/genericobject/inc/object.class.php:820
plugins/genericobject/inc/object.class.php:741 PluginGenericobjectObject->getObjectSearchOptions()
inc/search.class.php:5369 PluginGenericobjectObject->getSearchOptions()
inc/search.class.php:5245 Search::getOptions()
inc/ticket.class.php:5219 Search::getOptionNumber()
inc/ticket.class.php:687 Ticket::showListForItem()
inc/commonglpi.class.php:477 Ticket::displayTabContentForItem()
ajax/common.tabs.php:97 CommonGLPI::displayStandardTab()
2016-11-22 09:31:29 [1002@srv-31555-glpi1]
*** PHP Notice(8): Undefined index: date_creation
Backtrace :
plugins/genericobject/inc/field.class.php:279
plugins/genericobject/inc/type.class.php:1672 PluginGenericobjectField::getFieldOptions()
plugins/genericobject/inc/object.class.php:199 PluginGenericobjectType::getDropdownForItemtype()
plugins/genericobject/setup.php:162 PluginGenericobjectObject::registerType()
: plugin_post_init_genericobject()
inc/plugin.class.php:1138 call_user_func()
inc/includes.php:120 Plugin::doHook()
front/ticket.form.php:38 include()
2016-11-22 09:31:30 [1002@srv-31555-glpi1]
*** PHP Notice(8): Undefined index: date_creation
Backtrace :
plugins/genericobject/inc/field.class.php:279
plugins/genericobject/inc/type.class.php:1672 PluginGenericobjectField::getFieldOptions()
plugins/genericobject/inc/object.class.php:199 PluginGenericobjectType::getDropdownForItemtype()
plugins/genericobject/setup.php:162 PluginGenericobjectObject::registerType()
: plugin_post_init_genericobject()
inc/plugin.class.php:1138 call_user_func()
inc/includes.php:120 Plugin::doHook()
ajax/common.tabs.php:38 include()
2016-11-22 09:31:30 [1002@srv-31555-glpi1]
*** PHP Notice(8): Undefined index: date_creation
Backtrace :
plugins/genericobject/inc/field.class.php:279
plugins/genericobject/inc/type.class.php:1672 PluginGenericobjectField::getFieldOptions()
plugins/genericobject/inc/object.class.php:199 PluginGenericobjectType::getDropdownForItemtype()
plugins/genericobject/setup.php:162 PluginGenericobjectObject::registerType()
: plugin_post_init_genericobject()
inc/plugin.class.php:1138 call_user_func()
inc/includes.php:120 Plugin::doHook()
ajax/dropdownTrackingDeviceType.php:38 include()"
Pour info voici la version de GLPI
GLPI 9.1.1 (/glpi => /usr/share/glpi)
Server
Operating system: Linux srv-31555-glpi1 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19) x86_64
PHP 5.6.27-0+deb8u1 apache2handler (Core, PDO, Phar, Reflection, SPL, SimpleXML, Zend OPcache, apache2handler, apc, apcu,
bcmath, bz2, calendar, ctype, curl, date, dba, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, imap, json,
ldap, libxml, mbstring, mcrypt, mhash, mysql, mysqli, openssl, pcre, pdo_mysql, posix, readline, session, shmop, soap, sockets,
standard, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xml, xmlreader, xmlwriter, zip, zlib)
Setup: max_execution_time="30" memory_limit="128M" post_max_size="8M" safe_mode="" session.save_handler="files"
upload_max_filesize="2M"
Software: Apache/2.4.10 (Debian) (Apache/2.4.10 (Debian) Server at 10.31.20.109 Port 80)
Mozilla/5.0 (Windows NT 6.1; rv:45.0) Gecko/20100101 Firefox/45.0
Server Software: (Debian)
Server Version: 5.5.53-0+deb8u1
Server SQL Mode:
Parameters: root@127.0.0.1/glpi
Host info: 127.0.0.1 via TCP/IP
OK/usr/share/glpi/config : OK
OK/usr/share/glpi/files : OK
OK/usr/share/glpi/files/_dumps : OK
OK/usr/share/glpi/files/_sessions : OK
OK/usr/share/glpi/files/_cron : OK
OK/usr/share/glpi/files/_graphs : OK
OK/usr/share/glpi/files/_lock : OK
OK/usr/share/glpi/files/_plugins : OK
OK/usr/share/glpi/files/_tmp : OK
OK/usr/share/glpi/files/_rss : OK
OK/usr/share/glpi/files/_uploads : OK
OK/usr/share/glpi/files/_pictures : OK
OK/usr/share/glpi/files/_log : OK
Web access to files directory is protectedWeb access to files directory is protected : OK
Libraries
htmLawed version 1.1.21 in (/usr/share/glpi/lib/htmlawed)
phpCas version 1.3.4 in (/usr/share/glpi/vendor/jasig/phpcas/source)
PHPMailer version 5.2.16 in (/usr/share/glpi/vendor/phpmailer/phpmailer)
Zend Framework in (/usr/share/glpi/vendor/zendframework/zend-loader/src)
zetacomponents/graph in (/usr/share/glpi/vendor/zetacomponents/graph/src)
SimplePie version 1.4.1 in (/usr/share/glpi/vendor/simplepie/simplepie/library)
TCPDF version 6.2.12 in (/usr/share/glpi/vendor/tecnickcom/tcpdf)
michelf/php-markdown in (/usr/share/glpi/vendor/michelf/php-markdown/Michelf)
true/punycode in (/usr/share/glpi/vendor/true/punycode/src)
iacaml/autolink in (/usr/share/glpi/vendor/iamcal/lib_autolink)
sabre/vobject in (/usr/share/glpi/vendor/sabre/vobject/lib)
Plugins list
genericobject Name: Gestion d'objets Version: 2.4.0 State: Enabled
Merci par avance, il serait dommage que je dégrade GLPI en version 0.90 alors que la nouvelle mouture est sortie et doit permettre un suivi des plugins.
debian 8 (3.16.36-1) apache 2.4.10 php 5.6.30 mysql 14.14
glpi 9.1.2
GenericObject .85-1.0 PDF 1.1 DataInjection 2.4.2
Offline
Bizarre je n'ai aucun problème avec generic object 2.4.0 sur GLPI 9.1.1
Vous devriez poster votre bug sur le Git
Last edited by morpheus12 (2016-11-24 13:01:18)
GLPI 10.0.5 sous Windows Server 2016
Offline
Lisez tous cette longue période, difficile de détecter les défauts
Je travaille dans la société Voyage: Circuit Vietnam et j'espère que les touristes en savoir plus sur mon pays Vietnam
Offline
Bizarre je n'ai aucun problème avec generic object 2.4.0 sur GLPI 9.1.1
Vous devriez poster votre bug sur le Git
Je travaille pour tinh bột nghệ nguyên chất vous souhaite une bonne journée
Offline
Bizarre je n'ai aucun problème avec generic object 2.4.0 sur GLPI 9.1.1
Vous devriez poster votre bug sur le Git
Salut es ce que tu as trouvé une solution pour le plugin generic objet ??
Moi lorsque je crée des objets ce plugin, lors de la création de ticket, l'objet ne s'associe pas au ticket ( http://portfoliokoffi.000webhostapp.com/ )
J'utilise glpi 9.1.1 et le plugin generic objet version 2.4.0
Offline
Bizarre je n'ai aucun problème avec generic object 2.4.0 sur GLPI 9.1.1
Vous devriez poster votre bug sur le Git
Salut es ce que tu as trouvé une solution pour le plugin generic objet ??
Moi lorsque je crée des objets ce plugin, lors de la création de ticket, l'objet ne s'associe pas au ticket ( http://portfoliokoffi.000webhostapp.com/ )
J'utilise glpi 9.1.1 et le plugin generic objet version 2.4.0
Offline
Bizarre je n'ai aucun problème avec generic object 2.4.0 sur GLPI 9.1.1
Vous devriez poster votre bug sur le Git
Salut es ce que tu as trouvé une solution pour le plugin generic objet ??
Moi lorsque je crée des objets ce plugin, lors de la création de ticket, l'objet ne s'associe pas au ticket ( http://portfoliokoffi.000webhostapp.com/ )
J'utilise glpi 9.1.1 et le plugin generic objet version 2.4.0
Offline
Bizarre je n'ai aucun problème avec generic object 2.4.0 sur GLPI 9.1.1
Vous devriez poster votre bug sur le Git
Salut es ce que tu as trouvé une solution pour le plugin generic objet ??
Moi lorsque je crée des objets ce plugin, lors de la création de ticket, l'objet ne s'associe pas au ticket ( http://portfoliokoffi.000webhostapp.com/ )
J'utilise glpi 9.1.1 et le plugin generic objet version 2.4.0
Offline
Pages: 1