- <p>
- <span id="pollUploadProgress_1" class="vm"></span>
- <span id="newpoll_1" class="vm"></span>
- </p>
- <!--{subtemplate common/upload}-->
- <script type="text/javascript" reload="1">
- var curoptions = 0;
- var curnumber = 1;
- var imgid = 'newpoll_'+curnumber;
- var proid = 'pollUploadProgress_'+curnumber;
- addUploadEvent(imgid, proid);
- function addUploadEvent(imgid, pollstr) {
- new SWFUpload({
- upload_url: SITEURL + 'misc.php?mod=swfupload&action=swfupload&operation=poll&fid=$_G[fid]',
- post_params: {"uid":"$_G[uid]", "hash":"$swfconfig[hash]"},
- file_size_limit : "2048",
- file_types : "*.jpg;*.jpeg;*.gif;*.png;*.bmp",
- file_types_description : "{lang pictypefile}",
- file_upload_limit : 0,
- file_queue_limit : 1,
- swfupload_preload_handler : preLoad,
- swfupload_load_failed_handler : loadFailed,
- file_dialog_start_handler : fileDialogStart,
- file_queued_handler : fileQueued,
- file_queue_error_handler : fileQueueError,
- file_dialog_complete_handler : fileDialogComplete,
- upload_start_handler : uploadStart,
- upload_progress_handler : uploadProgress,
- upload_error_handler : uploadError,
- upload_success_handler : uploadSuccess,
- upload_complete_handler : uploadComplete,
- button_image_url : IMGDIR+"/uploadbutton_small_pic.png",
- button_placeholder_id : imgid,
- button_width: 26,
- button_height: 26,
- button_cursor:SWFUpload.CURSOR.HAND,
- button_window_mode: "transparent",
- custom_settings : {
- progressTarget : pollstr,
- uploadSource: 'forum',
- uploadType: 'poll'
- },
- debug: true
- });
- }
- </script>
复制代码 uid 和 hash 都有 pictypefile没有,开启了debug 但是 ------------------------------------------------------------------------
SWF DEBUG: Event: fileDialogStart : Browsing files. Multi Select. Allowed file types: *.jpg;*.jpeg;*.gif;*.png;*.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
EXCEPTION:
-----------------------------------------------------------------------
exception 的内容为空
|