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 2017-08-09 12:19:42

SLI_85
Member
From: LA ROCHE-SUR-YON
Registered: 2006-04-06
Posts: 53

Problème d'affichage

Bonjour,

J'ai voulu aller voir les tickets, sur mon glpi. Je vois mes tickets en cours, je clique sur un fichier, et là plus d'affichage, juste le titre ..

même situation sur le parc.

Merci de m'apporter une solution.

La config :
Informations sur le système, l'installation et la configuration

 
GLPI 9.1.6 (/glpi => C:\inetpub\wwwroot\glpi)

Server
 
Operating system: Windows NT SRV0-GLPI01 10.0 build 14393 (Windows Server 2016) AMD64
PHP 7.1.1 cgi-fcgi (Core, PDO, Phar, Reflection, SPL, SimpleXML, Zend OPcache, bcmath, calendar, cgi-fcgi, ctype, curl, date,
	dom, exif, fileinfo, filter, gd, gettext, hash, iconv, imap, json, libxml, mbstring, mcrypt, mysqli, mysqlnd, openssl, pcre,
	pdo_mysql, pdo_sqlite, readline, session, soap, standard, tidy, tokenizer, wddx, wincache, xml, xmlreader, xmlrpc, xmlwriter,
	zip, zlib)
Setup: max_execution_time="300" memory_limit="128M" post_max_size="10M" safe_mode="" session.save_handler="files"
	upload_max_filesize="10M" 
Software: Microsoft-IIS/10.0
	Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36
Server Software: MySQL Community Server (GPL)
	Server Version: 5.7.19-log
	Server SQL Mode: 
	Parameters: root@localhost/glpi
	Host info: localhost via TCP/IP
	
OKC:\inetpub\wwwroot\glpi/config : OK
OKC:\inetpub\wwwroot\glpi/files : OK
OKC:\inetpub\wwwroot\glpi/files/_dumps : OK
OKC:\inetpub\wwwroot\glpi/files/_sessions : OK
OKC:\inetpub\wwwroot\glpi/files/_cron : OK
OKC:\inetpub\wwwroot\glpi/files/_graphs : OK
OKC:\inetpub\wwwroot\glpi/files/_lock : OK
OKC:\inetpub\wwwroot\glpi/files/_plugins : OK
OKC:\inetpub\wwwroot\glpi/files/_tmp : OK
OKC:\inetpub\wwwroot\glpi/files/_rss : OK
OKC:\inetpub\wwwroot\glpi/files/_uploads : OK
OKC:\inetpub\wwwroot\glpi/files/_pictures : OK
OKC:\inetpub\wwwroot\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 (C:\inetpub\wwwroot\glpi\lib\htmlawed)
phpCas version 1.3.5 in (C:\inetpub\wwwroot\glpi\vendor\jasig\phpcas\source)
PHPMailer version 5.2.23 in (C:\inetpub\wwwroot\glpi\vendor\phpmailer\phpmailer)
Zend Framework in (C:\inetpub\wwwroot\glpi\vendor\zendframework\zend-loader\src)
zetacomponents/graph in (C:\inetpub\wwwroot\glpi\vendor\zetacomponents\graph\src)
SimplePie version 1.5 in (C:\inetpub\wwwroot\glpi\vendor\simplepie\simplepie\library)
TCPDF version 6.2.12 in (C:\inetpub\wwwroot\glpi\vendor\tecnickcom\tcpdf)
michelf/php-markdown in (C:\inetpub\wwwroot\glpi\vendor\michelf\php-markdown\Michelf)
true/punycode in (C:\inetpub\wwwroot\glpi\vendor\true\punycode\src)
iacaml/autolink in (C:\inetpub\wwwroot\glpi\vendor\iamcal\lib_autolink)
sabre/vobject in (C:\inetpub\wwwroot\glpi\vendor\sabre\vobject\lib)



SQL replicas
 
Not active

Notifications
 
Way of sending emails: SMTP (sliaigre@192.168.1.22)

Mails receivers
 

Plugins list
 

Offline

#2 2017-08-09 17:08:34

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

Re: Problème d'affichage

Pour vous apporter une solution il me faudrait plus d'éléments.
Avez-vous des erreurs dans GLPI ? dans Apache ?


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

#3 2017-08-09 17:23:38

SLI_85
Member
From: LA ROCHE-SUR-YON
Registered: 2006-04-06
Posts: 53

Re: Problème d'affichage

En cherchant dans le forum j'ai trouvé une solution, qui a réparé mon soucis et c'est toi qui avait donné la solution smile id:157947

La table glpi_logs était crachée, je l'ai réparé.

Merci beaucoup

Donc on peut clôturer

Offline

#4 2017-08-10 09:07:04

SLI_85
Member
From: LA ROCHE-SUR-YON
Registered: 2006-04-06
Posts: 53

Re: Problème d'affichage

Par contre j'avais une question sur le glpi_logs, mon fichier fait plus de 1 Go !

Est-ce normal ?

Je voulais transférer Glpi sur un autre serveur, mais il va être trop important.

Merci de votre retour

Offline

#5 2017-08-10 11:34:13

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

Re: Problème d'affichage

La table glpi_logs ne s'épure pas automatiquement mais avez vous besoin de conserver tout ce qu'elle contient (est-ce utile de conserver toutes les actions depuis des années ?)

Déjà, pour alléger la table des logs, il faut purger toutes les corbeilles de tous les objets.
Ensuite sur le site de la forge pour avez un fichier cleanhistory.php (https://github.com/glpi-project/glpi/bl … ixes/tools)
Il suffit de le mettre dans votre GLPI et de l'appeler via un cron afin qu'il purge régulièrement votre historique (vous avez un exemple d'utilisation en début du fichier)
Vous pouvez également le lancer manuellement pour alléger votre glpi_logs avant votre migration


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

#6 2017-08-10 15:57:40

SLI_85
Member
From: LA ROCHE-SUR-YON
Registered: 2006-04-06
Posts: 53

Re: Problème d'affichage

je ne vois pas comment la lancer manuellement !
il faut se mettre ne ligne de commande ?

Merci

Offline

#7 2017-08-11 13:34:12

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

Re: Problème d'affichage

oui manuellement c'est obligatoirement en ligne de commande


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 2017-08-17 14:29:53

SLI_85
Member
From: LA ROCHE-SUR-YON
Registered: 2006-04-06
Posts: 53

Re: Problème d'affichage

Je n'arrive pas à voir comment ce cleanhistory.php fonctionne, pourrais-tu m'éclairer ?

Merci

Offline

#9 2017-08-18 13:11:34

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

Re: Problème d'affichage

Vous avez un exemple d'utilisation en début du fichier.
Suivant les paramètres indiqués il va épurer tel évènement pour tel objet suivant tel ancienneté (en mois)


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

#10 2017-08-18 14:20:40

SLI_85
Member
From: LA ROCHE-SUR-YON
Registered: 2006-04-06
Posts: 53

Re: Problème d'affichage

ok merci
je n'avais pas mis le fichier à la bonne place .\script smile
maintenant ça marche smile

merci

Offline

Board footer

Powered by FluxBB