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-03-30 19:58:35

Belzibute
Member
From: Oise
Registered: 2008-08-03
Posts: 34

pb avec Rapport d'intervention

Bonjour,

j'utilise GLPI depuis plus d' un an et j'ai toujours eu mes réponses dans le forum, sauf la, et je n'arrive pas a trouver, je précise que cela a fonctionné. Je suis sur la version 0.71.5, dans "assistance" et "suivi" je sélèctionne un ticket et dans le combo ou menu déroulant  je séléctionne "générer le rapport d'intervention", je clique sur "valider" et la il revient sur la même page, avec marqué "Opération réalisée avec succès", hors mon pdf ne c'est pas ouvert. En mode débug j'ai les messages d'erreurs suivant:

PHP ERROR: Undefined index: tab_id in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\plugins\ticketreport\front\plugin_ticketreport.export.massive.php at line 39
PHP ERROR: Invalid argument supplied for foreach() in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\plugins\ticketreport\inc\plugin_ticketreport.functions_export.php at line 94
PHP ERROR: Undefined index: nb_items in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\plugins\ticketreport\front\plugin_ticketreport.export.massive.php at line 48

Serait il possible d'avoir un peu d'aide s'il vous  plaît ou un conseil ?

Merci d'avance et encore bravo à toutes les personnes qui se donne du mal, car vraiment bien comme logiciel.


GLPI 0.72.1 (> 500 PC)
MySQL 5.1.41 - OCS 1.02.1
Windows 2003 R2
Plug-In: Tracker - OCS Import - domaines - EmailKB - Portail entités - imp. PDF

Offline

#2 2009-03-30 21:37:27

Belzibute
Member
From: Oise
Registered: 2008-08-03
Posts: 34

Re: pb avec Rapport d'intervention

re bonjour,

Je viens de reinstaller la version 0.71.2 avec une sauvegarde de cette version et toujours les mêmes erreurs.
J'ai téléchargé une nouvelle fois le plug-in et réinstaller ne marche toujours pas.

Par contre j'ai les messages suivant entre le moment ou je clique sur "Valide" et le retour à la page d'origine. Message que je ne retrouve pas après puisque se sont ceux précèdement que j'ai, il m'a fallu faire un imprime écran et vous les recopiés.

PHP ERROR: fopen(../../../files/pdf/report_2009-03-30-21-27_ticket_9.pdf) [function.fopen]: failed to open stream: No such file or directory in E:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\plugins\ticketreport\inc\plugin_ticketreport.functions_export.php at line 566

PHP ERROR:fwrite(): supplied argument is not valid stream resource in E:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\plugins\ticketreport\inc\plugin_ticketreport.functions_export.php at line 567

PHP ERROR:fclose(): supplied argument is not valid stream resource in E:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\plugins\ticketreport\inc\plugin_ticketreport.functions_export.php at line 568

Cordialement.


GLPI 0.72.1 (> 500 PC)
MySQL 5.1.41 - OCS 1.02.1
Windows 2003 R2
Plug-In: Tracker - OCS Import - domaines - EmailKB - Portail entités - imp. PDF

Offline

#3 2009-03-31 15:12:17

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

Re: pb avec Rapport d'intervention

Vous avez téléchargé quel version du plugin ?


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

#4 2009-03-31 19:36:22

Belzibute
Member
From: Oise
Registered: 2008-08-03
Posts: 34

Re: pb avec Rapport d'intervention

bonjour,

J'ai téléchargé la dernière disponible, Plugin ticketreport v1.1  ≥ 0.71  qui je suppose doit-être compatible.


GLPI 0.72.1 (> 500 PC)
MySQL 5.1.41 - OCS 1.02.1
Windows 2003 R2
Plug-In: Tracker - OCS Import - domaines - EmailKB - Portail entités - imp. PDF

Offline

#5 2009-04-01 07:53:22

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

Re: pb avec Rapport d'intervention

pour ta 2eme erreur : PHP ERROR: fopen(../../../files/pdf

Crée un répertoire PDF sous _files


Xavier Caillaud
Blog GLPI Infotel

Offline

#6 2009-04-07 00:17:57

Belzibute
Member
From: Oise
Registered: 2008-08-03
Posts: 34

Re: pb avec Rapport d'intervention

Bonjour,

Merci pour votre réponse, mais il existe déjà, car il me crée bien les rapports en pdf.

Entre temps j'ai une info suplémentaire, quand rentre dans le ticket et que je passe par l'onglet "plug-in" et que je sélèctionne "Rapport d'intervention",  cela fontionne, il s'ouvre.

Ou alors je n'ai peut-être pas bien compris, il ne fait que crée le rapport d'intervention et pour  l'ouvrir il faut aller directement sur le ticket ?

Cordialement.


GLPI 0.72.1 (> 500 PC)
MySQL 5.1.41 - OCS 1.02.1
Windows 2003 R2
Plug-In: Tracker - OCS Import - domaines - EmailKB - Portail entités - imp. PDF

Offline

#7 2009-04-07 15:40:43

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

Re: pb avec Rapport d'intervention

En fait tu as 2 moyens : soit directement dans le detail d'un ticket, soit avec la modif massive. Apparemment c'est avec la modif massive que ca foire ? c'est ça ?

Dans la conf du plugin, tu enregistres les rapports ou pas ?


Xavier Caillaud
Blog GLPI Infotel

Offline

#8 2009-04-09 11:17:57

Belzibute
Member
From: Oise
Registered: 2008-08-03
Posts: 34

Re: pb avec Rapport d'intervention

Bonjour,

Alors oui c'est dans le mode massive que ca foire, et après vérification dans la conf l'enregistrement des rapports dans GLPI est sur "oui"

Cordialement.


GLPI 0.72.1 (> 500 PC)
MySQL 5.1.41 - OCS 1.02.1
Windows 2003 R2
Plug-In: Tracker - OCS Import - domaines - EmailKB - Portail entités - imp. PDF

Offline

#9 2009-04-10 13:45:03

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

Re: pb avec Rapport d'intervention

Je regarde dès que j'ai un peu de temps.


Xavier Caillaud
Blog GLPI Infotel

Offline

#10 2009-04-10 14:33:57

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

Re: pb avec Rapport d'intervention

Hum j'arrive pas à reproduire le bug.


Xavier Caillaud
Blog GLPI Infotel

Offline

#11 2009-04-10 18:50:57

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

Re: pb avec Rapport d'intervention

Moi non plus j'arrive pas à reproduire (aucun message d'erreur, aucune erreur php) et je retrouve bien mon rapport quand je clique sur l'onglet plugin.

J'ai fais des tests en action massive et pas de problème non plus.

Last edited by yllen (2009-04-10 19:07:11)


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

#12 2009-04-10 19:06:30

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

Re: pb avec Rapport d'intervention

Je pense avoir compris votre problème (enfin j'espère)
lorsque vous faites une modification massive pour générer votre rapport, il vous indique "opération réalisée avec succès" autant de fois qu'il a généré de rapport (une ligne par ticket sélectionné).
Donc il ne peut pas vous ouvrir le PDF étant donné qu'il y en a plusieurs.
Vous pourrez retrouver chaque rapport dans l'onglet plugin de chaque ticket.

Je pense qu'il s'agit du fonctionnement normal lors d'une action massive.


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

#13 2009-04-11 01:28:30

Belzibute
Member
From: Oise
Registered: 2008-08-03
Posts: 34

Re: pb avec Rapport d'intervention

c'etait bien partit, car oui il me met bien "opération réalisé avec succès" il me l'écrit sur 2 lignes, je viens de refaire le test. J suis également aller voir dans le dossier PDF, il m'a bien généré mon rapport et il n' y en à qu'un. Alors c'est peut-être effectivment le doublon qu'il m'affiche à l'écran qui pose problème ? il considère qu'il y en a plusieurs donc ne l'ouvre pas ?

Merci en tout cas pour votre aide, en attendant j'ai toujours l'accès par les tickets.


GLPI 0.72.1 (> 500 PC)
MySQL 5.1.41 - OCS 1.02.1
Windows 2003 R2
Plug-In: Tracker - OCS Import - domaines - EmailKB - Portail entités - imp. PDF

Offline

#14 2009-04-12 16:16:15

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

Re: pb avec Rapport d'intervention

Je viens de vérifier, moi j'ai bien 2 PDF d'enregistrés.
Il doit y avoir un problème avec votre version.
Vous n'avez pas d'erreur dans le fichier _log/php-error.log ?


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

#15 2009-04-13 22:22:09

Belzibute
Member
From: Oise
Registered: 2008-08-03
Posts: 34

Re: pb avec Rapport d'intervention

J'ai cherché, mais je n'ai pas trouvé php-error.log , par contre celui que j'avais dans le dossier _log c'etait ocsng_fullsync.log et a la fin de celui-ci j'ai effectivement un message d'erreur qui est le suivant:

Mon, 23 Mar 2009 12:00:00 +0100 C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\plugins\mass_ocs_import\scripts\run.php started
Clean old Not Imported machine list (0)
Manage delete items in all OCS server
Manage delete items in OCS server #1: "localhost"
Thread #1 : starting (1/1)
thread #1 : import computers from server: 'localhost'
thread #1 : 293 computer(s)
............PHP ERROR: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\inc\dbmysql.class.php at line 164
PHP ERROR: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\inc\dbmysql.class.php at line 172
...PHP ERROR: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\inc\dbmysql.class.php at line 164
PHP ERROR: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\inc\dbmysql.class.php at line 172

Je ne sais pas si cela correspond mais je n'ai que ca.


GLPI 0.72.1 (> 500 PC)
MySQL 5.1.41 - OCS 1.02.1
Windows 2003 R2
Plug-In: Tracker - OCS Import - domaines - EmailKB - Portail entités - imp. PDF

Offline

#16 2009-04-14 09:50:08

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

Re: pb avec Rapport d'intervention

C'est bizarre que vous n'ayez aucun fichier php-error.log vu que vous avez les erreurs PHP.
Pouvez-vous préciser votre version PHP, ainsi que celle de Mysql ?

Concernant votre message d'erreur, c'est un autre problème et il me faudrait le contenu du fichier /files/_log/sql-error.log

Last edited by yllen (2009-04-14 09:50:51)


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

#17 2009-04-14 23:54:02

Belzibute
Member
From: Oise
Registered: 2008-08-03
Posts: 34

Re: pb avec Rapport d'intervention

Bonjour,

ma version MySql est 1.4, et ma version PHP est la 5.2.0


GLPI 0.72.1 (> 500 PC)
MySQL 5.1.41 - OCS 1.02.1
Windows 2003 R2
Plug-In: Tracker - OCS Import - domaines - EmailKB - Portail entités - imp. PDF

Offline

#18 2009-04-15 07:54:47

ddurieux
Plugins Dev
From: Propières, France
Registered: 2005-06-17
Posts: 7,521

Re: pb avec Rapport d'intervention

MySQL 1.4???? quelle régression, ce n'est surement pas la bonne version 4.1 peut être?

Offline

#19 2009-04-15 19:49:23

Belzibute
Member
From: Oise
Registered: 2008-08-03
Posts: 34

Re: pb avec Rapport d'intervention

Quand j'ouvre Mysql voici ce que j'ai dans l'onlget My.ini

#This File was made using the WinMySQLAdmin 1.4 Tool
#30/03/2009 11:08:31

Etand donné qu'il c'est installé avec le package d'ocs avec Xampp je suis aller voir sur le site, et effectivement il est actuellement utilisé en 4.1.

Désolé


GLPI 0.72.1 (> 500 PC)
MySQL 5.1.41 - OCS 1.02.1
Windows 2003 R2
Plug-In: Tracker - OCS Import - domaines - EmailKB - Portail entités - imp. PDF

Offline

Board footer

Powered by FluxBB