Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Swfupload Error Code:-200Message: 500

2025-03-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

Post the debug information of Swupload first

-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: # 0000000; 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= system administrator

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

Local upload, tested on IE and firefox, no problem, after deployment to the server

Page function

Js execution method

After a long time of investigation, it has nothing to do with mod_security,session,CooKie,flash cross-domain.

Looking back and thinking about it carefully, since it can be done locally, but not on the server, the problem must have occurred on the server.

Since there is no problem with the program, it is probably a matter of configuration.

When browsing the relevant posts, I found

Find the configuration of struts

After assigning permissions to the tmp directory, it will be fine.

Depressed, a careless, diagnosed for a long time

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report