SWFupload 500错误
discuz 论坛将www域名换成bbs后编辑器内swfuplaod上传报500错误,但是有时候能正常上传;
目前基本排除服务器上PHP的问题,因为改成空白页面也一样报错。
有人遇到过这个问题吗?求指点
swfupload 日志:
---SWFUpload Instance Info---
Version: 2.5.0 2010-01-15 Beta 2
Movie Name: SWFUpload_0
Settings:
upload_url: http://bbs.xxxx.com/misc.php?mod=swfupload&action=swfupload&operation=upload&fid=72
flash_url: static/image/common/swfupload.swf?preventswfcaching=1398395968643
flash9_url: static/image/common/swfupload.swf?preventswfcaching=1398395968643
use_query_string: false
requeue_on_error: false
http_success:
assume_success_timeout: 0
file_post_name: Filedata
post_params: [object Object]
file_types: *.jpg;*.jpeg;*.gif;*.png
file_types_description: Image File
file_size_limit: 5000
file_upload_limit: 0
file_queue_limit: 0
debug: true
prevent_swf_caching: true
button_placeholder_id: imgSpanButtonPlaceholder
button_placeholder: Not Set
button_image_url: /static/image/common/uploadbutton.png
button_width: 100
button_height: 25
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: -2
button_disabled: false
custom_settings: [object Object]
Event Handlers:
swfupload_preload_handler assigned: true
swfupload_load_failed_handler assigned: true
swfupload_loaded_handler assigned: false
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: No
SWF DEBUG: SWFUpload Init Complete
SWF DEBUG:
SWF DEBUG: ----- SWF DEBUG OUTPUT ----
SWF DEBUG: Version: 2.5.0 FP9 2010-02-17 Beta 3
SWF DEBUG: movieName: SWFUpload_0
SWF DEBUG: Upload URL: http://bbs.xxxx.com/misc.php?mod=swfupload&action=swfupload&operation=upload&fid=72
SWF DEBUG: File Types String: *.jpg;*.jpeg;*.gif;*.png
SWF DEBUG: Parsed File Types: jpg,jpeg,gif,png
SWF DEBUG: HTTP Success: 0
SWF DEBUG: File Types Description: Image File (*.jpg;*.jpeg;*.gif;*.png)
SWF DEBUG: File Size Limit: 5120000 bytes
SWF DEBUG: File Upload Limit: 0
SWF DEBUG: File Queue Limit: 0
SWF DEBUG: Post Params:
SWF DEBUG: type=image
SWF DEBUG: hash=44bce5db18963b7da4f22a938d165419
SWF DEBUG: uid=2461
SWF DEBUG: ----- END SWF DEBUG OUTPUT ----
SWF DEBUG:
SWF DEBUG: Stage Resize:100 by 25
SWF DEBUG: Button Image Loaded
SWF DEBUG: Stage Resize:100 by 25
SWF DEBUG: Event: fileDialogStart : Browsing files. Multi Select. Allowed file types: *.jpg;*.jpeg;*.gif;*.png
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: type=image
SWF DEBUG: Global Post Item: hash=44bce5db18963b7da4f22a938d165419
SWF DEBUG: Global Post Item: filetype=.jpg
SWF DEBUG: Global Post Item: uid=2461
SWF DEBUG: ReturnUploadStart(): File accepted by startUpload event and readied for standard upload. Starting upload to http://bbs.xxxx.com/misc.php?mod=swfupload&action=swfupload&operation=upload&fid=72 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: 77374. Total: 77374
SWF DEBUG: Event: uploadError: HTTP ERROR : File ID: SWFUpload_0_0. HTTP Status: 500.
SWF DEBUG: Event: uploadComplete : Upload cycle complete.
Error Code: HTTP Error, File name: 140400yj5jcc35w3idfkmk.jpg, Message: 500
回复讨论(解决方案)
HTTP Status: 500 就是服务器上PHP造成的,出现了严重错误
可能是你上传的文件大小超过了 php.ini 中的限制
和文件大小没关系的,传多大的都一样;这个问题是在换成子域名后出现的,估计和flash跨域有关系
估计有什么用?何况还是乱估计!
HTTP Status: 500 是服务器发出的,可见请求已经到达了服务器
既然已经到达了服务器,那么就与域名无关了
之所以说估计是因为之前另一个站换域名也出现这个问题,并不是乱估计
500谁都知道是服务器内部错误,但是这个错是flash爆出来的,所以猜测flash内部出错
而且删掉那个PHP文件了还是报500,合理吗
删掉PHP文件报500可以
用firebug查看访问信息
swf里面放的 flash文件不支持跨域
已解决了,就是flash跨域的问题
删掉PHP文件报500可以
用firebug查看访问信息
用firebug 看不了flash内部的请求的

熱AI工具

Undresser.AI Undress
人工智慧驅動的應用程序,用於創建逼真的裸體照片

AI Clothes Remover
用於從照片中去除衣服的線上人工智慧工具。

Undress AI Tool
免費脫衣圖片

Clothoff.io
AI脫衣器

Video Face Swap
使用我們完全免費的人工智慧換臉工具,輕鬆在任何影片中換臉!

熱門文章

熱工具

記事本++7.3.1
好用且免費的程式碼編輯器

SublimeText3漢化版
中文版,非常好用

禪工作室 13.0.1
強大的PHP整合開發環境

Dreamweaver CS6
視覺化網頁開發工具

SublimeText3 Mac版
神級程式碼編輯軟體(SublimeText3)

如果您在使用印表機時遇到錯誤訊息,例如操作無法完成(錯誤0x00000771),可能是因為印表機已中斷連線。在這種情況下,您可以透過以下方法解決問題。在本文中,我們將討論如何在Windows11/10PC上修復此問題。整個錯誤訊息說:操作無法完成(錯誤0x0000771)。指定的印表機已被刪除。修正WindowsPC上的0x00000771印表機錯誤若要修復印表機錯誤操作無法完成(錯誤0x0000771),指定的印表機已在Windows11/10PC上刪除,請遵循下列解決方案:重新啟動列印假脫機

解密HTTP狀態碼460:為什麼會出現這個錯誤?引言:在日常的網路使用中,常常會遇到各種各樣的錯誤提示,其中包括HTTP狀態碼。這些狀態碼是HTTP協定定義的一種機制,用來指示請求的處理。在這些狀態碼中,有一種比較罕見的錯誤碼,即460。本文將深入探討這個錯誤碼,並解釋為什麼會出現這個錯誤。 HTTP狀態碼460的定義:首先,我們要先了解HTTP狀態碼的基

Windows沙盒是否終止,並顯示Windows沙盒無法啟動,錯誤0x80070005,拒絕存取訊息?一些用戶報告說,Windows沙盒無法開啟。如果您也遇到此錯誤,您可以按照本指南進行修復。 Windows沙盒啟動失敗-存取被拒絕如果Windows沙盒終止,並顯示Windows沙盒無法啟動,錯誤0x80070005,拒絕存取訊息,請確保您以管理員身分登入。此類錯誤通常是由於權限不足引起的。因此,請嘗試以管理員身份登入並查看是否解決問題。如果問題仍然存在,可以嘗試以下解決方案:以管理員身分執行Wi

目錄解決方法一解決方法二一、刪除Windows更新的臨時檔案二、修復受損的系統檔案三、檢視並修改登錄項目四、關閉網卡IPv6五、執行WindowsUpdateTroubleshootor工具進行修復六、關閉防火牆和其它相關的防毒軟體。七、關閉WidowsUpdate服務。解決方法三解決方法四華為電腦Windows更新出現「0x8024401c」報錯問題現象問題原因解決方案仍未解決?最近web伺服器因為系統漏洞需要更新,登入伺服器之後,更新提示錯誤碼0x8024401c解決方法一

AutoCAD是最常用的圖面設計軟體之一,但是我們在win11上想要使用時,有可能會遇到win11安裝autocad出現錯誤的問題,這時候我們可以嘗試修改註冊表來解決。 win11安裝autocad出現錯誤:第一步,按下鍵盤「win徽標+r」開啟運作。第二步,輸入「regedit」回車開啟註冊表。 3.將「電腦\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System」貼進上方路徑裡。 4.進入後,雙擊

使用Hyper-V建立或啟動虛擬機器時,如果遇到錯誤代碼0x80070003,可能是因為權限問題、檔案損壞或設定錯誤造成的。解決方法包括檢查檔案權限、修復損壞檔案、確保正確配置等。可透過逐一排除不同可能性來解決此問題。整個錯誤訊息如下所示:伺服器在建立[虛擬機名]時遇到錯誤。無法建立新的虛擬機器。無法存取配置儲存:系統找不到指定的路徑。 (0x80070003)。導致此錯誤的一些可能原因包括:虛擬機器檔案已損壞。這可能是由於惡意軟體、病毒或廣告軟體攻擊而發生的。雖然發生這種情況的可能性很低,但你不能完

標題:分析Oracle錯誤3114:原因及解決方法在使用Oracle資料庫時,常常會遇到各種錯誤代碼,其中錯誤3114是比較常見的一個。此錯誤一般涉及資料庫連結的問題,可能導致存取資料庫時出現異常狀況。本文將對Oracle錯誤3114進行解讀,探討其造成的原因,並給出解決該錯誤的具體方法以及相關的程式碼範例。 1.錯誤3114的定義Oracle錯誤3114通

如果你在玩《決勝時刻:先鋒》時遇到了Kadena-Keesler錯誤,這篇文章可能會對你有所幫助。根據一些玩家的回饋,遊戲在WindowsPC、Xbox和PlayStation等平台上都存在這個問題。觸發後,您可能會收到以下錯誤訊息:連線失敗沒有網路連線失敗。您必須有活動的網路連線才能在線上或透過本地網路進行遊戲。 [原因:Kadena-Keesler]您也可能收到以下錯誤訊息:連線失敗無法存取線上服務。 [原因:Kadena-Keesler]此錯誤在Xbox上的另一個實例如下:您必須有活動的網路連接
