Closed (fixed)
Project:
SWFUpload
Version:
5.x-2.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Nov 2007 at 17:35 UTC
Updated:
22 Nov 2008 at 18:24 UTC
On pages where I should be a seeing the flash object, it never shows up. Here's my debug output:
----- SWFUPLOAD SETTINGS ----
ID: SWFUpload_0
upload_url: http://69.63.147.20/flash_upload
file_post_name: Filedata
post_params: {
PHPSESSID: pfaga7hr6a4sb5vdhf9i1t5cq1
name: swfupload_default
uid: 1
}
file_types: *.*
file_types_description: All Files
file_size_limit: 99720
file_upload_limit: 0
file_queue_limit: 0
flash_url: /modules/swfupload/swfupload/swfupload.swf
flash_width: 1px
flash_height: 1px
flash_color: #FFFFFF
debug_enabled: true
ui_container_id: flash_swfupload_default
degraded_container_id: degraded_swfupload_default
----- SWFUPLOAD SETTINGS END ----
SWF DEBUG: SWFUpload Init Complete
SWF DEBUG:
SWF DEBUG: ----- SWF DEBUG OUTPUT ----
SWF DEBUG: Build Number: 2007-10-11 15:47:00
SWF DEBUG: movieName: SWFUpload_0
SWF DEBUG: Upload URL: http://69.63.147.20/flash_upload
SWF DEBUG: File Types String: *.*
SWF DEBUG: Parsed File Types:
SWF DEBUG: File Types Description: All Files (*.*)
SWF DEBUG: File Size Limit: 99720
SWF DEBUG: File Upload Limit: 0
SWF DEBUG: File Queue Limit: 0
SWF DEBUG: Post Params:
SWF DEBUG: uid=1
SWF DEBUG: PHPSESSID=pfaga7hr6a4sb5vdhf9i1t5cq1
SWF DEBUG: name=swfupload_default
SWF DEBUG: ----- END SWF DEBUG OUTPUT ----
SWF DEBUG:
Flash called back and is ready.
According to that, it should be there, but it isn't dislaying on the page. In the source code, it does appear, but the div containing it has been assigned a style attribute with a height and width of 1 pixel, which would obviously hide it.
Comments
Comment #1
robloachCan you upload a file?
You actually never really see the flash object appear. It's all handled through HTML, CSS, and Javascript. You pretty much upload the file through Flash which tells the Javascript to change the DOM and the CSS accordingly while the data is streamed to the server. The result is a fluent upload solution where you have a CSS-styled progressbar (easy to change the look) and don't have to worry about your server's specs or what operating system your clients are on.
Comment #2
seanrI only see the default Drupal upload and I can only upload a single file at a time using it. I never see the flash to be able to upload multiple files.
Comment #3
boris mann commented