Before uploadify was uploaded, there was no error in using uploadify to upload files. Recently, a program was developed to use uploadify to upload most log files, including formData parameters, however, some log files cannot be uploaded successfully.
Print $ _ POST and $ _ FILES on the server.
The log file names are all in a uniform format, and the logs are also encoded with UTF-8. However, some of the logs are successful and some cannot be successful. Which of the following experts has met them? please give me some advice. thank you!
Reply to discussion (solution)
The following is the debug information of uploadify:
--- SWFUpload Instance Info --- Version: 2.2.0 2009-03-25Movie Name: SWFUpload_0Settings: upload_url:/index. php/data/datainsql/upfileflash_url:/public/swf/uploadify.swf? Preventswfcaching = Failed: falserequeue_on_error: truehttp_success: assume_success_timeout: 30file_post_name: Filedatapost_params: [object Object] file_types :*. logfile_types_description: Select the log file file_size_limit: 0file_upload_limit: 0file_queue_limit: 999 debug: trueprevent_swf_caching: Failed: Not Setbutton_image_url:/index. php/data/datainsql/button_width: 120button_height: 30button_text: button_text_style: color: #000000; font-size: 16pt; rows: 0button_action:-110button_disabled: falsecustom_settings: [object Object] Event Handlers: incluassigned: truedebug_handler assigned: trueSWF DEBUG: SWFUpload Init CompleteSWF DEBUG: swf debug: ----- swf debug output ---- swf debug: Build Number: SWFUPLOAD 2.2.0SWF DEBUG: movieName: SWFUpload_0SWF DEBUG: Upload URL:/index. php/data/datainsql/upfileSWF DEBUG: File Types String :*. logSWF DEBUG: Parsed File Types: logSWF DEBUG: HTTP Success: 0SWF DEBUG: File Types Description: Select a log File (*. log) swf debug: File Size Limit: 0 bytesSWF DEBUG: File Upload Limit: 0SWF DEBUG: File Queue Limit: 999SWF DEBUG: Post Params: swf debug: type = rizhiSWF DEBUG: ----- end swf debug output ---- swf debug: Removing Flash functions hooks (this shocould only run in IE and shocould prevent memory leaks) swf debug: Event: fileDialogStart: Browsing files. multi Select. allowed file types :*. logSWF DEBUG: Select Handler: your ed the files selected from the dialog. processing the file list... swf debug: Event: fileQueued: File ID: SWFUpload_0_0SWF DEBUG: Event: fileDialogComplete: Finished processing selected files. files selected: 1. files Queued: 1SWF DEBUG: StartUpload: First file in queueSWF DEBUG: Event: uploadStart: File ID: SWFUpload_0_0SWF DEBUG: Global Post Item: type = rizhiSWF DEBUG: ReturnUploadStart (): file accepted by startUpload event and readied for upload. starting upload to/index. php/data/datainsql/upfile for File ID: SWFUpload_0_0SWF DEBUG: Event: uploadProgress (OPEN): File ID: SWFUpload_0_0SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. bytes: 589824. total: 8666287SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. bytes: 4063232. total: 8666287SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. bytes: 7340032. total: 8666287SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. bytes: 8666287. total: 8666287SWF DEBUG: Event: uploadSuccess: File ID: SWFUpload_0_0 Response Received ed: true Data: {"file": "E: \/web \/kh \/workdata \/"," type ": null," flag ":" error "} swf debug: Event: uploadComplete: Upload cycle complete.
Print $ _ POST and $ _ FILES on the server. they are empty.
Is it blank or an empty array?
If it is an empty array, the upload is not actually performed.
If it is blank, the size of the uploaded file exceeds the limit of post_max_size.
Print $ _ POST and $ _ FILES on the server. they are empty.
Is it blank or an empty array?
If it is an empty array, the upload is not actually performed.
If it is blank, the size of the uploaded file exceeds the limit of post_max_size.
You also need to check the max_post_size of each forwarding machine to step on this pitfall.
The size of the uploaded file is huge and small. The size of the uploaded file is not set,