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-11-07 19:36:18

adrianmarsh
Member
Registered: 2006-08-28
Posts: 379

File Injection plugin - missing forms

Hi,

I'm trying to add a Model for file-injection... but after the first screen (defining Name, Type of Data etc), I'm given a screen with the tab titles (Main, File Inject, Mappings, Additional Info, Historical) but with no form to fill out.

This is strange as we've not upgraded GLPI or File Injection in a while, and its all reasonably current.

Any ideas? Known issue?

I can't get past this stage in creating a Model, I can't even give it a file to see the Fields of the CSV file I want to import.
I've tried Firefox and Chrome browsers.

GLPI 0.83.60
File Injection: 2.2.1


GLPI 0.83.91/CENTOS5 - OCS 1.01/Win2003

Offline

#2 2012-11-07 19:48:07

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

Re: File Injection plugin - missing forms

hello
switch to debug mode please and check the logs for errors

Offline

#3 2012-11-07 20:15:45

adrianmarsh
Member
Registered: 2006-08-28
Posts: 379

Re: File Injection plugin - missing forms

Hmmm... I tried to enable debug:

http://www.glpi-project.org/wiki/doku.p … nfig:debug

But I can't see a "Use GLPI in Mode: Debug".  I tried setting log level to 5, but nothing more came out in the browser, and nothing in php-errors.log


GLPI 0.83.91/CENTOS5 - OCS 1.01/Win2003

Offline

#4 2012-11-07 20:20:58

adrianmarsh
Member
Registered: 2006-08-28
Posts: 379

Re: File Injection plugin - missing forms

Ah ha!  Found it under Settings of my own account - That wiki page should really be updated!!

I get this error from the file injections:

Fatal error: Call to undefined function header_nocache() in /var/www/it/glpi/plugins/datainjection/ajax/model.tabs.php on line 35


GLPI 0.83.91/CENTOS5 - OCS 1.01/Win2003

Offline

#5 2012-11-07 20:23:28

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

Re: File Injection plugin - missing forms

once again...
you've overwritten the old 0.80 plugin files with the new ones instead of moving the old files somewhere else...

Offline

#6 2012-11-07 20:35:45

adrianmarsh
Member
Registered: 2006-08-28
Posts: 379

Re: File Injection plugin - missing forms

Ah.... that looks to of got it.. I disabled... moved the datainjections folder out and re-expanded it, then re-enabled. Initial test looks good.

I have to say though - why doesn't the "update" part of the plugin installation, or a GLPI update, pick up on file version issues like this?  This has obviously happened as part of the last GLPI main update I'd guess. But wasn't highlighted up.

And - I've not reported this myself before - so the "once again" comment isn't helpful.  I couldn't debug it, as the debug instructions on the wiki are wrong, and I can't update the wiki now as its not writable for me.   Once I was able to see debug, now I can see quite a few threads in both French and English. If its such a common mistake, then that suggests something wrong in the process.

Thanks for your help though :-)


GLPI 0.83.91/CENTOS5 - OCS 1.01/Win2003

Offline

Board footer

Powered by FluxBB