Title: Problem with the files upload
Last modified: August 31, 2021

---

# Problem with the files upload

 *  Resolved [hicham538](https://wordpress.org/support/users/hicham538/)
 * (@hicham538)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/problem-with-the-files-upload/)
 * I have a problem with photos upload in the registration form.
    When the fields
   are filled well and everything correct, the submit button is pushed, and the 
   uploaded photos are saved well. The problem arises when some fields which are
   mandatory are left empty, or that the content of some field has an error (for
   example, email already registered), in this case when the submit button is clicked,
   the form is reloaded indicating the field that remains to be filled in and/or
   the error to be corrected, the photos that have been uploaded before appear uploaded(
   saved in tmp folder), but when the necessary corrections are made and the form
   is submited successfully, the uploaded photos are deleted from the tmp directory
   but not saved. In the user data appears the uploaded file field with [https://domain.com/wp-content/uploads/ultimatemember/28/stream_photo_812e77fe449fc740642f580acbbf0350c60b6b35.jpg](https://domain.com/wp-content/uploads/ultimatemember/28/stream_photo_812e77fe449fc740642f580acbbf0350c60b6b35.jpg)
   But when I click on the link of the photo I get error page. The /uploads/ultimatemember/
   28/ is empty Is there some configuration that could resolve this? Thank you so
   much for your help Hicham
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fproblem-with-the-files-upload%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Contributor [Champ Camba](https://wordpress.org/support/users/champsupertramp/)
 * (@champsupertramp)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/problem-with-the-files-upload/#post-14826037)
 * Hi [@hicham538](https://wordpress.org/support/users/hicham538/)
 * Could you please test the issue with UM as the only active plugin and use a default
   WP theme such as 2020 or 2021?
 * Regards,
 *  Plugin Contributor [Champ Camba](https://wordpress.org/support/users/champsupertramp/)
 * (@champsupertramp)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/problem-with-the-files-upload/#post-14844714)
 * Hi [@hicham538](https://wordpress.org/support/users/hicham538/)
 *  This thread has been inactive for a while so we’re going to go ahead and mark
   it Resolved. …Please feel free to re-open this thread by changing the Topic Status
   to ‘Not Resolved’ if any other questions come up and we’d be happy to help. 🙂
 * Regards,
 *  Thread Starter [hicham538](https://wordpress.org/support/users/hicham538/)
 * (@hicham538)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/problem-with-the-files-upload/#post-14848740)
 * Hi Champ,
    Thank you so much for your attention and help. I did what you told
   me. I even made a new wordpress installation and put only the plugin ultimate
   member, but I got the same issue. Then I knew that it wasn’t quesiton of incompatibility
   or conflict with other plugins Finally I descovered what was the problem: Really
   I was making the tests wrongly: After oploading the images and enter an existing
   user email then I got error of “Email already existe”, after I open the admin
   panel (in other navigator tab) and remove this user, then I return to the form
   and re-submit it, the form is submitted correctly but the images aren’t saved.
   I think what happen in this case is that the images are saved in the tmp folder,
   and in the first submit they are affected to the ID of the existing user. When
   the user is deleted and re-created it get a new ID but the images remain linked
   to the old ID. In the real case that would not happen, because in case the email
   exists, the user will enter a different one, and in this case the images are 
   saved correctly. Thank you so much and I congratulat you for this fantastic plugin,
   one of the best plugins of wordpress. Hicham
 *  Plugin Contributor [Champ Camba](https://wordpress.org/support/users/champsupertramp/)
 * (@champsupertramp)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/problem-with-the-files-upload/#post-14849459)
 * Hi [@hicham538](https://wordpress.org/support/users/hicham538/)
 * Thanks for letting us know.
 * Regards,

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Problem with the files upload’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-member/assets/icon-256x256.png?rev=3160947)
 * [Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin](https://wordpress.org/plugins/ultimate-member/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-member/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-member/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-member/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-member/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-member/reviews/)

## Tags

 * [form](https://wordpress.org/support/topic-tag/form/)
 * [Registration](https://wordpress.org/support/topic-tag/registration/)
 * [registration form](https://wordpress.org/support/topic-tag/registration-form/)

 * 4 replies
 * 2 participants
 * Last reply from: [Champ Camba](https://wordpress.org/support/users/champsupertramp/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/problem-with-the-files-upload/#post-14849459)
 * Status: resolved