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 2012-06-14 12:57:15

makeijan
Member
From: Pontevedra, Galicia
Registered: 2008-01-29
Posts: 757
Website

Plugin error - PHP Notice: Undefined offset [...] at line 47

Hi,
I'm testing the upgrade from 0.80.7 to 0.83.2. Everything seems fine unless plugins.

Archires didn't work at all, so I've set debug mode and found  Call to undefined function header_nocache() error messages.

I've did a little research and found this forum message http://www.glpi-project.org/forum/viewt … p?id=28622 which suggested to clean up plugins folder previous to upgrade.  So I've cleaned up all plugin folders, untar new versions and the now it just works. Even though I get another error:

PHP Notice: Undefined offset: 8 in /var/www/glpi/plugins/webapplications/inc/webapplication.class.php at line 47

when using webapplications and domains plugins.
Content of the related line is:

return $LANG['plugin_webapplications'][8];

So, I've switched language to english, but red error message still appears.

Is this a bug? Any fixes?

Thank you

Offline

#2 2012-06-14 13:53:51

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

Re: Plugin error - PHP Notice: Undefined offset [...] at line 47

oups :
https://forge.indepnet.net/projects/web … isions/157

For archires : Call to undefined function header_nocache()
Wchich version of glpi and archires plugin ? error of compatibility versions ?


Xavier Caillaud
Blog GLPI Infotel

Offline

#3 2012-06-15 13:44:33

makeijan
Member
From: Pontevedra, Galicia
Registered: 2008-01-29
Posts: 757
Website

Re: Plugin error - PHP Notice: Undefined offset [...] at line 47

Sorry about the delay. I've forgot to subscribe :-)

[*]GLPI 0.83.2[/*]
[*]Network Architecture    2.0.0[/*]
[*]Domains    1.5.1[/*]

Thank you

Offline

#4 2012-06-15 13:55:35

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

Re: Plugin error - PHP Notice: Undefined offset [...] at line 47

can you give me the full log error ? glpi/file/_log/php_errors.log (activate logs into glpi into system configuration)


Xavier Caillaud
Blog GLPI Infotel

Offline

#5 2012-06-15 18:30:03

makeijan
Member
From: Pontevedra, Galicia
Registered: 2008-01-29
Posts: 757
Website

Re: Plugin error - PHP Notice: Undefined offset [...] at line 47

It was quite long.
I've pasted last 10000 lines (last month)
http://pastebin.com/Z5mBwzpf

Offline

#6 2012-06-16 09:59:23

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

Re: Plugin error - PHP Notice: Undefined offset [...] at line 47


Xavier Caillaud
Blog GLPI Infotel

Offline

#7 2012-06-18 12:56:40

makeijan
Member
From: Pontevedra, Galicia
Registered: 2008-01-29
Posts: 757
Website

Re: Plugin error - PHP Notice: Undefined offset [...] at line 47

I've commented out the pointed line and now language related problems are gone. Great! Thank you.

Webapplications and Domains Plugin message error still persists.

Offline

#8 2012-06-18 14:18:15

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

Re: Plugin error - PHP Notice: Undefined offset [...] at line 47


Xavier Caillaud
Blog GLPI Infotel

Offline

#9 2012-06-18 14:26:51

makeijan
Member
From: Pontevedra, Galicia
Registered: 2008-01-29
Posts: 757
Website

Re: Plugin error - PHP Notice: Undefined offset [...] at line 47

Sorry, I've missed that.
It's done now. Everything runs smoothly :-)
You can close.
Thank you.

Offline

Board footer

Powered by FluxBB