2012-03-20 2 views
1

로컬 (로컬이 아닌) 서버에서 Uploadify 2.1.4를 사용하면 IE9에서 정상적으로 작동합니다. 솔루션을 클라이언트 서버로 옮길 때 uploadify.swf를로드하는 데 IE9에서 정확히 60 초가 걸리지 만 Chrome에서는 정상적으로 작동합니다. IE9는이를 "보류 중"으로 표시합니다. swf에 직접 액세스하면 헤더가 양쪽 서버에서 Apache를 실행하는 것으로 나타납니다.IE9 : 로딩 swf 파일이 매우 오래 걸림

아무 해결책도없이 업로드 전용 포럼에서 similar incident 한 개만 추적했습니다.

Uploadify 코드 : 당신이 당신의 개체 요소에 CLASSID 속성이 누락하는 경우

$("#gallery").uploadify({ 
      // Required Settings 

      langFile : '/dataface/js/uploadify/uploadifyLang_en.js', 
      swf : '/dataface/js/uploadify/uploadify.swf', 
      uploader : '/image_upload.php?e50e0dc4d157efb537b37e2ea8dc78f1=53b988fc110c01ba81a2ddceabf38ab7', 

      // Options - HERE ARE ALL USEFUL OPTIONS, DON'T USE ANYTHING THAT ISN'T LISTED HERE 
      'folder'   : '26', 
      'createFolder' : true, 
      'auto'   : true, 
      'buttonText'  : 'Vali pildid', 
      'width'   : 150, 
      'height'   : 30, 
      'cancelImage'  : '/dataface/js/uploadify/uploadify-cancel.png', 
      'fileSizeLimit' : 1*512, // 0,5MB 
      'fileTypeDesc' : 'Image Files', 
      'fileTypeExts' : '*.jpg;*.jpeg;*.gif;*.png', 
      'method'   : 'post', 
      'multi'   : true, 
      'queueID'   : 'fileQueue', 
      'queueSizeLimit' : 999, 
      'removeCompleted' : true, 
      'progressData' : 'all', 



      onQueueComplete: function (stats) { 
       // Save the form (and thus reload) 
       $('form[name="existing_products_record_form"]').submit(); 
      } 
}); 

답변

1

확인

는 여기를 참조하십시오 http://code.google.com/p/swfupload/issues/detail?id=371&can=1&q=IE9&colspec=ID%20Type%20Status%20Summary%20FixReleasedIn%20FixTargetedFor%20Modified

내가 그것을 다운로드 120S 걸릴 것 비슷한 문제가 있었다 IE8에서 320 바이트 swf 동안 IE8 및 다른 사람은 단지 밀리 초가 걸렸습니다

+0

나는이 문제가 있었고이 솔루션은 나를 위해 일했습니다. 분명히 IE는 실제로 swf 파일 (http://at-byte.com/technology/contype-useragent-requests-internet-explorer)을 다운로드하기 전에 content-type을 알아내는 contype 요청을합니다. 어떤 이유로 Contype 요청에 대한 응답을 얻는 데 2 ​​분이 걸린다. – martsraits

관련 문제