Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File not found creating model #60

Closed
marrobe opened this issue Jan 31, 2018 · 17 comments
Closed

File not found creating model #60

marrobe opened this issue Jan 31, 2018 · 17 comments
Assignees
Labels
Milestone

Comments

@marrobe
Copy link

marrobe commented Jan 31, 2018

Bonjour,
Lors de la création d'un nouveau modèle, le chargement du fichier CSV génère l'erreur "fichier introuvable"
GLPI 9.2.1 / DataInjection 2.5.0
cdlt

@phamorais
Copy link

J'ai le même problème

@dricce
Copy link

dricce commented Feb 8, 2018

Pareil.
Je suis sous Windows / IIS.
GLPI 9.1 / DataInjection 2.4.2: OK.
GLPI 9.2.1 / DataInjection 2.5.0: fichier introuvable.
Je sais que sous LAMP c'est OK aussi dans ces deux configurations, d'après mon fournisseur.

@chichtacos
Copy link

Hello,

exactly the same issue for me !
Any idea on this toppic ?

Thx !

@lemkev
Copy link

lemkev commented Feb 13, 2018

Bonjour,
Je rencontre le même problème :
Je suis sous Windows Server 2008 / IIS 7. J'ai fait un CSV de 4 lignes sous UTF-8 (nom, prénom, identifiant, mail).

  • Sous une nouvelle installation GLPI 9.1.7 + Data injection 2.4.2 : OK
  • Sous une nouvelle installation GLPI 9.2.1 + Data injection 2.5 : Fichier introuvable.

Merci pour votre aide

================================

Hi,
I have the same problem :
I'm using Windows Server 2008 / IIS7. I made a 4 lines - CSV in UTF-8 (last name, first name, ID, mail).

  • With a freshly installed GLPI 9.1.7 + Data injection 2.4.2 : OK
  • With a freshly installed GLPI 9.2.1 + Data injection 2.5 : File not found

Thanks for your help

@tsmr
Copy link
Contributor

tsmr commented Feb 15, 2018

inc/model.class.php

l907 - change $temporary_uploaded_filename = stripslashes($_FILES["filename"]["tmp_name"]);

to

$temporary_uploaded_filename = $_FILES["filename"]["tmp_name"];

(windows files name cannot be C:wamp64tmpphp80A5.tmp)

@chichtacos
Copy link

Seems to be just fine !
Thx !

@marrobe
Copy link
Author

marrobe commented Feb 15, 2018

Thx ! it's fine

@dricce
Copy link

dricce commented Feb 15, 2018

same for me, it works! thank you!

@lemkev
Copy link

lemkev commented Feb 15, 2018

Cela marche pour moi aussi, merci beaucoup !

===============
It is working for me too, thanks a lot !

@supports2l
Copy link

I had the same problem, solved with your solution!
Thank you!

@trasher trasher changed the title Erreur "Ficher introuvable" lors de la création du modèle File not found creating model Mar 14, 2018
@jfsynk
Copy link

jfsynk commented May 14, 2018

Bonjour,

J'ai exactement le même problème en GLPI 9.2.3, Data injection 2.5.0. Sur un environnement RHEL7.5. Le patch proposé ne résoud pas le problème.
J'essaye d'uploader un csv hyper simple mais rien a faire :

image

Si vous pouvez m'apporter de l'aide je suis preneur

Merci par avance,

Cordialement
JF

@trasher
Copy link
Contributor

trasher commented May 14, 2018

@jfsynk please use english. (same for all others... every user does not understand french)

@jfsynk
Copy link

jfsynk commented May 14, 2018

OK sorry,
I've the same issue in environnment GLPI 9.2.3/Datainjection 2.5.0/REL7.5. I try to inject a little CSV file with 2 lines only and the same error appear : the file could not be found.

Your help will be appreciated

Thanks
JF

@jfsynk
Copy link

jfsynk commented May 16, 2018

Hi, anyone have an idea?

Thks

amma35 pushed a commit to amma35/datainjection that referenced this issue Jun 4, 2018
@cedric-anne cedric-anne added this to the 2.5.2 milestone Jun 4, 2018
@cedric-anne cedric-anne added the bug label Jun 4, 2018
@cedric-anne cedric-anne self-assigned this Jun 4, 2018
@cedric-anne
Copy link
Contributor

Fixed by 7a9fd94.

@totalr3call
Copy link

I am having this issue. Using GLPI 9.2.3 and File Injection 2.5.1. Have tried changing every setting available, have modified the csv file every way I can and have only tried 1 row of data. All I get is the File Not Found error.

@cedric-anne
Copy link
Contributor

Hi @totalr3call ,

The fix has not been included in a release yet. Can you try after applying this patch 7a9fd94 ?

Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests