Mandi! Евгений
  In chel di` si favelave...

> Sorry for delay in response.

Meetoo. ;-)


> Problem was resolved. It was in incorrect values in
> `glpi_logs`.`itemtype_link`.
> In my case there was '0' values, but should be empty ''.
> Maybe some error during upgrade...
> Anyway simple SQL query to change '0' to '' - and history back.

I've looked at my data, but seems mine is correct. I've looked at
Peripheral that depicted the error, and i've done:

        mysql> select * from glpi_logs where itemtype='Peripheral' and 
items_id=248;

all data have itemtype_link as ''.

I've also done a:

        mysql> select * from glpi_logs where itemtype_link='0' order by 
date_mod;
        362620 rows in set (2.89 sec)

but are all ''old'' row, before december 2014.

It is better to do anyway a:

        update glpi_logs set itemtype_link='' where itemtype_link='0';


Thanks.

-- 
dott. Marco Gaiarin                                     GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''                    http://www.sv.lnf.it/
  Polo FVG   -   Via della Bontà, 7 - 33078   -   San Vito al Tagliamento (PN)
  marco.gaiarin(at)lanostrafamiglia.it   t +39-0434-842711   f +39-0434-842797

                Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
    http://www.lanostrafamiglia.it/25/index.php/component/k2/item/123
        (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)

_______________________________________________
Glpi-user mailing list
[email protected]
https://mail.gna.org/listinfo/glpi-user

Reply via email to