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 2012-09-27 15:42:45

Eric26
Member
From: Valence (26)
Registered: 2007-02-17
Posts: 434
Website

[Data Injection 2.2.3] Blocage sur page blanche après install

Bonjour,

Je viens d'installer le plugin Data Injection sur mon GLPI 0.83.4 (besoin ponctuel d'injecter des inventaires dans des fichiers CSV). L'installation se passe bien mais quand je me rends dans dans le menu Plugins > Injection de fichiers, le navigateur (testé avec IE 8/9 et FF 15.0.1) tourne en boucle sur le rechargement d'une page blanche.

Quelqu'un a-t-il déjà rencontré ce problème ? si oui, comment l'avez-vous résolu ?


Amicalement,
Eric
-------------------------------------------------------------
Prod : GLPI 10.0.9 - Serveur IIS8.5 (w2012r2) - PHP 8.1.21 - MySql 5.7.11 -- Test : GLPI 10.0.9 - Serveur IIS8.5 (w2012r2) - PHP 8.1.21 - MySql 5.7.11

Offline

#2 2012-09-27 16:04:27

Eric26
Member
From: Valence (26)
Registered: 2007-02-17
Posts: 434
Website

Re: [Data Injection 2.2.3] Blocage sur page blanche après install

Petite précision que j'ai oublié : Le php_errors.logs est vide et le mode débug n'indique rien de plus...


Amicalement,
Eric
-------------------------------------------------------------
Prod : GLPI 10.0.9 - Serveur IIS8.5 (w2012r2) - PHP 8.1.21 - MySql 5.7.11 -- Test : GLPI 10.0.9 - Serveur IIS8.5 (w2012r2) - PHP 8.1.21 - MySql 5.7.11

Offline

#3 2012-09-28 09:57:41

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

Re: [Data Injection 2.2.3] Blocage sur page blanche après install

bonjour
passez glpi en mode debug et dites moi s'il y a des erreurs

Offline

#4 2012-09-28 10:06:36

Eric26
Member
From: Valence (26)
Registered: 2007-02-17
Posts: 434
Website

Re: [Data Injection 2.2.3] Blocage sur page blanche après install

wawa wrote:

bonjour
passez glpi en mode debug et dites moi s'il y a des erreurs

Bonjour,

Comme je l'ai indiqué dans mon post précédent, en mode debug, je n'ai pas d'erreurs. En fait, s'il y en a, je ne peux pas les voir car aucune page ne se charge.
Dès que je clique sur "Injection de fichiers" dans le menu des plugins, une page blanche apparait et le navigateur tente en permanence de la recharger comme s'il y avait une redirection en boucle infinie. Mais ce ne doit pas être le cas car Firefox l'aurait détecté et m'aurait averti.
A ce stade, pour débloquer mon GLPI, je dois arrêter le chargement de la page blanche et faire un history_back sur le navigateur. Je me retrouve alors sur la page précédente à mon action sur le menu "Injection de fichiers" et le mode debug me dit que tout va bien.

Et toujours rien dans les fichiers de logs...


Amicalement,
Eric
-------------------------------------------------------------
Prod : GLPI 10.0.9 - Serveur IIS8.5 (w2012r2) - PHP 8.1.21 - MySql 5.7.11 -- Test : GLPI 10.0.9 - Serveur IIS8.5 (w2012r2) - PHP 8.1.21 - MySql 5.7.11

Offline

#5 2012-09-28 11:23:12

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

Re: [Data Injection 2.2.3] Blocage sur page blanche après install

et dans les logs apache il y a quelque chose ?

Offline

#6 2012-09-28 11:32:11

Eric26
Member
From: Valence (26)
Registered: 2007-02-17
Posts: 434
Website

Re: [Data Injection 2.2.3] Blocage sur page blanche après install

Apache, non car je suis sous IIS wink

Sinon, les logs IIS (le peu qu'il y a) ne montre pas de problèmes non plus. Faut dire que IIS est connu pour ne pas être très bavard sad


Amicalement,
Eric
-------------------------------------------------------------
Prod : GLPI 10.0.9 - Serveur IIS8.5 (w2012r2) - PHP 8.1.21 - MySql 5.7.11 -- Test : GLPI 10.0.9 - Serveur IIS8.5 (w2012r2) - PHP 8.1.21 - MySql 5.7.11

Offline

#7 2012-09-28 11:43:48

Eric26
Member
From: Valence (26)
Registered: 2007-02-17
Posts: 434
Website

Re: [Data Injection 2.2.3] Blocage sur page blanche après install

Voici un extrait de ce que j'ai pu trouver comme trace dans les logs IIS pour mon site GLPI lorsque le problème se produit :

2012-09-28 09:39:18 10.26.47.140 GET /plugins/datainjection/ - 80 - 10.10.46.140 Mozilla/5.0+(Windows+NT+6.1;+WOW64;+rv:15.0)+Gecko/20100101+Firefox/15.0.1 200 0 0 124
2012-09-28 09:39:18 10.26.47.140 GET /plugins/datainjection/ - 80 - 10.10.46.140 Mozilla/5.0+(Windows+NT+6.1;+WOW64;+rv:15.0)+Gecko/20100101+Firefox/15.0.1 200 0 0 46
2012-09-28 09:39:18 10.26.47.140 GET /plugins/datainjection/ - 80 - 10.10.46.140 Mozilla/5.0+(Windows+NT+6.1;+WOW64;+rv:15.0)+Gecko/20100101+Firefox/15.0.1 200 0 0 78
2012-09-28 09:39:18 10.26.47.140 GET /plugins/datainjection/ - 80 - 10.10.46.140 Mozilla/5.0+(Windows+NT+6.1;+WOW64;+rv:15.0)+Gecko/20100101+Firefox/15.0.1 200 0 0 62
2012-09-28 09:39:18 10.26.47.140 GET /plugins/datainjection/ - 80 - 10.10.46.140 Mozilla/5.0+(Windows+NT+6.1;+WOW64;+rv:15.0)+Gecko/20100101+Firefox/15.0.1 200 0 0 46
2012-09-28 09:39:18 10.26.47.140 GET /plugins/datainjection/ - 80 - 10.10.46.140 Mozilla/5.0+(Windows+NT+6.1;+WOW64;+rv:15.0)+Gecko/20100101+Firefox/15.0.1 200 0 0 62
2012-09-28 09:39:18 10.26.47.140 GET /plugins/datainjection/ - 80 - 10.10.46.140 Mozilla/5.0+(Windows+NT+6.1;+WOW64;+rv:15.0)+Gecko/20100101+Firefox/15.0.1 200 0 0 93
2012-09-28 09:39:18 10.26.47.140 GET /plugins/datainjection/ - 80 - 10.10.46.140 Mozilla/5.0+(Windows+NT+6.1;+WOW64;+rv:15.0)+Gecko/20100101+Firefox/15.0.1 200 0 0 62
2012-09-28 09:39:18 10.26.47.140 GET /plugins/datainjection/ - 80 - 10.10.46.140 Mozilla/5.0+(Windows+NT+6.1;+WOW64;+rv:15.0)+Gecko/20100101+Firefox/15.0.1 200 0 0 62
2012-09-28 09:39:18 10.26.47.140 GET /plugins/datainjection/ - 80 - 10.10.46.140 Mozilla/5.0+(Windows+NT+6.1;+WOW64;+rv:15.0)+Gecko/20100101+Firefox/15.0.1 200 0 64 62

Et c'est comme çà jusqu'à ce que j'annule le chargement de la page dans le navigateur.


Amicalement,
Eric
-------------------------------------------------------------
Prod : GLPI 10.0.9 - Serveur IIS8.5 (w2012r2) - PHP 8.1.21 - MySql 5.7.11 -- Test : GLPI 10.0.9 - Serveur IIS8.5 (w2012r2) - PHP 8.1.21 - MySql 5.7.11

Offline

#8 2012-10-02 08:11:45

Eric26
Member
From: Valence (26)
Registered: 2007-02-17
Posts: 434
Website

Re: [Data Injection 2.2.3] Blocage sur page blanche après install

Bonjour,

Rien de mieux pour mon problème ? J'ai l'impression que GLPI tente de charger une page en boucle sans jamais y parvenir.

J'ai installé un GLPI 0.83.4 tout neuf sur un Wampserver et installé le plugin : RAS. Tout fonctionne bien. Un problème avec mon GLPI ?
Avec mon serveur IIS ? Pourtant d'autres plugins fonctionnent parfaitement. Data Injection a-t-il besoin de permissions particulières pour fonctionner (rien vu de tel sur la page du projet ou dans ce forum) ?

Comment faire pour résoudre ce pb, svp ? J'ai vraiment besoin de ce plugin pour importer des users et des ordinateurs depuis des fichiers CSV.


Amicalement,
Eric
-------------------------------------------------------------
Prod : GLPI 10.0.9 - Serveur IIS8.5 (w2012r2) - PHP 8.1.21 - MySql 5.7.11 -- Test : GLPI 10.0.9 - Serveur IIS8.5 (w2012r2) - PHP 8.1.21 - MySql 5.7.11

Offline

#9 2012-10-02 08:13:56

Eric26
Member
From: Valence (26)
Registered: 2007-02-17
Posts: 434
Website

Re: [Data Injection 2.2.3] Blocage sur page blanche après install

Je viens de tomber sur http://www.glpi-project.org/forum/viewt … ?id=29830. Un rapport avec mon pb ?


Amicalement,
Eric
-------------------------------------------------------------
Prod : GLPI 10.0.9 - Serveur IIS8.5 (w2012r2) - PHP 8.1.21 - MySql 5.7.11 -- Test : GLPI 10.0.9 - Serveur IIS8.5 (w2012r2) - PHP 8.1.21 - MySql 5.7.11

Offline

#10 2012-10-23 16:03:52

frague
Member
Registered: 2009-09-22
Posts: 33

Re: [Data Injection 2.2.3] Blocage sur page blanche après install

Salut à tous,

Je rencontre le même problème avec le plugin DataInjection.

Quand je crée le modèle (création initiale), le modèle se crée (présenta dans la base de données) mais quand je clique dessus dans la liste des modèles, rien ne se passe : les onglets s'affichent ([Principal][Fichier à injecter][Correspondances][Histo][Tous]), mais en dessous il y a une 'roue' ajax qui tourne, mais rien de plus.

$ tail /var/log/apache2/error.log
[Tue Oct 23 17:31:01 2012] [error] [client 172.16.10.29] PHP Fatal error:  Call to undefined function header_nocache() in /usr/local/lib/glpi/plugins/datainjection/ajax/model.tabs.php on line 35, referer: http://glpi/glpi/plugins/datainjection/front/model.form.php?id=15
[Tue Oct 23 17:31:55 2012] [error] [client 172.16.10.29] PHP Fatal error:  Call to undefined function haveRight() in /usr/local/lib/glpi/inc/ticketcategory.class.php on line 43, referer: http://glpi/glpi/plugins/datainjection/front/clientinjection.form.php
[Tue Oct 23 17:32:00 2012] [error] [client 172.16.10.29] PHP Fatal error:  Call to undefined function haveRight() in /usr/local/lib/glpi/inc/ticketcategory.class.php on line 43, referer: http://glpi/glpi/plugins/datainjection/front/clientinjection.form.php
[Tue Oct 23 17:36:26 2012] [error] [client 172.16.10.29] PHP Fatal error:  Call to undefined function header_nocache() in /usr/local/lib/glpi/plugins/datainjection/ajax/model.tabs.php on line 35, referer: http://glpi/glpi/plugins/datainjection/front/model.form.php?id=1
[Tue Oct 23 17:36:31 2012] [error] [client 172.16.10.29] PHP Fatal error:  Call to undefined function header_nocache() in /usr/local/lib/glpi/plugins/datainjection/ajax/model.tabs.php on line 35, referer: http://glpi/glpi/plugins/datainjection/front/model.form.php?id=1
[Tue Oct 23 17:36:46 2012] [error] [client 172.16.10.29] PHP Fatal error:  Call to undefined function header_nocache() in /usr/local/lib/glpi/plugins/datainjection/ajax/model.tabs.php on line 35, referer: http://glpi/glpi/plugins/datainjection/front/model.form.php?id=1
[Tue Oct 23 17:36:51 2012] [error] [client 172.16.10.29] PHP Fatal error:  Call to undefined function header_nocache() in /usr/local/lib/glpi/plugins/datainjection/ajax/model.tabs.php on line 35, referer: http://glpi/glpi/plugins/datainjection/front/model.form.php?id=1
[Tue Oct 23 17:37:48 2012] [error] [client 172.16.10.29] PHP Fatal error:  Call to undefined function header_nocache() in /usr/local/lib/glpi/plugins/datainjection/ajax/model.tabs.php on line 35, referer: http://glpi/glpi/plugins/datainjection/front/model.form.php?id=1
[Tue Oct 23 17:37:52 2012] [error] [client 172.16.10.29] PHP Fatal error:  Call to undefined function header_nocache() in /usr/local/lib/glpi/plugins/datainjection/ajax/model.tabs.php on line 35, referer: http://glpi/glpi/plugins/datainjection/front/model.form.php?id=1
[Tue Oct 23 17:43:39 2012] [error] [client 172.16.10.29] PHP Fatal error:  Call to undefined function header_nocache() in /usr/local/lib/glpi/plugins/datainjection/ajax/model.tabs.php on line 35, referer: http://glpi/glpi/plugins/datainjection/front/model.form.php?id=1
[Tue Oct 23 17:44:26 2012] [error] [client 172.16.10.29] PHP Fatal error:  Call to undefined function header_nocache() in /usr/local/lib/glpi/plugins/datainjection/ajax/model.tabs.php on line 35, referer: http://glpi/glpi/plugins/datainjection/front/model.form.php?id=1
[Tue Oct 23 17:44:51 2012] [error] [client 172.16.10.29] PHP Fatal error:  Call to undefined function header_nocache() in /usr/local/lib/glpi/plugins/datainjection/ajax/model.tabs.php on line 35, referer: http://glpi/glpi/plugins/datainjection/front/model.form.php?id=1
[Tue Oct 23 17:45:44 2012] [error] [client 172.16.10.29] PHP Fatal error:  Call to undefined function header_nocache() in /usr/local/lib/glpi/plugins/datainjection/ajax/model.tabs.php on line 35, referer: http://glpi/glpi/plugins/datainjection/front/model.form.php?id=1
[Tue Oct 23 17:45:53 2012] [error] [client 172.16.10.29] PHP Fatal error:  Call to undefined function header_nocache() in /usr/local/lib/glpi/plugins/datainjection/ajax/model.tabs.php on line 35, referer: http://glpi/glpi/plugins/datainjection/front/model.form.php?id=1
[Tue Oct 23 17:47:26 2012] [error] [client 172.16.10.29] PHP Fatal error:  Call to undefined function header_nocache() in /usr/local/lib/glpi/plugins/datainjection/ajax/model.tabs.php on line 35, referer: http://glpi/glpi/plugins/datainjection/front/model.form.php?id=1
[Tue Oct 23 17:47:30 2012] [error] [client 172.16.10.29] PHP Fatal error:  Call to undefined function header_nocache() in /usr/local/lib/glpi/plugins/datainjection/ajax/model.tabs.php on line 35, referer: http://glpi/glpi/plugins/datainjection/front/model.form.php?id=1
[Tue Oct 23 17:49:52 2012] [error] [client 172.16.10.29] PHP Fatal error:  Using $this when not in object context in /usr/local/lib/glpi/plugins/manageentities/inc/preference.class.php on line 57, referer: http://glpi/glpi/front/preference.php
[Tue Oct 23 17:55:19 2012] [error] [client 172.16.10.29] PHP Fatal error:  Call to undefined function header_nocache() in /usr/local/lib/glpi/plugins/datainjection/ajax/model.tabs.php on line 35, referer: http://glpi/glpi/plugins/datainjection/front/model.form.php?id=1

Il y a un truc qui marche pas bien, là...

GLPI 0.83 4 / datainjection 2.2.3

Cordialement,
Frague

Offline

#11 2012-10-23 16:08:04

Eric26
Member
From: Valence (26)
Registered: 2007-02-17
Posts: 434
Website

Re: [Data Injection 2.2.3] Blocage sur page blanche après install

Bienvenu au club, frague... sad

Pour ma part, comme cela devenait relativement urgent, j'ai pris le parti de me passer du plugin et de faire mes injections de données directement dans la base de données via des fichier CSV. Cà a fonctionné car il ne s'agissait que d'injecter 200 comptes d'utilisateurs locaux à GLPI (soit 2 tables à traiter).

Mais s'il s'était agit de matériels, ce plugin aurait été incontournable. Vraiment dommage...

[edit] Si seulement j'avais un peu de temps dispo, je me serai bien lancé dans le Dev mais je suis "sur-booké". [/edit]

Last edited by Eric26 (2012-10-23 16:09:11)


Amicalement,
Eric
-------------------------------------------------------------
Prod : GLPI 10.0.9 - Serveur IIS8.5 (w2012r2) - PHP 8.1.21 - MySql 5.7.11 -- Test : GLPI 10.0.9 - Serveur IIS8.5 (w2012r2) - PHP 8.1.21 - MySql 5.7.11

Offline

#12 2012-10-23 16:13:44

frague
Member
Registered: 2009-09-22
Posts: 33

Re: [Data Injection 2.2.3] Blocage sur page blanche après install

Bonjour,

Bon, bah je vais me faire un script pour tout injecter en CSV... 800 lieux avec une hiréarchie compliquée !

Bonne fin d'après-midi en perspective !

frague

Offline

#13 2012-10-23 17:51:47

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

Re: [Data Injection 2.2.3] Blocage sur page blanche après install

vous avez écrasé les fichiers du plugin 0.80 par celui de la 0.83 et forcément ça ne peut pas marcher....

Offline

#14 2012-10-23 20:56:12

frague
Member
Registered: 2009-09-22
Posts: 33

Re: [Data Injection 2.2.3] Blocage sur page blanche après install

Salut Wawa,

Comment on remet ce fichier en place ? 

C'est quel fichier ?

Cordialement,
frague

Offline

#15 2012-10-23 21:45:37

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

Re: [Data Injection 2.2.3] Blocage sur page blanche après install

et bien on suit la procédure de mise à jour des plugins,
on déplace le répertoire de l'ancienne version ailleurs, et on décompresse les fichiers de la nouvelle dans /plugins
et ensuite on met à jour dans l'interface

là vous avez des fichiers de la 0.80 qui trainent sur une install 0.83 et ça crashe

Offline

Board footer

Powered by FluxBB