swfupload在ie是正常的其他浏览器没法上传
本人最近接触swfupload上传组件,在IE上传没有问题,在谷歌浏览器上传不了,debug输出下面的问题,哪位高手能帮忙看看
---SWFUpload Instance Info---
Version: 2.2.0 Alpha
Movie Name: SWFUpload_0
Settings:
upload_url: http://localhost:8080/usr/album/UploadFileSubmit.jsp
flash_url: http://localhost:8080/js/album/swfupload.swf?swfuploadrnd=430838558
use_query_string: true
file_post_name: Filedata
post_params: [object Object]
file_types: *.jpg;*.jpeg;*.gif
file_types_description: *.jpg;*.jpeg;*.gif
file_size_limit: 150 MB
file_upload_limit: 100
file_queue_limit: 0
debug: true
prevent_swf_caching: true
button_placeholder_id: spanButtonPlaceholder
button_image_url: /images/album/add_input.png
button_width: 80
button_height: 22
button_text:
button_text_style: color: #000000; font-size: 16pt;
button_text_top_padding: 0
button_text_left_padding: 0
button_action: -110
button_disabled: false
custom_settings: [object Object]
Event Handlers:
swfupload_loaded_handler assigned: true
file_dialog_start_handler assigned: false
file_queued_handler assigned: true
file_queue_error_handler assigned: true
upload_start_handler assigned: true
upload_progress_handler assigned: true
upload_error_handler assigned: true
upload_success_handler assigned: true
upload_complete_handler assigned: true
debug_handler assigned: true
SWFUpload.SWFObject Plugin settings:
minimum_flash_version: 9.0.28
swfupload_load_failed_handler assigned: true
SWF DEBUG: SWFUpload Init Complete
SWF DEBUG:
SWF DEBUG: ----- SWF DEBUG OUTPUT ----
SWF DEBUG: Build Number: SWFUPLOAD 2.2.0 Alpha 2008-10-17
SWF DEBUG: movieName: SWFUpload_0
SWF DEBUG: Upload URL: http://localhost:8080/usr/album/UploadFileSubmit.jsp
SWF DEBUG: File Types String: *.jpg;*.jpeg;*.gif
SWF DEBUG: Parsed File Types: jpg,jpeg,gif
SWF DEBUG: File Types Description: *.jpg;*.jpeg;*.gif (*.jpg;*.jpeg;*.gif)
SWF DEBUG: File Size Limit: 157286400 bytes
SWF DEBUG: File Upload Limit: 100
SWF DEBUG: File Queue Limit: 100
SWF DEBUG: Post Params:
SWF DEBUG: albumId=1291251001823
SWF DEBUG: ----- END SWF DEBUG OUTPUT ----
SWF DEBUG:
SWF DEBUG: Event: fileDialogStart : Browsing files. Multi Select. Allowed file types: *.jpg;*.jpeg;*.gif
SWF DEBUG: Select Handler: Received the files selected from the dialog. Processing the file list...
SWF DEBUG: Event: fileQueued : File ID: SWFUpload_0_0
SWF DEBUG: Event: fileDialogComplete : Finished processing selected files. Files selected: 1. Files Queued: 1
SWF DEBUG: StartUpload: First file in queue
SWF DEBUG: Event: uploadStart : File ID: SWFUpload_0_0
SWF DEBUG: Global URL Item: albumId=1291251001823
SWF DEBUG: ReturnUploadStart(): File accepted by startUpload event and readied for upload. Starting upload to http://localhost:8080/usr/album/UploadFileSubmit.jsp?albumId=1291251001823 for File ID: SWFUpload_0_0
SWF DEBUG: Event: uploadProgress (OPEN): File ID: SWFUpload_0_0
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 65380. Total: 65380
SWF DEBUG: Event: uploadError: HTTP ERROR : File ID: SWFUpload_0_0. HTTP Status: 302.
EXCEPTION: message: Cannot set property 'className' of undefined
EXCEPTION: stack: TypeError: Cannot set property 'className' of undefined
EXCEPTION: at FileProgress.setError (http://localhost:8080/js/album/fileprogress.js:140:37)
EXCEPTION: at [object Object].uploadError (http://localhost:8080/js/album/handlers.js:232:12)
EXCEPTION: at [object Object].<anonymous> (http://localhost:8080/js/album/swfupload.js:681:31)
EXCEPTION: at [object Object].executeNextEvent (http://localhost:8080/js/album/swfupload.js:701:5)
EXCEPTION: at http://localhost:8080/js/album/swfupload.js:686:9
EXCEPTION: type: non_object_property_store
EXCEPTION: arguments: className,
SWF DEBUG: Event: uploadComplete : Upload cycle complete. 1 楼 xiongbin 2010-12-02 没人回应,自己踩踩 2 楼 xiongbin 2010-12-27 呵呵 这个问题自己解决了 3 楼 jespring 2011-08-24 lz怎么解决的。 4 楼 java_ruji 2011-10-26 xiongbin 写道呵呵 这个问题自己解决了
你好,请问你是怎么解决的~ ^_^
我的邮箱 522895022@qq.com,可以加我QQ么~ 5 楼 xiongbin 2011-12-05 因为swfupload在火狐和gg里面发送文件时,session是不能保存的,所以如果你的页面后台做了登陆处理啥的,session失效也就不会处理这个上传文件。你想办法规避就可以了 6 楼 dyyweb 2012-08-23 swfupload_loaded_handler assigned: false
我的是这样的问题 如何解决啊
我的不能进入action 拜求赐教275001477@qq.com