為了獲取更多最新內(nèi)容及功能更新,請直接訪問我們的首頁以查看DzzOffice筆記的最新地址。
Value: 0; There is no error, the file uploaded with success.其值為 0,沒有錯誤發(fā)生,文件上傳成功。
Value: 1; The uploaded file exceeds the
upload_max_filesizedirective in
php.ini
.其值為 1,上傳的文件超過了php.ini中
upload_max_filesize選項(xiàng)限制的值。
Value: 2; The uploaded file exceeds the
MAX_FILE_SIZEdirective that was specified in the HTML form.其值為 2,上傳文件的大小超過了 HTML 表單中
MAX_FILE_SIZE選項(xiàng)指定的值。
Value: 3; The uploaded file was only partially uploaded.其值為 3,文件只有部分被上傳。
Value: 4; No file was uploaded.其值為 4,沒有文件被上傳。
Value: 6; Missing a temporary folder.其值為 6,找不到臨時文件夾。
“
缺少臨時文件夾”錯誤是由于您的Dzzoffice環(huán)境中的PHP設(shè)置不正確造成的。其中一項(xiàng)設(shè)置要求Dzzoffice將上傳的文件存儲在臨時文件夾中,然后再將它們保存到所需位置。如果無法訪問該臨時文件夾,Dzzoffice將無法處理您上傳的文件和軟件更新。無論您是否意外刪除了臨時文件夾,當(dāng)Dzzoffice無法找到或訪問該文件夾時,都會發(fā)生此錯誤。
您需要檢查
php.ini
中的一些內(nèi)容。確保您點(diǎn)擊了正確的
php.ini
:
還有種可能就是臨時文件夾的權(quán)限不夠。
具體要怎么處理要您自行根據(jù)所使用的環(huán)境來解決,百度一下,你就知道。
Value: 7; Failed to write file to disk.其值為 7,文件寫入失敗。
Value: 8; A PHP extension stopped the file upload. PHP does not provide a way to ascertain which extension caused the file upload to stop; examining the list of loaded extensions with
phpinfo()may help.其值為 8,PHP擴(kuò)展阻止了文件上傳。PHP沒有提供一種方法來確定哪個擴(kuò)展名導(dǎo)致文件上傳停止;使用
phpinfo()檢查加載的擴(kuò)展列表可能會有所幫助。
value: The uploaded file exceeds the post_max_size directive in php.ini.上傳的文件超過了php.ini中的post_max_size指令
value: File is too big.文件太大
value: File is too small文件太小
value: Filetype not allowed文件類型不允許
value: Maximum number of files exceeded超過最大文件數(shù)
value: Image exceeds maximum width圖像超過最大寬度
value: Image exceeds maximum height圖像超過最大高度
value: Image requires a minimum height圖像需要一個最小高度
value: File upload aborted文件上傳失敗
value: Failed to resize image調(diào)整圖像大小失敗
更多建議: