Swfupload Error Code: -200 Message: 500
admin
2023-03-15 12:21:07
0

先贴出Swupload 的debug信息

---SWFUpload Instance Info---
Version: 2.5.0 2010-01-15 Beta 2
Movie Name: SWFUpload_0
Settings:
    upload_url:               /upload/execute.th
    flash_url:                /framework/public/swfupload/swfupload.swf?preventswfcaching=1508318931641
    flash9_url:                swfupload_fp9.swf?preventswfcaching=1508318931641
    use_query_string:         false
    requeue_on_error:         false
    http_success:             
    assume_success_timeout:   0
    file_post_name:           upload
    post_params:              [object Object]
    file_types:               *.*
    file_types_description:   All Files
    file_size_limit:          10240 MB
    file_upload_limit:        0
    file_queue_limit:         1
    debug:                    true
    prevent_swf_caching:      true
    button_placeholder_id:    spanButtonPlaceholder
    button_placeholder:       Not Set
    button_image_url:         /framework/public/images/XPButtonUploadText_61x22.png
    button_width:             61
    button_height:            22
    button_text:              
    button_text_style:        color: #000000; font-size: 16pt;
    button_text_top_padding:  0
    button_text_left_padding: 0
    button_action:            -110
    button_cursor:            -1
    button_disabled:          false
    custom_settings:          [object Object]
Event Handlers:
    swfupload_preload_handler assigned:  false
    swfupload_load_failed_handler assigned:  false
    swfupload_loaded_handler assigned:  true
    mouse_click_handler assigned:       false
    mouse_over_handler assigned:        false
    mouse_out_handler assigned:         false
    file_dialog_start_handler assigned: true
    file_queued_handler assigned:       true
    file_queue_error_handler assigned:  true
    upload_resize_start_handler assigned:      false
    upload_start_handler assigned:      true
    upload_progress_handler assigned:   true
    upload_error_handler assigned:      true
    upload_success_handler assigned:    true
    upload_complete_handler assigned:   true
    debug_handler assigned:             true
Support:
    Load:                     Yes
    Image Resize:             Yes

SWF DEBUG: SWFUpload Init Complete
SWF DEBUG:
SWF DEBUG: ----- SWF DEBUG OUTPUT ----
SWF DEBUG: Version:                2.5.0 2010-02-17 Beta 3
SWF DEBUG: movieName:              SWFUpload_0
SWF DEBUG: Upload URL:             /upload/execute.th
SWF DEBUG: File Types String:      *.*
SWF DEBUG: Parsed File Types:      
SWF DEBUG: HTTP Success:           0
SWF DEBUG: File Types Description: All Files (*.*)
SWF DEBUG: File Size Limit:        10737418240 bytes
SWF DEBUG: File Upload Limit:      0
SWF DEBUG: File Queue Limit:       1
SWF DEBUG: Post Params:
SWF DEBUG: ----- END SWF DEBUG OUTPUT ----
SWF DEBUG:
SWF DEBUG: Stage Resize:61 by 22
SWF DEBUG: Button Image Loaded
SWF DEBUG: Stage Resize:61 by 22
SWF DEBUG: Event: fileDialogStart : Browsing files. Multi Select. Allowed file types: *.*
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: StartUpload(): Upload Type: Normal.
SWF DEBUG: Global Post Item: props.type=groupfile
SWF DEBUG: Global Post Item: mongohost=210.51.13.173
SWF DEBUG: Global Post Item: upload_successful=true
SWF DEBUG: Global Post Item: dbname=filesdb
SWF DEBUG: Global Post Item: props.groupid=ADELE-20170629004
SWF DEBUG: Global Post Item: progress_target=fsUploadProgress
SWF DEBUG: Global Post Item: ext=.txt
SWF DEBUG: Global Post Item: props.uploaderid=20080629-99999
SWF DEBUG: Global Post Item: props.gfiletype=filesale
SWF DEBUG: Global Post Item: props.uploader=系统管理员
SWF DEBUG: Global Post Item: dataSource=210.51.13.173
SWF DEBUG: ReturnUploadStart(): File accepted by startUpload event and readied for standard upload.  Starting upload to /upload/execute.th 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: 1549. Total: 1549
SWF DEBUG: Event: uploadError: HTTP ERROR : File ID: SWFUpload_0_0. HTTP Status: 500.
SWF DEBUG: Event: uploadComplete : Upload cycle complete.
Error Code: -200, File name: logo.txt, File size: 1549, Message: 500

本地上传,IE 、firefox 上都测试了 没问题,部署到服务器上面之后

Swfupload Error Code: -200 Message: 500

页面function

Swfupload Error Code: -200 Message: 500

js执行方法

Swfupload Error Code: -200 Message: 500

经过好长时间的排查,跟mod_security,session,CooKie,flash跨域,都没有关系

回过头来仔细一想,既然本地都可以,服务器上的不行,问题肯定出现在了服务器上

Swfupload Error Code: -200 Message: 500

既然程序这块肯定没问题,估计就是配置的问题了

在浏览相关贴子的时候发现

Swfupload Error Code: -200 Message: 500

找到struts的配置

Swfupload Error Code: -200 Message: 500

给tmp目录赋权限之后,果然就可以了~

郁闷,一个不小心,诊断了好长时间

相关内容

热门资讯

美国一客机起飞过程中撞上行人,... △资料图当地时间5月9日,央视记者获悉,一架从丹佛国际机场飞往洛杉矶的航班在起飞过程中撞上一名闯入跑...
凤凰女记者战地日记丨这哪里还算... 【编者按】这是凤凰卫视驻伊朗记者李睿的战地日记。她身处德黑兰,既是战争的亲历者,也是观察者。在她的日...
中国发布禁令,禁止美国制裁中国... 2026年4月24日美国发布公告,把中国5家石化企业列入制裁名单,理由是参与或协助伊朗的石油交易,引...
电力系统母线安全保护领域取得关... (来源:中国电力新闻网) 转自:中国电力新闻网 近日,山西铝业自主研发的《弧光保护系统安装优化方法、...
第三届“探索雅安·阅见美好”阅... 近日,由雅安市图书馆主办的第三届“探索雅安·阅见美好”阅读打卡活动在市区三雅园及雅安市图书馆开展。 ...
实验型真空冷冻干燥机选型指南:... 导语:实验型真空冷冻干燥机作为科研、高校及企业研发环节的关键设备,其性能稳定性直接影响物料干燥效率与...
丁薛祥调研华为芯片基础技术研究... 5月8日晚,中央电视台《新闻联播》播出了一则重量级画面:中共中央政治局常委、国务院副总理丁薛祥到访华...
王自如公布智能指环项目 售价或... 【CNMO科技消息】5月9日,据CNMO科技了解,王自如近日通过视频展示其研发的智能指环产品,该产品...
“190元榴莲遭仅退款”商家直... 近日,河南濮阳一销售冷冻榴莲果肉商家在网络平台发视频称,自家生意遭遇买家恶意“仅退款”。虽然售卖榴莲...
一名中国公民被印度边防部队拘捕... 近日,一名在尼泊尔的中国公民在尼泊尔、印度边境地区因误入印境内被印边防部队拘捕。驻加尔各答总领馆再次...