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.

Error when uploading files

  1. I was getting an error that the upload failed when I would receive something with files attached. I went and made sure the permissions were set to 777 and then I started getting this error:

    Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpV5UtZl' to '/home/apptaco/public_html/site/wp-content/uploads/gravity_forms/3/2011/08/attch[1].gif' in /home/apptaco/public_html/site/wp-content/plugins/gravityforms/forms_model.php on line 1558

    Any idea what I can do to get file uploads working? Some times one will upload fine but then the other two fail.

    Posted 13 years ago on Wednesday August 3, 2011 | Permalink
  2. This looks like a web server issue. If it's happening sometimes, but not others, then Gravity Forms is unable to move the files because of a server error. You may want to discuss this with your web host. Explain to them what is happening and show them the error message and ask what could be causing this from the server side.

    Typically it's file permissions, and it could still be file permissions in this instance. Sometimes changing the file permissions via FTP/etc. doesn't change the permissions for the user that PHP executes as.

    Posted 13 years ago on Wednesday August 3, 2011 | Permalink