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-05-22 15:02:35

augusto.ferronato
Member
From: Brasilia - DF / Brasil
Registered: 2008-03-19
Posts: 190

Plugin Validation - Not Work with GLPI 0.71.5

Hi,
I'm use the Plugin Validation on GLPI 0.71.5, but the plugin not work, i click on "Plugin > Validation" send to "GLPI" user for example, in the helpdesk, i describe one comment, and send, but in the screen appears:
GLPI
Every appear the user than you send the validation, but when i log with GLPI, and go to Plugins > Validation", in Debug Mode, only this:

PHP ERROR: array_push() [function.array-push]: First argument should be an array in /usr/local/www/data-dist/glpi/plugins/hotline/setup.php at line 52
PHP ERROR: Cannot modify header information - headers already sent by (output started at /usr/local/www/data-dist/glpi/inc/common.function.php:166) in /usr/local/www/data-dist/glpi/inc/display.function.php at line 57
PHP ERROR: Cannot modify header information - headers already sent by (output started at /usr/local/www/data-dist/glpi/inc/common.function.php:166) in /usr/local/www/data-dist/glpi/inc/display.function.php at line 1944
PHP ERROR: Cannot modify header information - headers already sent by (output started at /usr/local/www/data-dist/glpi/inc/common.function.php:166) in /usr/local/www/data-dist/glpi/inc/display.function.php at line 1945

What is this plugin Hotline, because i not have installed this o.O,
I have these plugins:

Activity                   #1.4
File injection                #1.5.1
Intervention report   #1.1
Print to pdf           #0.5
Project    #0.9
Reports    #1.2
Salles    #0.1
Validation    #0.2

Thanks


SO: Gentoo
Version: PROD GLPI 0.84.6 / DEV: SVN
PHP: PHP 5.3.4-pl0-gentoo / MySQL: 5.1.51-log
OCS: OCS-NG 2.0

Offline

#2 2009-05-22 15:11:03

augusto.ferronato
Member
From: Brasilia - DF / Brasil
Registered: 2008-03-19
Posts: 190

Re: Plugin Validation - Not Work with GLPI 0.71.5

i see this (very quick on screen, heheeh)

PHP ERROR: Undefined offset: 3 in /usr/local/www/data-dist/glpi/plugins/validation/front/plugin_validation.form.php at line 52

SO: Gentoo
Version: PROD GLPI 0.84.6 / DEV: SVN
PHP: PHP 5.3.4-pl0-gentoo / MySQL: 5.1.51-log
OCS: OCS-NG 2.0

Offline

#3 2009-05-22 16:32:49

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

Re: Plugin Validation - Not Work with GLPI 0.71.5

glpi/plugins/hotline/setup.php ???


Xavier Caillaud
Blog GLPI Infotel

Offline

#4 2009-05-22 21:03:04

augusto.ferronato
Member
From: Brasilia - DF / Brasil
Registered: 2008-03-19
Posts: 190

Re: Plugin Validation - Not Work with GLPI 0.71.5

i find it, and remove, but, continue not work the Validation smile

Thanks


SO: Gentoo
Version: PROD GLPI 0.84.6 / DEV: SVN
PHP: PHP 5.3.4-pl0-gentoo / MySQL: 5.1.51-log
OCS: OCS-NG 2.0

Offline

#5 2009-05-23 09:00:44

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

Re: Plugin Validation - Not Work with GLPI 0.71.5

if (!empty($user->fields["email"])) in code :

The selected user haven't email.

Aftert you can just add an entry on validation dict :
$LANGVALIDATION['error'][3] = " don't have en email";


Xavier Caillaud
Blog GLPI Infotel

Offline

#6 2009-05-25 14:37:10

augusto.ferronato
Member
From: Brasilia - DF / Brasil
Registered: 2008-03-19
Posts: 190

Re: Plugin Validation - Not Work with GLPI 0.71.5

Hum,
Ok thanks smile


SO: Gentoo
Version: PROD GLPI 0.84.6 / DEV: SVN
PHP: PHP 5.3.4-pl0-gentoo / MySQL: 5.1.51-log
OCS: OCS-NG 2.0

Offline

Board footer

Powered by FluxBB