解決wordpress上傳錯誤「伺服器傳回未預期的回應。檔案可能已完成上傳,請查看媒體庫或重新載入頁面。」

by | 8 月 26, 2022 | Wordpress

解決 WordPress 出現錯誤訊息「伺服器傳回未預期的回應。檔案可能已完成上傳,請查看媒體庫或重新載入頁面。」或「Unexpected response from the server. The file may have been uploaded successfully. Check in the Media Library or reload the page」

  1. 修改 php.ini 的 upload_max_filesize
  2. Nginx 伺服器:加入這行到 php.ini  (自行更改檔案大小)client_max_body_size <span class="hljs-number">10</span>M;
  3. 如果以上方法都沒用,可以直接安裝 Big File Uploads – Increase Maximum File Upload Size ,立刻解決。
0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
RSS
Follow by Email