WPMU and Uploads
-
I have been trying to figure this out and I haven't found a solution yet. I have set the client_max_body_size in my vhost file, and I am getting the Http error message. The strange thing is that I get this message, but the file gets uploaded anyway.
I can upload any type of document file such as .pdf or .doc without receiving the error message, but when it comes to images, the error message always comes up and shows that the file was not uploaded. But when you go to the media library, it is uploaded. Any help with fixing this issue is greatly appreciated. Thank you.
Posted 1 year ago # -
sorry joshua . missed this .. did you sort that .. some mime type issue?
Posted 1 year ago # -
I did sort it out. It was something I needed to add to the nginx.conf file.
Posted 1 year ago # -
what did you add? maybe I should amend something :P
Posted 1 year ago # -
@the_guv, I just needed to add client_max_body_size 1100m; to my nginx.conf file because adding it to the vhost file wasn't working. I am allowing my users to upload at least 1GB files so that is why mine is set so high. Not the ideal situation because this allows every wordpress install on the system to allow 1GB of uploads, but for my situation it doesn't matter.
Posted 1 year ago # -
damn .. no wonder you've got so much going on!
Posted 1 year ago #
Reply
You must log in to post.
Want HTML?
a blockquote code em strong ul ol liPlace code between backticks `codeHere`
You've got it.
