Another file upload problem
-
Hi Folks,
File uploads are not making it into the /wp-content/uploads/wpcf7_uploads directory.
I’m hoping that you can suggest a fix, or some troubleshooting steps that I can try. I’ve looked at a dozen or more threads in this forum about file upload problems, but none have helped.
I’ve tried giving that folder 777 permissions for troubleshooting, but the server won’t let me set it to anything past 775.
Also for troubleshooting, I’ve added this line to my functions.php so I can check if the files were uploaded:
remove_action( 'template_redirect', 'wpcf7_cleanup_upload_files', 20 );
My form tag looks like this:
[file* file-resume id:file-resume limit:1mb filetypes:pdf|doc|docx]
(The test files I’m trying with are pdf files under 200KB.)
I’ve added the mail tag [file-resume] to the file attachments field in the Mail tab.
In your documentation for file upload fields, it says that you check for PHP errors. If you find a php error, I would get a verification notification in the form, saying that there was a file upload problem, right? I do not get error messages. I get a message that the form has been submitted successfully. But no files are attached to the email, and no files can be found in the upload directory.
Any suggestions much appreciated!! Thanks.
- The topic ‘Another file upload problem’ is closed to new replies.