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-06-26 15:49:29

DenisK
Member
Registered: 2017-06-26
Posts: 6

GLPI 9.1.3 -> 9.1.4 update issue. Assets-computers are not shown

Hello!

After update from 9.1.3 to 9.1.4 version has disappeared a few sections in Assets: computers, network devices, devices, printers, phones, global. At the same time monitors, software and cartridges are still accessable.
I've tried to update database twice using "install\update.php" and deleting config_db.php file but problem was not resolved.

I will be grateful for any advice!

Offline

#2 2017-06-26 16:59:35

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

Re: GLPI 9.1.3 -> 9.1.4 update issue. Assets-computers are not shown

Look in your database if you have some crashed tables


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-06-26 17:27:51

DenisK
Member
Registered: 2017-06-26
Posts: 6

Re: GLPI 9.1.3 -> 9.1.4 update issue. Assets-computers are not shown

yllen wrote:

Look in your database if you have some crashed tables

DB is OK

I've copied all files from folder glpi/inc/*.* from backup of version 9.1.3 to new installation and it solved this problem.
But I don't think that it's a good solution.

Offline

#4 2017-06-26 18:13:47

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

Re: GLPI 9.1.3 -> 9.1.4 update issue. Assets-computers are not shown

No it's not correct.
The solution is to pick up folder of 9.1.4 release (https://github.com/glpi-project/glpi/releases)
You have change in code between 9.1.3 and 9.1.4 and if you pick up old files, you will not have bugs corrections


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 2017-06-27 08:04:10

DenisK
Member
Registered: 2017-06-26
Posts: 6

Re: GLPI 9.1.3 -> 9.1.4 update issue. Assets-computers are not shown

I've just downloaded archive from https://github.com/glpi-project/glpi/releases and copied only files from folder "glpi/inc/*.*" to my installation and problem appears again.

Offline

#6 2017-06-27 08:21:16

DenisK
Member
Registered: 2017-06-26
Posts: 6

Re: GLPI 9.1.3 -> 9.1.4 update issue. Assets-computers are not shown

I have found that problem somehow depends by files session.class.php and search.class.php.
With that files from 9.1.3 release everything works correctly.

Offline

#7 2017-06-27 12:31:07

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

Re: GLPI 9.1.3 -> 9.1.4 update issue. Assets-computers are not shown

Have you change source code in the 9.1.3?
No problem for me and many users in 9.1.4


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-06-27 12:50:26

DenisK
Member
Registered: 2017-06-26
Posts: 6

Re: GLPI 9.1.3 -> 9.1.4 update issue. Assets-computers are not shown

yllen wrote:

Have you change source code in the 9.1.3?
No problem for me and many users in 9.1.4

No, I've not change source code, only changed "Results to display per page" to 100 in General->Default values->Personalization.

I do not exclude that the following actions could lead to a problem after update.
There was a limit on the number of rows to display and I could not increase this amount through Setup->General. I had to find this parameter in the table "glpi_configs" directly and changed two parameters 'list_limit' and 'list_limit_max' to 100. Only such custom changes were made.

Offline

#9 2017-06-28 16:50:34

fftir
Member
Registered: 2006-12-20
Posts: 9

Re: GLPI 9.1.3 -> 9.1.4 update issue. Assets-computers are not shown

I have the exact same issue in 9.1.4 : nothing is viewable in assets except for monitors.

i was in 0.80.6 and upgraded to 9.1.4 and saw this issue. Then i tried different previous versions and all is fine up to 9.1.3.

I didn't make any change in files but i also was displaying 100 items per page. Changing to a later number doesn't change anything.

Offline

#10 2017-06-30 12:14:19

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

Re: GLPI 9.1.3 -> 9.1.4 update issue. Assets-computers are not shown

I can't reproduce in 9.1.4.
Have you some errors in GLPI logs? in Apache logs?


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

#11 2017-06-30 13:39:12

DenisK
Member
Registered: 2017-06-26
Posts: 6

Re: GLPI 9.1.3 -> 9.1.4 update issue. Assets-computers are not shown

yllen wrote:

Have you some errors in GLPI logs? in Apache logs?

I've found errors in Apache log which hasn't been before

PHP Fatal error:  Call to undefined function _() in /usr/local/www/glpi/inc/networkportfiberchannel.class.php on line 331, referer: http://portal/glpi/front/plugin.php
PHP Fatal error:  Call to undefined function _() in /usr/local/www/glpi/inc/networkportfiberchannel.class.php on line 331, referer: http://portal/glpi/front/computer.php
PHP Fatal error:  Call to undefined function _() in /usr/local/www/glpi/inc/networkportfiberchannel.class.php on line 331, referer: http://portal/glpi/plugins/fusioninventory/front/stateinventory.php
PHP Fatal error:  Call to undefined function _() in /usr/local/www/glpi/inc/networkportfiberchannel.class.php on line 331, referer: http://portal/glpi/front/monitor.php
PHP Fatal error:  Call to undefined function _() in /usr/local/www/glpi/inc/networkportfiberchannel.class.php on line 331, referer: http://portal/glpi/front/setup.templates.php?itemtype=Computer&add=0
PHP Fatal error:  Call to undefined function _() in /usr/local/www/glpi/inc/networkportfiberchannel.class.php on line 331, referer: http://portal/glpi/front/computer.form.php?id=-1&withtemplate=2
PHP Fatal error:  Call to undefined function _() in /usr/local/www/glpi/inc/networkportfiberchannel.class.php on line 331, referer: http://portal/glpi/front/computer.form.php?withtemplate=1

Offline

#12 2017-07-03 16:39:22

fftir
Member
Registered: 2006-12-20
Posts: 9

Re: GLPI 9.1.3 -> 9.1.4 update issue. Assets-computers are not shown

Same errors here :

PHP Fatal error:  Call to undefined function _() in /Library/WebServer/Documents/glpi/inc/networkportfiberchannel.class.php on line 331, referer: http://fftir.dyndns.org:8080/glpi/front/central.php
PHP Fatal error:  Call to undefined function _() in /Library/WebServer/Documents/glpi/inc/networkportfiberchannel.class.php on line 331, referer: http://fftir.dyndns.org:8080/glpi/front/central.php?redirect=%2Ffront%2Fcomputer.php
PHP Fatal error:  Call to undefined function _() in /Library/WebServer/Documents/glpi/inc/networkportfiberchannel.class.php on line 331, referer: http://fftir.dyndns.org:8080/glpi/front/monitor.php
PHP Fatal error:  Call to undefined function _() in /Library/WebServer/Documents/glpi/inc/networkportfiberchannel.class.php on line 331, referer: http://fftir.dyndns.org:8080/glpi/front/monitor.php

Offline

#13 2017-07-04 17:15:16

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

Re: GLPI 9.1.3 -> 9.1.4 update issue. Assets-computers are not shown


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

Board footer

Powered by FluxBB