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-28 13:02:50

sepafe
Member
Registered: 2008-11-12
Posts: 72

erreur on statut

Hi.
Je suis desole parce que je vois ce erreur when change statut in ordinateus.

glpierreur.th.jpg

je utilise la version 0.71.3

je necessite votre aide.
merci.

Last edited by sepafe (2009-05-28 13:17:11)

Offline

#2 2009-05-28 13:17:33

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

Re: erreur on statut

Merci de vous mettre en mode Debug afin d'avoir l'affichage des erreurs.


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 2009-05-28 13:20:21

sepafe
Member
Registered: 2008-11-12
Posts: 72

Re: erreur on statut

yllen wrote:

Merci de vous mettre en mode Debug afin d'avoir l'affichage des erreurs.

merci pour le vite reponse.
En mode Debug il ne a pas de erreurs sad

Offline

#4 2009-05-28 13:56:47

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

Re: erreur on statut

Il y a un truc qui me gène dans votre copie d'écran c'est que l'ID du micro n'apparait pas dans l'URL.

Normalement, quand vous ouvrez une fiche, l'url s'incréme de cet ID.
Comment avez-vous changé le statut ?
- après avoir ouvert la fiche
ou
- depuis les actions de masse


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

#5 2009-05-28 14:03:58

sepafe
Member
Registered: 2008-11-12
Posts: 72

Re: erreur on statut

yllen wrote:

Il y a un truc qui me gène dans votre copie d'écran c'est que l'ID du micro n'apparait pas dans l'URL.

Normalement, quand vous ouvrez une fiche, l'url s'incréme de cet ID.
Comment avez-vous changé le statut ?
- après avoir ouvert la fiche
ou
- depuis les actions de masse

après avoir ouvert la fiche et quand je change le statut.

Offline

#6 2009-05-28 15:07:41

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

Re: erreur on statut

Vous pouvez essayer de refaire la manipulation ? on dirait que le micro n'existe plus quand vous validez.

Il faudrait également que vous regardiez si vous n'avez pas d'erreurs dans le fichier /files/_log (erreur mysql ou php).


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

#7 2009-05-28 15:20:46

sepafe
Member
Registered: 2008-11-12
Posts: 72

Re: erreur on statut

SQL: UPDATE glpi_ocs_link
                                    SET ocs_id=\'1899\', ocs_deviceid=\'PC0-DAD-POSTO06-2009-04-20-16-10-18\'
                                    WHERE ocs_deviceid=\'CMF-DB576371840-2009-04-20-15-46-04\' AND ocs_server_id=\'1\'
Error: Duplicate entry '1-1899' for key 'ocs_server_id'
Backtrace :
D:\Program Files\Xampp\htdocs\glpi\inc\ocsng.function.php:347        DBmysql->query()
D:\Program Files\Xampp\htdocs\glpi\front\ocsng.php:95        ocsManageDeleted()
D:/Program Files/Xampp/htdocs/glpi/front/ocsng.php
20-04-2009 16:14
*** MySQL query error :
***
SQL: UPDATE glpi_ocs_link
                                    SET ocs_id=\'1899\', ocs_deviceid=\'PC0-DAD-POSTO06-2009-04-20-16-10-18\'
                                    WHERE ocs_deviceid=\'PC0-DAD-POSTO06-2007-11-14-12-17-58\' AND ocs_server_id=\'1\'
Error: Duplicate entry '1-1899' for key 'ocs_server_id'
Backtrace :
D:\Program Files\Xampp\htdocs\glpi\inc\ocsng.function.php:347        DBmysql->query()
D:\Program Files\Xampp\htdocs\glpi\front\ocsng.php:95        ocsManageDeleted()
D:/Program Files/Xampp/htdocs/glpi/front/ocsng.php
19-05-2009 14:15
*** MySQL query error :
***
SQL: UPDATE glpi_ocs_link
                                    SET ocs_id=\'2069\', ocs_deviceid=\'PC0-SSC-POSTO01-2009-05-08-23-09-20\'
                                    WHERE ocs_deviceid=\'PC0-SSC-POSTO01-2009-02-06-21-41-55\' AND ocs_server_id=\'1\'
Error: Duplicate entry '1-2069' for key 'ocs_server_id'
Backtrace :
D:\Program Files\Xampp\htdocs\glpi\inc\ocsng.function.php:347        DBmysql->query()
D:\Program Files\Xampp\htdocs\glpi\front\ocsng.php:95        ocsManageDeleted()
D:/Program Files/Xampp/htdocs/glpi/front/ocsng.php

have removed the 2 machines.
thanks.

Last edited by sepafe (2009-05-28 18:04:39)

Offline

Board footer

Powered by FluxBB