Support » Plugins » [Plugin: Contact Form 7] File upload not working, file does not seem to be uploading

  • I’ve been using Contact Form 7 v2.2 pretty successfully for a basic contact form, and i decided to add a second form for an application purpose. It works wonderfully except when I go to add the file upload portion. I know the code is correct, I have the [file* my-file] in the form code, and the [my-file] in the file attachments portion of the email.

    However, when I select a file, it just shows that i selected the file and doesn’t start to upload. In Chrome, it actually doesn’t even have the text field showing the path of the file that I selected – it just shows the “browse” button. in IE it will show the path of the file, but it still won’t function.

    When I go to submit the form (I’ll select a file to upload) it will return the error “Validation errors occurred. Please confirm the fields and submit it again.” and basically I think the form is thinking i didn’t upload any files.

    i’ve checked the permission of wp-content, uploads, and wpcf7-uploads folder and toyed with various permissions – right now i’ve got them on 777 just to make sure there’s no issue with permissions.

    I can’t see to get any reaction out of the file upload. Can someone please help?? I’ve been beating myself over the head with this issue for a good 2 days – I even tried designating the path in wp-config.php and creating a new folder to that path – same result.

    Please HELP!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Did you every figure this problem out? Im having some trouble too.

    It uploads it to my directory, but does not attach it to the email.

    Been a while since I used the File Upload feature but there was/is default file types and size.
    This is from the plugin:
    // Default file-type restriction
    if ( ” == $file_type_pattern )
    $file_type_pattern = ‘jpg|jpeg|png|gif|pdf|doc|docx|ppt|pptx|odt|avi|ogg|m4a|mov|mp3|mp4|mpg|wav|wmv’;
    File Size Limit used to be: 1MB

    Also if a script file is uploaded its supposed to rename with *.txt

    You have a different issue. Open a seperate Topic.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Contact Form 7] File upload not working, file does not seem to be uploading’ is closed to new replies.