<p>一直在调试,发现Uploadify查找<code>button_image_url</code>属性,我刚刚为null,就这样我再也没有这个错误了</p>
<p><strong>上传调试跟踪</strong></p>
<pre><code> -SWFUpload Instance Info -
Version: 2.2.0 2009-03-25
Movie Name: SWFUpload_0
Settings:
upload_url: /document/1/add-file
flash_url: /static/g/plugins/uploadify/uploadify.swf
use_query_string: false
requeue_on_error: false
http_success:
assume_success_timeout: 30
file_post_name: file
post_params: [object Object]
file_types: *.*
file_types_description: All Files
file_size_limit: 0
file_upload_limit: 0
file_queue_limit: 999
debug: true
prevent_swf_caching: false
button_placeholder_id: id_file
button_placeholder: Not Set
button_image_url: /document/1/
button_width: 120
button_height: 30
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: false
file_dialog_start_handler assigned: true
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
SWF DEBUG: SWFUpload Init Complete
SWF DEBUG:
SWF DEBUG: - SWF DEBUG OUTPUT
SWF DEBUG: Build Number: SWFUPLOAD 2.2.0
SWF DEBUG: movieName: SWFUpload_0
SWF DEBUG: Upload URL: /document/1/add-file
SWF DEBUG: File Types String: *.*
SWF DEBUG: Parsed File Types:
</code></pre>
<p>谢谢你的关注。在</p>