Skip to content
This repository was archived by the owner on May 25, 2023. It is now read-only.

IE 8 problem #212

Closed
Manolo2 opened this issue Apr 27, 2011 · 30 comments
Closed

IE 8 problem #212

Manolo2 opened this issue Apr 27, 2011 · 30 comments

Comments

@Manolo2
Copy link

Manolo2 commented Apr 27, 2011

Itry the new code on firefox and all go well, but if i try to upload a file on ie 8 a pop up show out asking me to download upload.php file. Anyone know why?

@blueimp
Copy link
Owner

blueimp commented Apr 27, 2011

FAQ - second question.

@blueimp blueimp closed this as completed Apr 27, 2011
@Manolo2 Manolo2 reopened this Apr 27, 2011
@Manolo2
Copy link
Author

Manolo2 commented Apr 27, 2011

Sorry but I change all entry header('Content-type: application/jason');" to text/plain in upload.php, but problem is still here!

Why with last version grow up this problam that I never meet before?

Can u help me?

@blueimp
Copy link
Owner

blueimp commented Apr 27, 2011

With the example code there is no need to adjust any headers. I've just ran the tests again with IE8 and the example code as well as the demo page and could not reproduce such issues.
Please test your issue with a completely unmodified download package.

@Manolo2
Copy link
Author

Manolo2 commented Apr 27, 2011

I downloaded your last version blueimp-jQuery-File-Upload-00d4b70.zip and I still have the problem.

I delete all temporary internet file but upload.php download is pop uped.

@blueimp
Copy link
Owner

blueimp commented Apr 27, 2011

You only have this problem on IE8? Are you running it on a PHP5-enabled server?

@Manolo2
Copy link
Author

Manolo2 commented Apr 27, 2011

Only on IE8 i get problem
I have wamp with php 5.3 version.

Before latest release all browser worked good.When application.js was in this manner

/*global $ */

$(function () {
$('#file_upload').fileUploadUIX({
url: 'upload.php',
uploadDir: 'files/',
thumbnailsDir: 'thumbnails/',
autoUpload: true,
maxChunkSize: 10000000,
continueAbortedUploads: true
});
});

Only with last release i get this issue.
Now application.js look like this:

/*global $ */

$(function () {
// Initialize jQuery File Upload (Extended User Interface Version):
$('#file_upload').fileUploadUIX();

// Load existing files:
$.getJSON($('#file_upload').fileUploadUIX('option', 'url'), function (files) {
    var fileUploadOptions = $('#file_upload').fileUploadUIX('option');
    $.each(files, function (index, file) {
        fileUploadOptions.buildDownloadRow(file, fileUploadOptions)
            .appendTo(fileUploadOptions.downloadTable).fadeIn();
    });
});

});

There are other significant change?

@blueimp
Copy link
Owner

blueimp commented Apr 27, 2011

Of course more than application.js has changed. That's why I asked if you tested with a completely unmodified download package. That is, download => extract => upload the complete folder to your server and visit the example directory with your browser to test.

@Manolo2
Copy link
Author

Manolo2 commented Apr 27, 2011

I try last version On remote server too and i get same problem with ie 8

http://www.immobiliperimpresa.com/blue/example/

@blueimp
Copy link
Owner

blueimp commented Apr 27, 2011

I just uploaded some files on your given link with IE8 and there seem to be no problems.

@Manolo2
Copy link
Author

Manolo2 commented Apr 27, 2011

I don't understand what happen every time I try to upload a file, a pop up download window appear. After file is on the server but i get this pop up :( grrrrrrrrrrrrrrr

the content of upload.php is {"name":"1877144PHOTO.jpg","size":13733,"type":"image/pjpeg","url":"/blue/example/files/1877144PHOTO.jpg","thumbnail":"/blue/example/thumbnails/1877144PHOTO.jpg"}

@blueimp
Copy link
Owner

blueimp commented Apr 27, 2011

Well, from my tests, the example seems to be running fine on your server, also when tested with IE8.
So maybe empty the cache of your IE8 browser, restart it and try again.

@Manolo2
Copy link
Author

Manolo2 commented Apr 27, 2011

I try all that u say, delete all files all cache and restart and re-try but notthing problem persist

I surrender!

@blueimp
Copy link
Owner

blueimp commented Apr 27, 2011

OK, since I could not reproduce any issues with IE8 with the example code, the demo or even on the uploaded example that you linked to, I will close this issue.
If you can find other users having the same issue with IE8 or find something that is in fact related to the plugin itself, feel free to reopen this issue.
Also, if you have any new information regarding this, please post here to help other users.

@blueimp blueimp closed this as completed Apr 27, 2011
@sclormu
Copy link

sclormu commented May 3, 2011

I've the same problem with IE, I tested the page Manolo2 and it makes me also...

@sclormu
Copy link

sclormu commented May 3, 2011

But no problem with the demo http://aquantum-demo.appspot.com/file-upload

@emanuele0208
Copy link

i have the same problem!
but in which file i must to change the json response?

@emanuele0208
Copy link

I updated to i.e 9 and now it works!

@Manolo2
Copy link
Author

Manolo2 commented May 5, 2011

Yes of course but porblem still remain for IE 8

@blueimp
Copy link
Owner

blueimp commented May 6, 2011

I've just updated the provided PHP Upload Handler example with the following changes:

  • Add "no-cache" and "Vary: Accept" headers to the POST response.
  • Vary content-type header based on the Accept header instead of X-Requested-With.

I suspect this issue might have something to do with proxy caching or generally with caching and hopefully, these new settings will fix the IE8 download dialog issue some users experience.

@Manolo2
Copy link
Author

Manolo2 commented May 6, 2011

Tnx bluimp I'll try it soon

@ckentq
Copy link

ckentq commented May 13, 2011

Hi, I have same problem in

  1. 3 of my clients computer: win7+ie8 and winxp+ie8
    2.my friend's computer:winxp+ie7

but my win7+ie8 is totally fine,
my client tried to reset ie8 and clean everything she can, then it still have same problem.
Dont know if these info can provide any help? cause I totally have no clue why this happens.

@Manolo2
Copy link
Author

Manolo2 commented May 16, 2011

Hi bluimp I have same issue on ie 8. If I upload a file I get save as dialog of "upload.php" file..

@sclormu
Copy link

sclormu commented May 16, 2011

I tested the new version 5.0 but there is always the same problem with ie7 and ie8. I don't understand because the demo http://aquantum-demo.appspot.com/file-upload works perfectly.

@blueimp
Copy link
Owner

blueimp commented May 16, 2011

I would be glad if you could find the source of this issue and provide a solution for other users with the same problem.
I cannot reproduce these problems on my server setups (neither on App Engine/Python nor on Apache/PHP).
Without a possibility to reproduce the errors, there is almost no chance to fix it.
So, try to provide as many specific information to your setups as possible and work together with other users.
Also, use the latest version 5.0.

@Manolo2
Copy link
Author

Manolo2 commented May 16, 2011

The problem is in upload.php file. I substitue an older version of upload.php in this new release and it work, so there is something that u change in upload.php that don't work well, maybe different manner of jason call that u do in the last release of upload.php file.

@ckentq
Copy link

ckentq commented May 17, 2011

Can you give me the old version upload.php, let me check if I got same result?
so far I upload raw files in my server and people who used to have download problem still get it, but they have no problem with demo page.

@Manolo2
Copy link
Author

Manolo2 commented May 17, 2011

yes give me your contact

@ckentq
Copy link

ckentq commented May 17, 2011

Manolo2,
I upload your upload.php, it appear same problem in IE7
try my link see if you get same result in my server:
http://www.yc-miracle.com/kj/blueimp/example/

@Manolo2
Copy link
Author

Manolo2 commented May 17, 2011

i resend complete older version

@sfss5362
Copy link

i have the same problem!

java IE8

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

No branches or pull requests

6 participants