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-10-13 17:57:12

rds
Member
From: Ukraine
Registered: 2009-10-13
Posts: 22

Bug with php 5.2.11 -- Issue with plugin validation

FreeBSD 6.3.
PHP - updated to 5.2.11. All applications (MySQL 5.0.85, Apache 2.2.13, PHP 5.2.13) installed from source. I found it repeatedly.

After the upgrade, everything was configured in the configuration file right and I have received a "glitch":
GLPI something was strange to work - downloading ms office documents, etc. through the form ...front/document.php get their damage.

All revised since this morning, but only now found the problem in that case it is due to set PHP 5.2.11 instead of PHP 5.2.10.

I decided here to ask developers about GLPI compatibility with PHP 5.2.11.
Since the description of what is done in PHP-5.2.11 as compared to PHP-5.2.10 - no significant differences were not found. And on PHP-5.2.11 everything is fully working for except GLPI and SugarCRM (here even described how to solve http://www.sugarcrm.com/forums/showthread.php?t=52694, helped zlib.output_compression ',' true ')

GLPI 0.72.2 is compatible with PHP-5.2.11? (to be confirmed that the system is assembled on FreeBSD 6.3 respectively, and all applications compiled from source, GLPI with installed PHP-5.2.10 works fine).

Last edited by rds (2009-10-15 12:47:02)

Offline

#2 2009-10-16 18:47:00

remi
GLPI-DEV
From: Champagne
Registered: 2007-04-28
Posts: 7,127
Website

Re: Bug with php 5.2.11 -- Issue with plugin validation

I don't think there is an issue with php 5.2.11 but I can't try (I always use the latest)

Try in debug mode (see the wiki) and check the log.

Which plugin are you using ? try to disable all.
Probably an issue with a malformed page (I don't remember which plugin/version cause this issue).

And GLPI doesn't play with ouput_compression.

+


Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/

Offline

#3 2009-10-16 19:01:16

rds
Member
From: Ukraine
Registered: 2009-10-13
Posts: 22

Re: Bug with php 5.2.11 -- Issue with plugin validation

Yes! You are right!! I've disable plugin validation and my problem gone away.

Tnx a lot!..

Offline

#4 2009-10-16 19:13:55

remi
GLPI-DEV
From: Champagne
Registered: 2007-04-28
Posts: 7,127
Website

Re: Bug with php 5.2.11 -- Issue with plugin validation

So I move this to plugins section (and change the title to have the plugin maintainer to see it)

+


Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/

Offline

#5 2009-10-16 19:55:21

rds
Member
From: Ukraine
Registered: 2009-10-13
Posts: 22

Re: Bug with php 5.2.11 -- Issue with plugin validation

I`ve noticed, if the language profile is English, there is no problem, all files are downloaded properly.

If I switch to any other language, the files are downloaded corrupted ...

What is wrong?

Offline

#6 2009-10-16 23:52:58

tsmr
GLPI-DEV
From: Rennes
Registered: 2005-08-26
Posts: 11,632
Website

Re: Bug with php 5.2.11 -- Issue with plugin validation

Look the /plugins/validation/locales/ files and check if they have a blank line at the end of the file after ?> and delete it. And test again.


Xavier Caillaud
Blog GLPI Infotel

Offline

#7 2009-10-17 01:07:40

rds
Member
From: Ukraine
Registered: 2009-10-13
Posts: 22

Re: Bug with php 5.2.11 -- Issue with plugin validation

In en_GB.php blank line have to. But I made changes and still doen`t work. I get damaged files.

with localized files by default are no problems, just checked it. Only with the Russian-language file, which I localized by himself.
but what I could do wrong? After all, I only changed the english words in the native language (utf8)

Maybe there is a problem with Cyrillic support?


<?php
/*
   ----------------------------------------------------------------------
   GLPI - Gestionnaire Libre de Parc Informatique
   Copyright (C) 2003-2008 by the INDEPNET Development Team.

   http://indepnet.net/   http://glpi-project.org/

   ----------------------------------------------------------------------
   LICENSE

   This program is free software; you can redistribute it and/or
   modify it under the terms of the GNU General Public License (GPL)
   as published by the Free Software Foundation; either version 2
   of the License, or (at your option) any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   To read the license please visit http://www.gnu.org/copyleft/gpl.html
   ----------------------------------------------------------------------
   // Original Author of file: GRISARD Jean Marc & CAILLAUD Xavier
   Purpose of file:
   ----------------------------------------------------------------------
*/

$title = "&#1055;&#1088;&#1086;&#1074;&#1077;&#1088;&#1082;&#1072;";

$LANG['plugin_validation']['title'][1] = $title;

$LANG['plugin_validation']["profile"][0] = "&#1059;&#1087;&#1088;&#1072;&#1074;&#1083;&#1077;&#1085;&#1080;&#1077; &#1087;&#1088;&#1072;&#1074;&#1072;&#1084;&#1080;";
$LANG['plugin_validation']["profile"][1] = "&#1044;&#1086;&#1089;&#1090;&#1091;&#1087; &#1087;&#1086; &#1087;&#1088;&#1072;&#1074;&#1072;&#1084;";

$LANG['plugin_validation']['mailing'][0] = "&#1069;&#1090;&#1086; &#1089;&#1086;&#1086;&#1073;&#1097;&#1077;&#1085;&#1080;&#1077; &#1087;&#1088;&#1080;&#1096;&#1083;&#1086; &#1042;&#1072;&#1084; &#1087;&#1086; &#1079;&#1072;&#1087;&#1088;&#1086;&#1089;&#1091; &#1086;&#1090; &#1088;&#1091;&#1082;&#1086;&#1074;&#1086;&#1076;&#1089;&#1090;&#1074;&#1072; &#1086;&#1090;&#1076;&#1077;&#1083;&#1072; &#1086;&#1073;&#1089;&#1083;&#1091;&#1078;&#1080;&#1074;&#1072;&#1085;&#1080;&#1103; &#1082;&#1083;&#1080;&#1077;&#1085;&#1090;&#1086;&#1074;, &#1089; &#1094;&#1077;&#1083;&#1100;&#1102; &#1087;&#1086;&#1076;&#1090;&#1074;&#1077;&#1088;&#1076;&#1080;&#1090;&#1100; &#1086;&#1073;&#1098;&#1077;&#1084; &#1080; &#1082;&#1072;&#1095;&#1077;&#1089;&#1090;&#1074;&#1086; &#1074;&#1099;&#1087;&#1086;&#1083;&#1085;&#1077;&#1085;&#1085;&#1099;&#1093; &#1088;&#1072;&#1073;&#1086;&#1090;";
$LANG['plugin_validation']['mailing'][1] = "&#1058;&#1088;&#1077;&#1073;&#1091;&#1077;&#1090;&#1089;&#1103; &#1042;&#1072;&#1096;&#1077; &#1087;&#1086;&#1076;&#1090;&#1074;&#1077;&#1088;&#1078;&#1076;&#1077;&#1085;&#1080;&#1077; &#1074;&#1099;&#1087;&#1086;&#1083;&#1085;&#1077;&#1085;&#1085;&#1099;&#1093; &#1088;&#1072;&#1073;&#1086;&#1090;";

$LANG['plugin_validation']['valid'][1] = "&#1057;&#1090;&#1072;&#1090;&#1091;&#1089;";
$LANG['plugin_validation']['valid'][2] = "&#1055;&#1086;&#1083;&#1100;&#1079;&#1086;&#1074;&#1072;&#1090;&#1077;&#1083;&#1100;";
$LANG['plugin_validation']['valid'][3] = "&#1044;&#1072;&#1090;&#1072;";
$LANG['plugin_validation']['valid'][4] = "&#1044;&#1072;&#1090;&#1072; &#1087;&#1088;&#1086;&#1074;&#1077;&#1088;&#1082;&#1080;";
$LANG['plugin_validation']['valid'][5] = "&#1050;&#1086;&#1084;&#1084;&#1077;&#1085;&#1090;&#1072;&#1088;&#1080;&#1081;";
$LANG['plugin_validation']['valid'][6] = "&#1050;&#1086;&#1084;&#1084;&#1077;&#1085;&#1090;&#1072;&#1088;&#1080;&#1081; &#1087;&#1088;&#1086;&#1074;&#1077;&#1088;&#1082;&#1080;";
$LANG['plugin_validation']['valid'][7] = $title." &#1076;&#1083;&#1103; &#1090;&#1077;&#1082;&#1091;&#1097;&#1077;&#1075;&#1086; &#1079;&#1072;&#1087;&#1088;&#1086;&#1089;&#1072;";
$LANG['plugin_validation']['valid'][8] = "&#1054;&#1078;&#1080;&#1076;&#1072;&#1085;&#1080;&#1077;";
$LANG['plugin_validation']['valid'][9] = "&#1054;&#1090;&#1082;&#1083;&#1086;&#1085;&#1077;&#1085;&#1086;";
$LANG['plugin_validation']['valid'][10] = "&#1055;&#1088;&#1080;&#1085;&#1103;&#1090;&#1086;";
$LANG['plugin_validation']['valid'][11] = "&#1055;&#1086;&#1074;&#1090;&#1086;&#1088;&#1085;&#1086; &#1085;&#1072; &#1087;&#1086;&#1095;&#1090;&#1091;";
$LANG['plugin_validation']['valid'][12] = "&#1054;&#1090;&#1087;&#1088;&#1072;&#1074;&#1082;&#1072; &#1079;&#1072;&#1087;&#1088;&#1086;&#1089;&#1072; &#1087;&#1088;&#1086;&#1074;&#1077;&#1088;&#1082;&#1080;";
$LANG['plugin_validation']['valid'][13] = "&#1054;&#1090;&#1087;&#1088;&#1072;&#1074;&#1080;&#1090;&#1100;";
$LANG['plugin_validation']['valid'][14] = "&#1057;&#1083;&#1077;&#1076;&#1091;&#1102;&#1097;&#1080;&#1077; &#1079;&#1072;&#1087;&#1088;&#1086;&#1089;&#1099; &#1090;&#1088;&#1077;&#1073;&#1091;&#1102;&#1090; &#1087;&#1088;&#1086;&#1074;&#1077;&#1088;&#1082;&#1080;";
$LANG['plugin_validation']['valid'][15] = "&#1040;&#1074;&#1090;&#1086;&#1088;";
$LANG['plugin_validation']['valid'][16] = "&#1053;&#1072;&#1079;&#1085;&#1072;&#1095;&#1077;&#1085;&#1086; ";
$LANG['plugin_validation']['valid'][17] = "&#1047;&#1072;&#1087;&#1088;&#1086;&#1089;";
$LANG['plugin_validation']['valid'][18] = "&#1055;&#1088;&#1080;&#1085;&#1103;&#1090;&#1100;";
$LANG['plugin_validation']['valid'][19] = "&#1054;&#1090;&#1082;&#1083;&#1086;&#1085;&#1080;&#1090;&#1100;";
$LANG['plugin_validation']['valid'][20] = "&#1087;&#1088;&#1086;&#1080;&#1079;&#1074;&#1086;&#1083;&#1100;&#1085;&#1086;";
$LANG['plugin_validation']['valid'][21] = "&#1042; &#1086;&#1078;&#1080;&#1076;&#1072;&#1085;&#1080;&#1080; &#1087;&#1088;&#1086;&#1074;&#1077;&#1088;&#1082;&#1080;";
$LANG['plugin_validation']['valid'][22] = "&#1053;&#1077; &#1090;&#1088;&#1077;&#1073;&#1091;&#1102;&#1097;&#1080;&#1077; &#1087;&#1088;&#1086;&#1074;&#1077;&#1088;&#1082;&#1080;";
$LANG['plugin_validation']['valid'][24] = "&#1054;&#1090;&#1087;&#1088;&#1072;&#1074;&#1080;&#1090;&#1100;";
$LANG['plugin_validation']['valid'][25] = "&#1055;&#1088;&#1086;&#1074;&#1077;&#1088;&#1077;&#1085;&#1086;.";
$LANG['plugin_validation']['valid'][26] = "&#1055;&#1088;&#1086;&#1074;&#1077;&#1088;&#1082;&#1072; &#1086;&#1090;&#1082;&#1083;&#1086;&#1085;&#1077;&#1085;&#1072;.";
$LANG['plugin_validation']['valid'][27] = "&#1047;&#1072;&#1087;&#1088;&#1086;&#1089; &#1085;&#1072; &#1087;&#1088;&#1086;&#1074;&#1077;&#1088;&#1082;&#1091; &#1086;&#1090;&#1087;&#1088;&#1072;&#1074;&#1083;&#1077;&#1085;";
$LANG['plugin_validation']['valid'][28] = "&#1044;&#1086;&#1089;&#1090;&#1091;&#1087; &#1079;&#1072;&#1087;&#1088;&#1077;&#1097;&#1077;&#1085;";
$LANG['plugin_validation']['valid'][29] = "&#1055;&#1088;&#1086;&#1074;&#1077;&#1088;&#1082;&#1072; &#1085;&#1077; &#1086;&#1073;&#1085;&#1072;&#1088;&#1091;&#1078;&#1077;&#1085;&#1072;";
$LANG['plugin_validation']['valid'][30] = "&#1047;&#1072;&#1075;&#1083;&#1072;&#1074;&#1080;&#1077;";
$LANG['plugin_validation']['valid'][31] = "&#1054;&#1090;&#1084;&#1077;&#1085;&#1077;&#1085;&#1086;";
$LANG['plugin_validation']['valid'][32] = "&#1069;&#1090;&#1086;&#1090; &#1079;&#1072;&#1087;&#1088;&#1086;&#1089; &#1087;&#1088;&#1086;&#1074;&#1077;&#1088;&#1082;&#1080; &#1073;&#1099;&#1083; &#1086;&#1090;&#1084;&#1077;&#1085;&#1077;&#1085;";
$LANG['plugin_validation']['valid'][34] = "&#1047;&#1072;&#1087;&#1088;&#1086;&#1089; &#1087;&#1088;&#1086;&#1074;&#1077;&#1088;&#1082;&#1080; &#1086;&#1090;&#1084;&#1077;&#1085;&#1077;&#1085;";
$LANG['plugin_validation']['valid'][35] = "&#1055;&#1086;&#1089;&#1084;&#1086;&#1090;&#1088;&#1077;&#1090;&#1100; &#1092;&#1086;&#1088;&#1084;&#1091; &#1087;&#1088;&#1086;&#1074;&#1077;&#1088;&#1082;&#1080;";
$LANG['plugin_validation']['valid'][36] = "&#1044;&#1086;&#1073;&#1072;&#1074;&#1080;&#1090;&#1100; &#1079;&#1072;&#1087;&#1088;&#1086;&#1089;&#1072; &#1085;&#1072; &#1087;&#1088;&#1086;&#1074;&#1077;&#1088;&#1082;&#1091;";

$LANG['plugin_validation']['error'][1] = "&#1054;&#1096;&#1080;&#1073;&#1082;&#1072; &#1074;&#1099;&#1087;&#1086;&#1083;&#1085;&#1077;&#1085;&#1080;&#1103; &#1079;&#1072;&#1087;&#1088;&#1086;&#1089;&#1072;.";
$LANG['plugin_validation']['error'][2] = "&#1044;&#1086;&#1089;&#1090;&#1091;&#1087; &#1079;&#1072;&#1087;&#1088;&#1077;&#1097;&#1077;&#1085;";
$LANG['plugin_validation']['error'][3] = " &#1085;&#1077; &#1091;&#1089;&#1090;&#1072;&#1085;&#1086;&#1074;&#1083;&#1077;&#1085; &#1072;&#1076;&#1088;&#1077;&#1089; &#1101;&#1083;. &#1087;&#1086;&#1095;&#1090;&#1099;.";

?>

Last edited by rds (2009-10-17 01:22:02)

Offline

#8 2009-10-17 13:07:09

tsmr
GLPI-DEV
From: Rennes
Registered: 2005-08-26
Posts: 11,632
Website

Re: Bug with php 5.2.11 -- Issue with plugin validation

Check the file encoding -> must be utf8 i think


Xavier Caillaud
Blog GLPI Infotel

Offline

#9 2009-10-17 13:18:48

rds
Member
From: Ukraine
Registered: 2009-10-13
Posts: 22

Re: Bug with php 5.2.11 -- Issue with plugin validation

yes, on the other does not work. May be copy-past from file here for you is not readable.

Last edited by rds (2009-10-17 13:20:01)

Offline

#10 2009-10-18 23:16:01

rds
Member
From: Ukraine
Registered: 2009-10-13
Posts: 22

Re: Bug with php 5.2.11 -- Issue with plugin validation

in languages by default as there is the same problem for exsample pt_BR.php es_ES.php in french & eng seems ok

Offline

#11 2009-10-19 07:13:47

remi
GLPI-DEV
From: Champagne
Registered: 2007-04-28
Posts: 7,127
Website

Re: Bug with php 5.2.11 -- Issue with plugin validation

To check all installed file, can you download the check script :
https://forge.indepnet.net/repositories … format=raw

Save it to glpi/scripts folder and run it from this directory/

+


Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/

Offline

#12 2009-10-19 08:21:38

rds
Member
From: Ukraine
Registered: 2009-10-13
Posts: 22

Re: Bug with php 5.2.11 -- Issue with plugin validation

WOW!! To me you are the greatest man today ...

Finally, the problem is resolved!


problem whit begin of ../plugins/validation/locales/ru_RU.php &#1054;&#9577;©<?php

problem whit begin of ../plugins/validation/locales/ua_UA.php &#1054;&#9577;©<?php

   
If you want I can give you the translation files, as well I can help to translate into Russian and Ukrainian languages other Projects summary!

TNX!

Offline

#13 2009-10-19 09:00:41

remi
GLPI-DEV
From: Champagne
Registered: 2007-04-28
Posts: 7,127
Website

Re: Bug with php 5.2.11 -- Issue with plugin validation

Yes, please, send your translation file to the Dév ML (you need to subscribe first)
http://www.glpi-project.org/spip.php?article57

+


Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/

Offline

#14 2009-10-19 21:50:49

rds
Member
From: Ukraine
Registered: 2009-10-13
Posts: 22

Re: Bug with php 5.2.11 -- Issue with plugin validation

I sent a file transfer plug-in for Russian and Ukrainian language, also correcting a few errors in the file for the Russification of the glpi

Have a nice day!

Offline

#15 2009-10-20 09:16:38

tsmr
GLPI-DEV
From: Rennes
Registered: 2005-08-26
Posts: 11,632
Website

Re: Bug with php 5.2.11 -- Issue with plugin validation


Xavier Caillaud
Blog GLPI Infotel

Offline

Board footer

Powered by FluxBB