PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

FAILED (Temporary file could not be copied.)

  1. I'm getting a the following error when uploading files through the form.

    "FAILED (Temporary file could not be copied.)"

    I've verified that the upload directory as well as all sub directories are writable and the php max_file_upload value is set to 100M (the files in question are under 100k). Do you know what else could be causing this?

    I love you.

    PS - Some additional information...

    I've verified that the file is being uploaded to the server ("/gravity_forms/1/2010/05/"), but when I attempt to get the URL in the gform_post_submission hook, it gives me the previous error message as the value. Below you will find the function the filter is calling:

    http://pastie.org/968792

    Posted 13 years ago on Thursday May 20, 2010 | Permalink
  2. I did some additional testing and was able to recreate this issue (and another strange one) on my own dev server:

    http://dev.ounceoftalent.com/?page_id=3

    Submit the page and you will see a print_r of the $entry array, the $_FILES["input_1"] array, and the $_FILES["input_2"] array.

    Note the strange value being returned for $entry[1]: "http://dev.ounceoftalent.com/wp-content/uploads/gravity_forms/1/2010/05/zrage3.jpg|:|zrage|:||:|"

    I'm running WP 3.2.9 and GF 1.3.12. Any ideas?

    Posted 13 years ago on Friday May 21, 2010 | Permalink
  3. It looks like you found a bug in Gravity Forms. When you have a post image field and a regular file upload field in the same form, Gravity Forms tries do upload the regular upload field twice, causing it to fail.
    I will address the issue and let you know when I have an update.
    Anybody else with this issue, please email me at alex[at]rocketgenius.com and I will send you the fix for this issue when I have it.

    Posted 13 years ago on Monday May 24, 2010 | Permalink

This topic has been resolved and has been closed to new replies.