Cannot exceed 1MB file size
-
Have a contact 7 form which allows .jpg file uploads. Below 1MB/file size everything is fine.
Have followed doc’s regarding increasing file size and looked a numerous forums without finding anything that appears to help. Contact 7 form statement is:
[file file-717 filetypes:jpg|pdf limit:2048kb] and tried 2M 2MB 2m 2mb and still limited to 1MB before error message of Failed to send contact …
Setting limit at 500kb, 1 mb and 2mb and submitting larger picture creates an error message of File to Big. So your function appears to be working and catches files that are too large.
I have looked in the php.ini and it is set at 2MB but changing it doesn’t appear to have any effect. I have also set up an info.php file and it lists
max_file_uploads as 2MB. I have a wp-config.php file in my root directory but adding statements doesn’t appear to have any effect.
I can directly send emails with greater than 2MB files into my wordpress blog with no problem. Any ideas? Don P
The topic ‘Cannot exceed 1MB file size’ is closed to new replies.