Hello:
I use swfupload 2.2.0 beta5, system is :windows2003 + wamp5 2.0c
it can show upload success infomation,but can't find file in php tmp directory. can'y help me.
next is debug infomation
Thanks.
---SWFUpload Instance Info---
Version: 2.2.0 Beta 5 2008-01-29
Movie Name: SWFUpload_0
Settings:
upload_url: http://local.battery.com/index.php?namespace=admin&controller=attachment...
flash_url: /js/swfupload/swfupload.swf?preventswfcaching=1233533771144
use_query_string: false
requeue_on_error: false
http_success: 201, 202
file_post_name: Filedata
post_params: [object Object]
file_types: *.jpg;*.jpeg;*.png;*.gif;*.bmp
file_types_description: All Files
file_size_limit: 100MB
file_upload_limit: 100
file_queue_limit: 0
debug: true
prevent_swf_caching: true
button_placeholder_id: spanButtonPlaceHolder
button_image_url: /img/admin/swfupload.gif
button_width: 72
button_height: 28
button_text: 选择图片
button_text_style: .theFont { font-size: 12px;}
button_text_top_padding: 5
button_text_left_padding: 12
button_action: -110
button_disabled: false
custom_settings: [object Object]
Event Handlers:
swfupload_loaded_handler assigned: false
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: false
debug_handler assigned: true
SWF DEBUG: SWFUpload Init Complete
SWF DEBUG:
SWF DEBUG: ----- SWF DEBUG OUTPUT ----
SWF DEBUG: Build Number: SWFUPLOAD 2.2.0 Beta 5 2009-01-29
SWF DEBUG: movieName: SWFUpload_0
SWF DEBUG: Upload URL: http://local.battery.com/index.php?namespace=admin&controller=attachment...
SWF DEBUG: File Types String: *.jpg;*.jpeg;*.png;*.gif;*.bmp
SWF DEBUG: Parsed File Types: jpg,jpeg,png,gif,bmp
SWF DEBUG: HTTP Success: 201, 202
SWF DEBUG: File Types Description: All Files (*.jpg;*.jpeg;*.png;*.gif;*.bmp)
SWF DEBUG: File Size Limit: 104857600 bytes
SWF DEBUG: File Upload Limit: 100
SWF DEBUG: File Queue Limit: 100
SWF DEBUG: Post Params:
SWF DEBUG: PHPSESSID=taanl6kjr6ku79jfcdu7mqqs63
SWF DEBUG: hashid=ad4e083ef7eeb622
SWF DEBUG: ----- END SWF DEBUG OUTPUT ----
SWF DEBUG:
SWF DEBUG: Event: fileDialogStart : Browsing files. Multi Select. Allowed file types: *.jpg;*.jpeg;*.png;*.gif;*.bmp
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 Post Item: PHPSESSID=taanl6kjr6ku79jfcdu7mqqs63
SWF DEBUG: Global Post Item: hashid=ad4e083ef7eeb622
SWF DEBUG: ReturnUploadStart(): File accepted by startUpload event and readied for upload. Starting upload to http://local.battery.com/index.php?namespace=admin&controller=attachment... 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: 0. Total: 352978
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 352978. Total: 352978
SWF DEBUG: Event: uploadSuccess: File ID: SWFUpload_0_0 Data:
SWF DEBUG: Warning: copy(D:\wwwroot\local.sosobattery.com/uploadfile/5.jpg) [function.copy]: failed to open stream: No such file or directory in D:\wwwroot\qeephp\library\helper\uploader.php on line 399
SWF DEBUG: /uploadfile/5.jpgArray
SWF DEBUG: (
SWF DEBUG: [Filedata] => Array
SWF DEBUG: (
SWF DEBUG: [name] => 5.jpg
SWF DEBUG: [type] => application/octet-stream
SWF DEBUG: [tmp_name] => D:\wamp\tmp\php1A.tmp
SWF DEBUG: [error] => 0
SWF DEBUG: [size] => 352978
SWF DEBUG: )
SWF DEBUG:
SWF DEBUG: )
SWF DEBUG:
SWF DEBUG: Event: uploadComplete : Upload cycle complete.
Error Message
Did you read the error message returned from the server?
SWF DEBUG: Event: uploadSuccess: File ID: SWFUpload_0_0 Data:
SWF DEBUG: Warning: copy(D:\wwwroot\local.sosobattery.com/uploadfile/5.jpg) [function.copy]: failed to open stream: No such file or directory in D:\wwwroot\qeephp\library\helper\uploader.php on line 399
SWF DEBUG: /uploadfile/5.jpgArray
SWF DEBUG: (
SWF DEBUG: [Filedata] => Array
SWF DEBUG: (
SWF DEBUG: [name] => 5.jpg
SWF DEBUG: [type] => application/octet-stream
SWF DEBUG: [tmp_name] => D:\wamp\tmp\php1A.tmp
SWF DEBUG: [error] => 0
SWF DEBUG: [size] => 352978
SWF DEBUG: )
SWF DEBUG:
SWF DEBUG: )
SWF DEBUG:
SWF DEBUG: Event: uploadComplete : Upload cycle complete.
Something is wrong with your upload.php