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-05-25 16:49:20

glepi
Member
Registered: 2008-06-20
Posts: 19

Lenteur de GLPI

Bonjour,
J'ai un gros soucis de lenteur. J'ai déja réalisé les actions suivantes :
purge des anciens PC
suppression des tickets fermés
arrêt-relance serveur
J'ai configuré la machine en mode debug et là, j'ai tout un tas d'erreurs PHP concernant le mail, exemples php_mailer ou mailing class.

Pouvez-vous m'aider svp ?
Merci

Offline

#2 2009-05-25 16:56:24

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

Offline

#3 2009-05-25 17:05:16

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

Re: Lenteur de GLPI

Désactiver le cache dans GLPI
Passer de IMAP à POP

Offline

#4 2009-05-25 19:01:43

JMD
GLPI - Lead
Registered: 2004-09-13
Posts: 9,180
Website

Re: Lenteur de GLPI

Je pense qu'il faudrait d'abord résoudre le problème d'erreur concernant les mails avant de desactiver quoique ce soit.

Pour vous aider il faudrait bien plus d'information que ce que vous communiquez. Merci de suivre le lien fourni par wawa.


JMD / Jean-Mathieu Doléans - Glpi-project.org - Association Indepnet
Apportez votre pierre au  projet GLPI   : Soutenir

Offline

#5 2009-05-26 08:36:37

glepi
Member
Registered: 2008-06-20
Posts: 19

Re: Lenteur de GLPI

Bonjour et merci pour vos réponses. La seule désactivation du cache a déja fait beaucoup progresser les performances. Je vais lire le reste.
Merci encore

Offline

#6 2009-05-26 10:41:38

glepi
Member
Registered: 2008-06-20
Posts: 19

Re: Lenteur de GLPI

Bonjour,
Voici les erreurs qui s'affichent quand je passe en mode "DEBUG".

PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\inc\auth.class.php at line 47
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\inc\auth.class.php at line 51
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\inc\auth.class.php at line 53
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\inc\auth.class.php at line 55
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\inc\auth.class.php at line 58
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\inc\auth.class.php at line 61
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\inc\auth.class.php at line 63
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\inc\auth.class.php at line 381
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\inc\auth.class.php at line 464
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\inc\connection.class.php at line 46
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\inc\connection.class.php at line 48
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\inc\connection.class.php at line 50
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\inc\connection.class.php at line 52
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\inc\connection.class.php at line 54
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\inc\connection.class.php at line 56
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\inc\connection.class.php at line 58
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\inc\mailing.class.php at line 48
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\inc\mailing.class.php at line 49
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\inc\mailing.class.php at line 88
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\inc\mailing.class.php at line 92
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\inc\mailing.class.php at line 96
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\inc\mailing.class.php at line 98
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\inc\mailing.class.php at line 532
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\inc\mailing.class.php at line 534
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\inc\mailing.class.php at line 783
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\inc\mailing.class.php at line 784
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\inc\mailing.class.php at line 785
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\lib\phpmailer\class.phpmailer.php at line 30
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\lib\phpmailer\class.phpmailer.php at line 36
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\lib\phpmailer\class.phpmailer.php at line 42
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\lib\phpmailer\class.phpmailer.php at line 49
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\lib\phpmailer\class.phpmailer.php at line 55
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\lib\phpmailer\class.phpmailer.php at line 61
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\lib\phpmailer\class.phpmailer.php at line 67
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\lib\phpmailer\class.phpmailer.php at line 74
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\lib\phpmailer\class.phpmailer.php at line 80
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\lib\phpmailer\class.phpmailer.php at line 87
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\lib\phpmailer\class.phpmailer.php at line 96
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\lib\phpmailer\class.phpmailer.php at line 103
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\lib\phpmailer\class.phpmailer.php at line 109
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\lib\phpmailer\class.phpmailer.php at line 115
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\lib\phpmailer\class.phpmailer.php at line 122
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\lib\phpmailer\class.phpmailer.php at line 128
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\lib\phpmailer\class.phpmailer.php at line 134
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\lib\phpmailer\class.phpmailer.php at line 142
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\lib\phpmailer\class.phpmailer.php at line 156
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\lib\phpmailer\class.phpmailer.php at line 162
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\lib\phpmailer\class.phpmailer.php at line 168
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\lib\phpmailer\class.phpmailer.php at line 174
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\lib\phpmailer\class.phpmailer.php at line 180
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\lib\phpmailer\class.phpmailer.php at line 186
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\lib\phpmailer\class.phpmailer.php at line 193
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\lib\phpmailer\class.phpmailer.php at line 199
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\lib\phpmailer\class.phpmailer.php at line 207
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\lib\phpmailer\class.phpmailer.php at line 212
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\lib\phpmailer\class.phpmailer.php at line 213
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\lib\phpmailer\class.phpmailer.php at line 214
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\lib\phpmailer\class.phpmailer.php at line 215
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\lib\phpmailer\class.phpmailer.php at line 216
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\lib\phpmailer\class.phpmailer.php at line 217
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\lib\phpmailer\class.phpmailer.php at line 218
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\lib\phpmailer\class.phpmailer.php at line 219
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\lib\phpmailer\class.phpmailer.php at line 220
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\lib\phpmailer\class.phpmailer.php at line 221
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\lib\phpmailer\class.phpmailer.php at line 222
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\lib\phpmailer\class.phpmailer.php at line 223
PHP ERROR: array_push() [function.array-push]: First argument should be an array in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\plugins\appweb\setup.php at line 55
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\inc\ocsng.class.php at line 39
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\inc\ocsng.class.php at line 62
PHP ERROR: Cannot modify header information - headers already sent by (output started at C:\Inetpub\wwwroot\glpi-0.68.3\glpi\inc\mailing.class.php:48) in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\inc\display.function.php at line 95
PHP ERROR: Cannot modify header information - headers already sent by (output started at C:\Inetpub\wwwroot\glpi-0.68.3\glpi\inc\mailing.class.php:48) in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\inc\display.function.php at line 1969
PHP ERROR: Cannot modify header information - headers already sent by (output started at C:\Inetpub\wwwroot\glpi-0.68.3\glpi\inc\mailing.class.php:48) in C:\Inetpub\wwwroot\glpi-0.68.3\glpi\inc\display.function.php at line 1970
-----------------------------------------------------------------------------------------------------------------
Ce n'est pas moi qui ai réalisé l'installation et des modifications ont été faites sur la version (0.68). De plus, je ne sais pas pourquoi Apache n'a pas été utilisé pour GLPI (IIS...) alors qu'il est utilisé pour OCS. Donc je ne vais surtout toucher à rien yikes)

Merci pour vos réponses
Loïc

Offline

#7 2009-05-26 10:45:30

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

Re: Lenteur de GLPI

quelle est votre version de php ? on dirait que vous êtes sur une version un peu moisie

Offline

#8 2009-05-26 10:53:57

glepi
Member
Registered: 2008-06-20
Posts: 19

Re: Lenteur de GLPI

c'est précisé à la fin du post (0.68.3)

Offline

#9 2009-05-26 11:02:33

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

Re: Lenteur de GLPI

glepi wrote:

c'est précisé à la fin du post (0.68.3)

j'ai demandé la version de PHP, pas la version de GLPI

Offline

#10 2009-05-26 11:13:21

glepi
Member
Registered: 2008-06-20
Posts: 19

Re: Lenteur de GLPI

Oups ! A priori, c'est PHP 5

Offline

#11 2009-05-26 11:23:40

doum
Member
From: Nice
Registered: 2007-03-27
Posts: 1,421

Re: Lenteur de GLPI

php -version svp

y'a 260 versions de php5

Offline

#12 2009-05-26 11:24:07

remi
GLPI-DEV
From: Champagne
Registered: 2007-04-28
Posts: 7,127
Website

Re: Lenteur de GLPI

> PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers

tu utilises une version PHP moisie (5.1.0, 5.1.1 ou 5.1.2).

+


Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/

Offline

#13 2009-05-26 11:36:17

glepi
Member
Registered: 2008-06-20
Posts: 19

Re: Lenteur de GLPI

Après vérification, ill s'agit de la PHP 5.1.1. Quelle serait la meilleure version d'après vous et faut-il modifier le fichier php.ini dans le cas d'un changement ?

Offline

#14 2009-05-26 19:38:45

JMD
GLPI - Lead
Registered: 2004-09-13
Posts: 9,180
Website

Re: Lenteur de GLPI

Supérieure à 5.1.2

A partir de 5.2X vous n'aurez pas de souci.


JMD / Jean-Mathieu Doléans - Glpi-project.org - Association Indepnet
Apportez votre pierre au  projet GLPI   : Soutenir

Offline

Board footer

Powered by FluxBB