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 2018-03-20 03:32:35

gcamacho_ec
Member
Registered: 2015-08-20
Posts: 17

Unable to use GLPI 9.2.2 with locale es_419

Hi all.

We are ussing GLPI 9.1.3, and update to 9.2.2 in a new server, but when the system upgrade, we are unable to login in the application, the user and password were accepted, but the main screen dashboard and the other windows never show.

When activate the debug mode, I receive the following error:
"Fatal error: Uncaught Zend\I18n\Exception\OutOfBoundsException: Provided index 1 does not exist in plural array in C:\xampp\htdocs\Gestion-New\vendor\zendframework\zend-i18n\src\Translator\Translator.php:415 Stack trace: #0 C:\xampp\htdocs\Gestion-New\inc\autoload.function.php(196): Zend\I18n\Translator\Translator->translatePlural('Kernel version', 'Kernel versions', 2, 'glpi') #1 C:\xampp\htdocs\Gestion-New\inc\dropdown.class.php(980): _n('Kernel version', 'Kernel versions', 2) #2 C:\xampp\htdocs\Gestion-New\inc\commondropdown.class.php(111): Dropdown::getStandardDropdownItemTypes() #3 C:\xampp\htdocs\Gestion-New\inc\html.class.php(1395): CommonDropdown::getMenuContent() #4 C:\xampp\htdocs\Gestion-New\inc\html.class.php(5985): Html::generateMenuSession() #5 C:\xampp\htdocs\Gestion-New\inc\html.class.php(1499): Html::displayMainMenu(true, Array) #6 C:\xampp\htdocs\Gestion-New\front\central.php(73): Html::header('Interfaz estand...', '/gestion-new/fr...', 'central', 'central') #7 {main} thrown in C:\xampp\htdocs\Gestion-New\vendor\zendframework\zend-i18n\src\Translator\Translator.php on line 415"

There is no way to access the application, the only one options is change the Default language to any other than es_419 locale, to do this, I need to change the table gfi_configs the column language to es_CO or en_US for example.

Additionally, in the locale folder, I saw 7 spanish transtations, es_AR,es_CO,es_CL,es_ES,es_MX,es_VE, but in the application only see 6 Español (Argentina) - Español (Colombia) - Español (España) - Español (América Latina) - Español (Mexico) - Español (Venezuela).

I really ned your help!

Offline

#2 2018-03-21 13:38:13

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

Re: Unable to use GLPI 9.2.2 with locale es_419

Restart your Apache server to clean opcache of user


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 2018-03-21 16:13:42

gcamacho_ec
Member
Registered: 2015-08-20
Posts: 17

Re: Unable to use GLPI 9.2.2 with locale es_419

Thant You for your answer, but really I do it, after that, some times the system works and other times the error is the same. this issue only occur with the es_419 language.

Offline

#4 2018-03-22 16:50:19

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

Re: Unable to use GLPI 9.2.2 with locale es_419

What is your OS?
because in your log a see you use xampp


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 2018-03-22 17:18:59

gcamacho_ec
Member
Registered: 2015-08-20
Posts: 17

Re: Unable to use GLPI 9.2.2 with locale es_419

Actually we are using windows Server 2012 R2, and PHP version 7.2.2

Offline

Board footer

Powered by FluxBB