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 2014-10-09 13:34:30

tabad
Guest
From: Manzanares, Ciudad Real, Spain
Registered: 2011-09-23
Posts: 89

[Plugin][Reports v1.7.2] Errors into php-errors.log (II)

The environment

  • GLPI 0.84.7

  • Reports 1.7.2

The error message

This happens once and other, and other...

2014-10-02 12:28:22
includeLocales(applicationsbylocation_report_title, reports) => not found
2014-10-02 12:28:22
includeLocales(doublons_report_title, reports) => not found
2014-10-02 12:28:22
includeLocales(equipmentbygroups_report_title, reports) => not found
2014-10-02 12:28:22
includeLocales(equipmentbylocation_report_title, reports) => not found
2014-10-02 12:28:22
includeLocales(globalhisto_report_title, reports) => not found
2014-10-02 12:28:22
includeLocales(histohard_report_title, reports) => not found
2014-10-02 12:28:22
includeLocales(histoinst_report_title, reports) => not found
2014-10-02 12:28:22
includeLocales(infocom_report_title, reports) => not found
2014-10-02 12:28:22
includeLocales(iteminstall_report_title, reports) => not found
2014-10-02 12:28:22
includeLocales(licenses_report_title, reports) => not found
2014-10-02 12:28:22
includeLocales(licensesexpires_report_title, reports) => not found
2014-10-02 12:28:22
includeLocales(listequipmentbylocation_report_title, reports) => not found
2014-10-02 12:28:22
includeLocales(listgroups_report_title, reports) => not found
2014-10-02 12:28:22
includeLocales(location_report_title, reports) => not found
2014-10-02 12:28:22
includeLocales(pcsbyentity_report_title, reports) => not found
2014-10-02 12:28:22
includeLocales(printers_report_title, reports) => not found
2014-10-02 12:28:22
includeLocales(rules_report_title, reports) => not found
2014-10-02 12:28:22
includeLocales(searchinfocom_report_title, reports) => not found
2014-10-02 12:28:22
includeLocales(softnotinstalled_report_title, reports) => not found
2014-10-02 12:28:22
includeLocales(softversioninstallations_report_title, reports) => not found
2014-10-02 12:28:22
includeLocales(statnightticketsbypriority_report_title, reports) => not found
2014-10-02 12:28:22
includeLocales(statticketsbyentity_report_title, reports) => not found
2014-10-02 12:28:22
includeLocales(statticketsbypriority_report_title, reports) => not found
2014-10-02 12:28:22
includeLocales(transferreditems_report_title, reports) => not found
2014-10-02 12:28:22
includeLocales(zombies_report_title, reports) => not found
2014-10-02 12:28:22
includeLocales(applicationsbylocation_report_title, reports) => not found
2014-10-02 12:28:22
includeLocales(doublons_report_title, reports) => not found
2014-10-02 12:28:22
includeLocales(equipmentbygroups_report_title, reports) => not found
2014-10-02 12:28:22
includeLocales(equipmentbylocation_report_title, reports) => not found
2014-10-02 12:28:22
includeLocales(globalhisto_report_title, reports) => not found
2014-10-02 12:28:22
includeLocales(histohard_report_title, reports) => not found
2014-10-02 12:28:22
includeLocales(histoinst_report_title, reports) => not found
2014-10-02 12:28:22
includeLocales(infocom_report_title, reports) => not found
2014-10-02 12:28:22
includeLocales(iteminstall_report_title, reports) => not found
2014-10-02 12:28:22
includeLocales(licenses_report_title, reports) => not found
2014-10-02 12:28:22
includeLocales(licensesexpires_report_title, reports) => not found
2014-10-02 12:28:22
includeLocales(listequipmentbylocation_report_title, reports) => not found
2014-10-02 12:28:22
includeLocales(listgroups_report_title, reports) => not found
2014-10-02 12:28:22
includeLocales(location_report_title, reports) => not found
2014-10-02 12:28:22
includeLocales(pcsbyentity_report_title, reports) => not found
2014-10-02 12:28:22
includeLocales(printers_report_title, reports) => not found
2014-10-02 12:28:22
includeLocales(rules_report_title, reports) => not found
2014-10-02 12:28:22
includeLocales(searchinfocom_report_title, reports) => not found
2014-10-02 12:28:22
includeLocales(softnotinstalled_report_title, reports) => not found
2014-10-02 12:28:22
includeLocales(softversioninstallations_report_title, reports) => not found
2014-10-02 12:28:22
includeLocales(statnightticketsbypriority_report_title, reports) => not found
2014-10-02 12:28:22
includeLocales(statticketsbyentity_report_title, reports) => not found
2014-10-02 12:28:22
includeLocales(statticketsbypriority_report_title, reports) => not found
2014-10-02 12:28:22
includeLocales(transferreditems_report_title, reports) => not found
2014-10-02 12:28:22
includeLocales(zombies_report_title, reports) => not found

Tomás Abad

Offline

#2 2014-10-10 10:27:06

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

Re: [Plugin][Reports v1.7.2] Errors into php-errors.log (II)

Have you update the version of the plugin or it's a fresh installation?


CentOS 6.5 - CentOS 7
PHP 5.6 - PHP 7 - MySQL 5.6  + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

Offline

#3 2014-10-10 10:41:36

tabad
Guest
From: Manzanares, Ciudad Real, Spain
Registered: 2011-09-23
Posts: 89

Re: [Plugin][Reports v1.7.2] Errors into php-errors.log (II)

Hello Nelly,

I'm afraid I could not help you, I don't remember it.

Regards,


Tomás Abad

Offline

#4 2014-10-10 10:46:58

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

Re: [Plugin][Reports v1.7.2] Errors into php-errors.log (II)

In files /locales of the plugin, do you have .po and .mo files? do you have .php files?


CentOS 6.5 - CentOS 7
PHP 5.6 - PHP 7 - MySQL 5.6  + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

Offline

#5 2014-10-10 10:47:02

tabad
Guest
From: Manzanares, Ciudad Real, Spain
Registered: 2011-09-23
Posts: 89

Re: [Plugin][Reports v1.7.2] Errors into php-errors.log (II)

Hello Nelly,

I'm not sure but it's more probably I made a fresh installation.

Regards,


Tomás Abad

Offline

#6 2014-10-10 10:50:41

tabad
Guest
From: Manzanares, Ciudad Real, Spain
Registered: 2011-09-23
Posts: 89

Re: [Plugin][Reports v1.7.2] Errors into php-errors.log (II)

Hello Nelly,

This is the system has,

[[email protected] locales]# pwd
/usr/local/share/glpi/plugins/reports/locales

[[email protected] locales]# ls -l
total 272
-rw-r--r--. 1 root root  5446 Sep  4  2013 da_DK.mo
-rw-r--r--. 1 root root 10867 Sep  4  2013 da_DK.po
-rw-r--r--. 1 root root  2915 May  7  2013 de_DE.mo
-rw-r--r--. 1 root root 10006 May  7  2013 de_DE.po
-rw-r--r--. 1 root root  1636 Feb  9  2014 el_GR.mo
-rw-r--r--. 1 root root  9658 Feb  9  2014 el_GR.po
-rw-r--r--. 1 root root  5071 May  7  2013 en_GB.mo
-rw-r--r--. 1 root root 10712 May  7  2013 en_GB.po
-rw-r--r--. 1 root root  5647 Feb  9  2014 es_AR.mo
-rw-r--r--. 1 root root 11105 Feb  9  2014 es_AR.po
-rw-r--r--. 1 root root  3172 May  7  2013 es_ES.mo
-rw-r--r--. 1 root root 10151 May  7  2013 es_ES.po
-rw-r--r--. 1 root root  5607 May  7  2013 fr_FR.mo
-rw-r--r--. 1 root root 11026 May  7  2013 fr_FR.po
-rw-r--r--. 1 root root  8963 May  7  2013 glpi.pot
-rw-r--r--. 1 root root  5373 Feb  9  2014 hr_HR.mo
-rw-r--r--. 1 root root 10795 Feb  9  2014 hr_HR.po
-rw-r--r--. 1 root root  2857 May  7  2013 it_IT.mo
-rw-r--r--. 1 root root 10016 May  7  2013 it_IT.po
-rw-r--r--. 1 root root  2914 May  7  2013 nl_NL.mo
-rw-r--r--. 1 root root 10031 May  7  2013 nl_NL.po
-rw-r--r--. 1 root root  5743 Sep  3  2013 pt_BR.mo
-rw-r--r--. 1 root root 11210 Sep  3  2013 pt_BR.po
-rw-r--r--. 1 root root  5424 Sep  4  2013 ro_RO.mo
-rw-r--r--. 1 root root 10836 Sep  4  2013 ro_RO.po
-rw-r--r--. 1 root root  6754 Feb  9  2014 ru_RU.mo
-rw-r--r--. 1 root root 12179 Feb  9  2014 ru_RU.po
-rw-r--r--. 1 root root  5573 Sep  3  2013 tr_TR.mo
-rw-r--r--. 1 root root 11033 Sep  3  2013 tr_TR.po

Regards,


Tomás Abad

Offline

#7 2014-10-10 11:04:15

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

Re: [Plugin][Reports v1.7.2] Errors into php-errors.log (II)

If haven't your problem. With language do you use in GLPI?


CentOS 6.5 - CentOS 7
PHP 5.6 - PHP 7 - MySQL 5.6  + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

Offline

#8 2014-10-10 11:11:42

tabad
Guest
From: Manzanares, Ciudad Real, Spain
Registered: 2011-09-23
Posts: 89

Re: [Plugin][Reports v1.7.2] Errors into php-errors.log (II)

Hello Nelly,

We use GLPI in English and Spanish.


Tomás Abad

Offline

#9 2014-10-10 12:03:35

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

Re: [Plugin][Reports v1.7.2] Errors into php-errors.log (II)

in file es_ES.po, do you have "applicationsbylocation_report_title"?


CentOS 6.5 - CentOS 7
PHP 5.6 - PHP 7 - MySQL 5.6  + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

Offline

#10 2014-10-10 12:30:41

tabad
Guest
From: Manzanares, Ciudad Real, Spain
Registered: 2011-09-23
Posts: 89

Re: [Plugin][Reports v1.7.2] Errors into php-errors.log (II)

Hello Nelly,

Yes I have it.

     69 #: inc/timeintervalcriteria.class.php:67 inc/timeintervalcriteria.class.php:76
     70 msgid "Number pending"
     71 msgstr "Número pendientes"
     72 
     73 #. TRANS: The name of the report = Applications by locations and versions
     74 #: report/applicationsbylocation/applicationsbylocation.php:36
     75 msgid "applicationsbylocation_report_title"
     76 msgstr ""
     77 
     78 #: report/applicationsbylocation/applicationsbylocation.php:42
     79 msgid "Applications"
     80 msgstr "Aplicaciones"
     81 
     82 #: report/applicationsbylocation/applicationsbylocation.php:45
     83 #: report/softversioninstallations/softversioninstallations.php:43
     84 msgid "Computer status"
     85 msgstr "Estado del equipo"
     86 

Regards,

Last edited by tabad (2014-10-10 12:31:00)


Tomás Abad

Offline

#11 2014-10-10 12:42:33

tabad
Guest
From: Manzanares, Ciudad Real, Spain
Registered: 2011-09-23
Posts: 89

Re: [Plugin][Reports v1.7.2] Errors into php-errors.log (II)

Hello Nelly,

I don't know whether this is important or not but there are a lot of lines

msgstr ""

inside that file.

Regards,


Tomás Abad

Offline

#12 2014-10-10 12:45:29

tabad
Guest
From: Manzanares, Ciudad Real, Spain
Registered: 2011-09-23
Posts: 89

Re: [Plugin][Reports v1.7.2] Errors into php-errors.log (II)

Hello Nelly,

...and each line

2014-10-02 12:28:22
includeLocales(zombies_report_title, reports) => not found

in php-error.txt file has its equivalent into es_ES.po file

    ...
    337 #. TRANS: The name of the report = Users with no right
    338 #: report/zombies/zombies.php:36
    339 msgid "zombies_report_title"
    340 msgstr ""
    341 
    ...

Regards,


Tomás Abad

Offline

#13 2014-10-10 12:50:35

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

Re: [Plugin][Reports v1.7.2] Errors into php-errors.log (II)

msgstr "" corresponding to a string not translated.
But in this case, you must have the title of the report in english


CentOS 6.5 - CentOS 7
PHP 5.6 - PHP 7 - MySQL 5.6  + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

Offline

#14 2014-10-29 01:11:26

tabad
Guest
From: Manzanares, Ciudad Real, Spain
Registered: 2011-09-23
Posts: 89

Re: [Plugin][Reports v1.7.2] Errors into php-errors.log (II)

Hello Nelly,

What is the solution for this problem, translate the plugin?

I do not want to have those entries in php-errors.txt file. It is bigger each day and with they is more and more difficult to find a problem, if someone exists.


Tomás Abad

Offline

#15 2014-10-29 17:22:58

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

Re: [Plugin][Reports v1.7.2] Errors into php-errors.log (II)

Yes the string must be translated. You can be a translator of this plugin (we use transifex https://www.transifex.com/projects/p/GL … ge/es_ES/)


CentOS 6.5 - CentOS 7
PHP 5.6 - PHP 7 - MySQL 5.6  + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

Offline

#16 2018-03-12 15:34:31

Megachip
Guest
Registered: 2014-05-02
Posts: 86

Re: [Plugin][Reports v1.7.2] Errors into php-errors.log (II)

Still a problem with

GLPI 9.2.1
Reports 1.11.1

Language English and German

Offline

#17 2018-03-12 17:48:10

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

Re: [Plugin][Reports v1.7.2] Errors into php-errors.log (II)

You post on an old thread corrected.
What is your problem?


CentOS 6.5 - CentOS 7
PHP 5.6 - PHP 7 - MySQL 5.6  + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

Offline

#18 2018-03-26 18:41:28

Megachip
Guest
Registered: 2014-05-02
Posts: 86

Re: [Plugin][Reports v1.7.2] Errors into php-errors.log (II)

yllen wrote:

What is your problem?

The bug regported by tabad is still not fixed/the strings are still not translated.

and the link to transiflex thrown a 404.

Offline

Board footer

Powered by FluxBB