Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember Troubleshooting › eMember – Error message eMember Media Uploader
- This topic has 9 replies, 5 voices, and was last updated 12 years, 7 months ago by Ingvild.
-
AuthorPosts
-
June 6, 2012 at 10:02 am #6524IngvildMember
I’m trying to upload a pdf (211kb) with the eMember Media Uploader. It starts off fine, but then I get this error message: “increase post_max_size and upload_max_filesize to 10M”. Does this error message come from the plugin, and how do I fix this? It’s a strange error message, since the file is so small.
As a solution, I created the folder “wp-content/uploads/emember/downloads” and transferred the same file via ftp. The file is now in the folder, but it doesn’t show up in the file list under eMember Media Uploader in the Admin Functions part of the plugin.
There are also two small files in the folder (htaccess and htpasswd) that appeared automatically, is this correct?
Thanks for helping.
June 6, 2012 at 1:55 pm #45929PeterMemberHi,
I’ve checked the code and this error is definitely coming from the eMember plugin.
It’s coming from a function which is checking your server settings and it’s finding that ‘post_max_size’ and/or ‘upload_max_filesize’ don’t meet a minimum required size.
Since this appears like a new feature I recommend that you wait for Admin to reply.
June 7, 2012 at 12:30 am #45930adminKeymasterJust as a test, can you please try uploading a much smaller file (maybe around 50kb) and let me know if you still see this issue. Don’t interpret this as you can’t upload bigger files than that. I am just trying to determine the cause at this stage.
June 7, 2012 at 1:08 am #45931nurMemberpost_max_size and upload_max_filesize are defined by php in the php.ini file.
php.ini says like:
; Maximum allowed size for uploaded files.
; http://php.net/upload-max-filesize
upload_max_filesize = 2M
; Maximum size of POST data that PHP will accept.
; http://php.net/post-max-size
post_max_size = 8M
emember media uploader expects both configuration values to be 10M. updating the php.ini file for these two configuration parameters will solve the problem. at the same time, make sure that the upload directory has write permission.
June 7, 2012 at 2:15 am #45932adminKeymasterDon’t try to change your php.ini file just yet. Let us look at the uploader and see if we can do anything on our end to get around this.
June 7, 2012 at 12:35 pm #45933IngvildMemberAs suggested, I tried to upload a file (32,5 kb), but I received the same error message.
I’ll not touch the php.ini file unless you ask me to.
Thanks.
June 7, 2012 at 1:08 pm #45934adminKeymasterWe have made some changes to the plugin… please do the following:
1) Get a new build of the plugin from here:
https://support.tipsandtricks-hq.com/update-request
2) Go to the protected folder menu after the update.
3) Make sure the following checkbox is checked and then hit the “Update” button:
Enable/Disable eMember Folder Protection
4) Now, try uploading a file using the upload button.
June 7, 2012 at 9:29 pm #45935Nuhua TanMemberAlso cannot upload files for downloading.
Nuhua Tan
same error message: “increase post_max_size and upload_max_filesize to 10M”
June 8, 2012 at 1:47 am #45936adminKeymaster@Nuhua, did you do what I requested “Ingvild” to do in the post above?
June 8, 2012 at 8:23 pm #45937IngvildMemberThis worked for me!
I’m happy to use the Media Uploader within the plugin. However, just to experiment, I tried the ftp alternative and transferred a similar file to the downloads folder manually. When hitting Update from the plugin menu, this file didn’t show up in the list. Just so you know.
Many thanks for your help!
-
AuthorPosts
- You must be logged in to reply to this topic.