2011-08-25 8 views
0

나는 내 3.1 앱에서 uploadify를 구현하려고 시도 해왔다. 그리고 난 here 언급 한 단계를 따랐다. 그리고 내 코드는 다음과 같습니다.Uploadify를 사용할 때의 문제점

{my form code here} 
- arr = [] 
- request.env['HTTP_COOKIE'].each_char{|c| arr.push(c[0].to_s)} 
- @session = arr.join("x") 
= @sermon_path = sermons_path 
:javascript 
    $('#sermon_sermon').uploadify({ 
      uploader: '/uploadify.swf', 
      script: '#{@sermon_path}', 
      cancelImg: 'cancel.png', 
      buttonText: 'Browse', 
      auto: true, 
      scriptData: { 'session_encoded': '#{@session}'} 
    }) 

업로드 할 파일을 선택하는 업로드 버튼이 있지만 파일을 선택하면 아무 일도 일어나지 않습니다. 업로드 된 파일을 표시하지 않으며 서버에 응답을 보내지 않습니다. 도움을 주시면 감사하겠습니다.

답변

0

나는 최근에 PHP 프로젝트를 제외하고 업로드하지만이 다른 것일 수도 있습니다. tutorial 당신을 도울 수 있습니다. github에는 exampleother이 있지만 레일 2.3.4가 있거나 단순히 gem을 사용해 볼 수 있습니다.

관련 문제