Uploadify upload Problem

Source: Internet
Author: User
Tags log log
Before using uploadify upload files are not error, recently done a program, using uploadify upload log log file, most of the upload is successful, including Formdata parameters can be successful, but there are very individual log file upload when upload is unsuccessful.
Print $_post and $_files on the server side, both empty.
Log file names are unified format, the log is also utf-8 encoding, but some can be successful, some do not succeed, there is a great God met, please point out, thank you!


Reply to discussion (solution)

The following is the debug information for 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=1407894488103use_query_string:           Falserequeue_on_error:truehttp_success:assume_success_timeout:30file_post_name: Filedatapost_params: [Object object]file_types: *.logfile_types_description: Please select log file file_si Ze_limit:0file_upload_limit:0file_queue_limit:999debug:trueprevent_swf_cach Ing:truebutton_placeholder_id:file_uploadbutton_placeholder:Not Setbutton_image_url:/index.php/d        Ata/datainsql/button_width:120button_height:30button_text:button_text_style: Color: #000000;          Font-size:16pt;button_text_top_padding:0button_text_left_padding:0button_action: -110button_disabled: FalSecustom_settings: [Object object]event Handlers:swfupload_loaded_handler Assigned:falsefile_dialog_start_handl Er assigned:truefile_queued_handler assigned:truefile_queue_error_handler assigned:trueupload_start_handler assi Gned:trueupload_progress_handler Assigned:trueupload_error_handler Assigned:trueupload_success_handler Assi Gned:trueupload_complete_handler assigned:truedebug_handler assigned:trueswf debug:swfupload Init Com pleteswf debug:swf Debug:-----swf Debug OUTPUT----swf debug:build number:swfupload 2.2.0SWF Debug:moviena me:swfupload_0swf debug:upload URL:/index.php/data/datainsql/upfileswf debug:file Types Strin G: *.logswf debug:parsed File types:logswf debug:http success:0swf debug:file Types Description:       Please select 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 F Unctions hooks (This should only run in IE and should prevent memory leaks) SWF DEBUG:Event:fileDialogStart:Browsing fi Les. Multi Select. Allowed file types: *.logswf debug:select handler:received 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 F Iles. Files selected:1. Files queued:1swf DEBUG:StartUpload:First file in queueswf DEBUG:Event:uploadStart:File id:swfu pload_0_0swf Debug:global Post item:type=rizhiswf debug:returnuploadstart (): File accepted by Startupload event and Rea  died for upload. Starting upload to/index.php/data/datainsql/upfile for File id:swfupload_0_0swf DEBUG:Event:uploadProgress (OPEN): Fil E 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: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 side, both empty
Is it blank, or is it an empty array?
If it is an empty array, it means that the upload is not actually performed
If it is blank, it means that the uploaded file size exceeds the limit of post_max_size

print $_post and $_files on the server side, both empty
Is it blank, or is it an empty array?
If it is an empty array, it means that the upload is not actually performed
If it is blank, it means that the uploaded file size exceeds the limit of post_max_size



And we need to check each of the max_post_size separately, step over the pit.


Sure is super size, only set the upload file size, not set post size,
  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.