Okay, I tried to dig down more into the problem, and noticed that it really does input the wrong data into the database. The uploaded files go, as is normal for the regular upload, into wp-content/upload/2020/10 folder (as it is currently October of 2020). However, the permalink in the media library shows that it lies in the wp-content/upload/forminator_temp folder.
The envira gallery allows to correct the permalink and therefore display the image correctly, so it is a temporary solution. But I’d want forminator to set up the permalink correctly. Could you please help?
Hi @krepsy3,
I’ve tested file upload with Envira Gallery Lite but I’m afraid that I can’t replicate this issue, every time I uploaded an image it showed a proper path to /uploads/2020/10/ folder.
It’s actually strange that the forminator_temp folder is mentioned at all, this folder is just there for temporary keeping the file until the form is submitted, once the submit happens the image is removed from temp folder and uploaded to the default WP image folder.
Could you provide us with export of your form so we can test it further on our end and see if it’s specific to that form or something is on your site causing this.
You can get the export from Forminator > Forms panel by clicking on the Gear icon next to your form.
Upload the export file to any file sharing service like GDrive or Dropbox and share the download link here.
In the meantime, can you tell me if you’re using Lite version of Envira Gallery or pro version?
Also, could you try submitting a form while Envira Gallery is disabled and see if the image path is correct in that case?
Cheers,
Predrag
Hi, I placed the export into textfile:
http://www.dracatajablonec.cz/export.txt
I honestly do not think Envira (I have the lite version) has anything to do with the upload at all. I’ll however test it, of course. I’ll also test disabling the “Enable media replace” plugin, which I imagine might interfere. I’ll let you know how it went.
-
This reply was modified 2 years, 7 months ago by
krepsy3.
Hello, so I tried disabling couple different plugins (Envira gallery lite, Enable media replace, Better search replace, Yoast duplicate post) but to no better; the default media file permalink still goes to the forminator_temp folder.
Hello @krepsy3,
I was able to replicate the issue on my site too. When I deep checked things, I was able to make why my colleague was not able to replicate the issue initially and the reason is we initially tried with a single file upload option but when we tried to pull up a test using the form you sent where the upload field was set to multiple fields, we could replicate the same.
We have sent this to the Forminator team to check this and also see if there can be a quick fix for the same. We would update you once we have an update from the team about it. Also, thank you so much for bringing this to our notice.
Thank you,
Prathamesh Palve
Thank you for reply @wpmudev-support7, I’m glad you managed to track down the cause of the issue. I will temporarily change my forms to allow only one image per upload. If this is resolved in next update, please make sure to place it on the changelog list, so that I can see that it was fixed and return to allowing multiupload again. Thanks!
Hello,
Is there any news about this fix ?
I’ve uploaded the last version of forminator and when I’m adding a pdf file through the registering form, the permalink stays within the forminator_temp folder. And I’ve uploaded only one file. Moreover, the pdf files is saved in this folder as an image (.pdf.jpg) even though it is a pdf.
Is there anything I should do to correct those behaviors ?
Thank you for your help,
Benoit
Hi @beng56,
Thanks for following up.
The current workaround would be for you to change the file upload setting to only one file per upload. I also checked on the fix being added and while there is no current ETA, it is planned to be added with the next release 1.14.8
Best,
Jonathan S
Hi,
Thanks for your answer. I’ve tried the workaround and I’ve also tried with the new version 1.14.8 and it seems to work perfectly fine for me with several uploads too. I still don’t understand why my pdf files are stored as pdf.jpg in the forminator_temp folder but it doesn’t matter much as the permalink is correct.
Best,
Benoit