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 2008-01-29 17:03:46

Lupick
Member
Registered: 2008-01-24
Posts: 25

mass_import plugin php error

Dear All,

I've upgraded from ver 0.70RC to 0.70.1a.
Using mysqldiff (http://www.mysqldiff.org/) I've compared the DB 0.7RC with a clean 0.70.1a DB version.

Two DB now (after some fix; thank you MoYo) seems to have same structure.

If I try to add mass import plugin when I enter in the plugin menu under setup tab and I clink on "Mass import OCS" I get the following error in debug mode:

PHP ERROR: Undefined offset: 8 in /var/www/html/glpi/plugins/mass_ocs_import/front/plugin_mass_ocs_import.config.form.php at line 63

and

PHP ERROR: Undefined offset: 3 in /var/www/html/glpi/plugins/mass_ocs_import/front/plugin_mass_ocs_import.config.form.php at line 78

It could be related to any DB issue? Permission on plugin folder seems to be ok.

Thank you for your support.
L.

Offline

#2 2008-01-30 09:42:16

Lupick
Member
Registered: 2008-01-24
Posts: 25

Re: mass_import plugin php error

I've updated glpi to version 0.72, till no luck!

Using a clean DB (ver 0.72) the problem remain. so it could be something related to the php code?

Thank you
L.

Offline

#3 2008-01-30 09:47:49

Lupick
Member
Registered: 2008-01-24
Posts: 25

Re: mass_import plugin php error

Another little clue.....

Fresh glpi 0.72 install, new DB still same error.

Anyone has got mass_import pluguin working with latest glpi version?

L.

Offline

#4 2008-01-30 09:56:40

yvesdm
Member
Registered: 2007-06-27
Posts: 132

Re: mass_import plugin php error

Nope,

I installed this the first time directly in 0.72, but can not configure it at all.
See my post at http://glpi-project.org/forum/viewtopic.php?id=9108

Kind regards,
Yves

Offline

#5 2008-01-30 09:59:40

Lupick
Member
Registered: 2008-01-24
Posts: 25

Re: mass_import plugin php error

Yep,

It seems the same problem. If you enable the dwbug mode in setup --> general and you enter in ocs_mass import plugin to configure it, do you have the same php error described in my prev. post?

L.

Offline

#6 2008-01-30 10:16:19

yvesdm
Member
Registered: 2007-06-27
Posts: 132

Re: mass_import plugin php error

Lupick wrote:

Yep,

It seems the same problem. If you enable the dwbug mode in setup --> general and you enter in ocs_mass import plugin to configure it, do you have the same php error described in my prev. post?

L.

No, I don't get any errors, but I also don't have the possibility to configure anything.
The mass import plugin is there(under plugins) , but when i click on it to configure, nothing happens.

Y.

Offline

#7 2008-01-30 10:18:34

Lupick
Member
Registered: 2008-01-24
Posts: 25

Re: mass_import plugin php error

Is glpi in debug mode? check under debug --> general.

the errors are not shown if Glpi is in normal mode (default)

L.

Offline

#8 2008-01-30 10:29:32

yvesdm
Member
Registered: 2007-06-27
Posts: 132

Re: mass_import plugin php error

Lupick wrote:

Is glpi in debug mode? check under debug --> general.

the errors are not shown if Glpi is in normal mode (default)

L.

Ach ok, I thought your errors were shown all the time. In debug mode i also get the following:

PHP ERROR: Undefined offset: 8 in /var/www/glpi/plugins/mass_ocs_import/front/plugin_mass_ocs_import.config.form.php at line 63
PHP ERROR: Undefined offset: 3 in /var/www/glpi/plugins/mass_ocs_import/front/plugin_mass_ocs_import.config.form.php at line 78

EDIT: I looked into the code and can get lost of the errors, when I comment out the .$OCSMASSIMPORTLANG["setup"][8]. contaminiation. But still, i can not configure anything then.
Where is .$OCSMASSIMPORTLANG defined?

Y.

Last edited by yvesdm (2008-01-30 10:41:33)

Offline

#9 2008-02-11 16:46:42

wawa
GLPI-DEV
From: Montpellier / France
Registered: 2006-07-03
Posts: 6,019
Website

Re: mass_import plugin php error

yes ok there's a problem with language...
we'll try to fix it as soon as possible

Offline

#10 2008-02-11 19:48:54

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

Re: mass_import plugin php error

Please try the SVN version (will be 1.1)

=> http://www.glpi-project.org/tarballs-pl … ort.tar.gz

++


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

#11 2008-02-13 18:06:03

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

Re: mass_import plugin php error

Have you some feedback with latest tarball (which will be pushed as version 1.1 really soon) ?


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 2008-02-14 11:40:37

yvesdm
Member
Registered: 2007-06-27
Posts: 132

Re: mass_import plugin php error

Sorry, I can't test this now from where I am.
I can test it on monday. I'll post feedpack.

Kind regards, tnx
Yves

Offline

Board footer

Powered by FluxBB