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
[0.90.1] Upload document not working with Internet Explorer 11 #329
Comments
Hello @barbuslex see this issue #196. If you have an autlogon (ntlm) enabled, it should be same as this issue |
Hi @orthagh ! Yes i have NTLM autologon enabled. /front/fileupload.php not exists in GLPI 0.90.1 :( And i don't have vhost in my server... is it possible to set it in htaccess file ? Thanks for your reply, ++ |
front/fileupload.php still here :) .htacess (in front folder) should work if your hosting service provider has enable AllowOverride to all with this kind of code (not tested) :
|
Yes my bad... I use Apache 2.4 so i do a .htaccess file like this in /front/ folder :
Is it possible to add this file in future version of GLPI ? Now when i try to upload document (pdf file) i get this error : Have you an idea @orthagh ? Thanks for your help. |
I close this ticket for now (initial bug refer to #196) For your last error, it's a normal behavior, glpi manage a list of authorized extensions in Configuration > Dropdowns > Document Types. |
It's working.... i just replace :
by :
On each .htaccess files of GLPI. |
I reopen the issue because the problem of the file extension appears a hit on two : Reponse of fileupload.php
Response of fileupload.php :
I observe this behavior on all browsers... Have you an idea @orthagh ? Thanks in advance |
same filename or extension ? |
Yes the filename is : "Fichier pdf.pdf" |
In your first case, first filename seems to be 1450279181-2944 Cannot find why ? |
I don't understand why, i upload the same file in 2 case. Maybe temp filename on server ? I see the type is differrent too : multipart/form-data |
Have you see the url generated on second case @orthagh ? Would not it should be a thing like this : ??? |
Currently the problem disappeared. Perhaps a problem in the PHP server sessions. I close the ticket. |
The issue appears again its a real problem for uploading document |
This issue is critical beaucause my users cannot add a file to their tickets. |
Hello |
Hi @tomolimo, Thanks for your reply. My manipulations:
Result:
You can find the .saz file here: https://drive.google.com/file/d/0B5OckHsCwP3dZzllakkwOFBPcUE/view?usp=sharing Have you an idea ? Here my server configuration :
Thanks for your help. |
Hello, PS: in the past I tried also such configuration and switched to IIS7.5 as IIS natively managed NTML. |
It's apachehaus.com's mod_authn_ntlm module that i use. I don't understand... when i retry to upload i have 100% of success upload now. It's really mysterious. Previously, when i have the problem, the file wasn't put in /glpi/files/_tmp folder. When upload works the file uploaded (Fichier PDF.pdf) is present in /glpi/files/_tmp folder. Here you can find the full trace. The problem occurs in line 809. Previous try are succefull upload. The file /glpi/front/fileupload.php is out of ntlm authentication with .htaccess file.
Here the .saz file : https://drive.google.com/file/d/0B5OckHsCwP3dTXU3dzlQQ3pWT1E/view?usp=sharing |
Here the fcgid config for apache :
|
Thank you, Also did you look at this #196? |
The trace you sent are for IE compatibility mode don't they? PS: you may drag/drop your zip file directly into the post in github. |
Yes the solution of @orthagh has applied in htaccess. |
@tomolimo |
It's a new VM with Win7 enterprise SP1 |
I have found another document upload library validated with Internet Explorer : http://docs.fineuploader.com/branch/master/browser-support.html |
I just see that the script is under license (not open source) :( |
For free or open-source project is written the following:
|
Ok, but this script seems to be little be more complex than jquery-file-upload. |
For me the initial problem comes from IE Pre-Authentication behaviour. Could you try the following? on your IE computer: start regedit
restart your computer, and test. In fiddler traces you should only get one or two http 401 for /glpi/index.php (or /glpi/) |
I have applied your reg key on my system and i have reboot. In apache i set in /glpi/.htaccess :
And in /glpi/front/.htaccess :
But the NTLM not working now... GLPI prompt username/password on index.php. Have you an idea ? Thanks |
Could you try to disable Basic auth for index.php?
Otherwise, IE will use Basic as it is accepted by server... |
It's good. NTLM authentication works again. I do this in /glpi/.htaccess :
I made you a trace immediately (if I can reproduce the problem). |
Did you also change your registry? |
Yes i have patched my registry. The issue seems to to be solved, I continue my tests to be sure. |
Yes :) |
and for you it should be slightly quicker (shorter response time) as IE will not send authentication request to each requested page. |
Ok, i like this way ;) On machines without the registry patch the problem persists. Changing NTLM authentication had no effect. I continued my tests on machines with registry patch... |
yes you need both due to this:
|
Ok, i have deployed the fix on all machines. I will test more tomorrow. |
How can you found this fix ? |
??? |
I answered too quickly ^^ |
Do you mean: how did you find this fix? |
Yes ^^ |
Long story:
regards, |
Okay ^^ ! |
Thanks so much for your help @tomolimo ;) |
Hello, There is another things to do ? Thanks |
Please post in another issue as this one is closed! |
Reboot your computer after apply the reg key. |
Hi,
The upload of a document not working with Internet Explorer 11.
If i configure IE in "IE 9" compatibility mode, the upload working, the document upload succefully.
If i let IE in "Edge" compatibility mode the document never upload :
Same issue with IE in "IE 10" compatibility mode.
The upload seems to not working with Internet Explorer version > 9.
I use Internet Explorer 11 in Windows 7 64 bits.
Thanks to solve it
++
The text was updated successfully, but these errors were encountered: