Hello,
I have a problem with webform module and my site :(
When I add form field with image upload, fotos are uploaded but when I check submissions there are empty places, only I can find this foto in FTP in path sites/all/webform/
When I add required filed, so user can not go to the next page break
I choose file, format and weight is correct, I click upload a file, looks that is upladed
I try to go to the next page break but it is impossible because appears a notce that this field is required and is empty...
I try to do in another webform created, without page breaks and another fields, but issue is the same.
Thank you in advance for help.
Comments
Comment #2
kazaa CreditAttribution: kazaa commentedComment #3
kazaa CreditAttribution: kazaa commentedany ideas for this issue???
Comment #4
katasun CreditAttribution: katasun as a volunteer commentedconfirm this issue.
Katasun
Comment #5
katasun CreditAttribution: katasun as a volunteer commentedComment #6
katasun CreditAttribution: katasun as a volunteer commentedif you log in as an administrator, the function works and the files will be shown in the form.
For testing, I gave full permission to the guest role. But this was not working.
Can anyone tell me how to debug this topic. I don't any error messages and I used a vanilla drupal installation, but i still can't describe what causes this problem. It seem to be related with the permissions.
Katasun
Comment #7
katasun CreditAttribution: katasun as a volunteer commentedIf you have a webform with a file field and the form is displayed to anonymous users.
1. case - you upload your file using the upload button after you choosed the file. Then the file will not be displayed in the result page.
2. case - you choose the file and upload with the send button, normally at the end of the form. Then the file will be displayed in the result form.
3. I created a file field in the page content-type ( the standard content type ) and did the same test. Uploading with the file upload button and uploading with the form send button. In both cases its working.
Can anyone explain the difference between the two methods? It looks like that the webform works different from the other forms.
Regards katasun
Comment #8
katasun CreditAttribution: katasun as a volunteer commentedThis effect only appears if you activate another language than english! Thats why the original post is in polish and its hard to find the error if you run your site in english, because it doesn't show up the error.
Regards Katasun
Comment #9
kazaa CreditAttribution: kazaa commentedIt is not depend on language, in another drupal site in my server I don't have this issue. If you want to reproduce plase go to my site:
http://vidicon.nazwa.pl/brodnica/zgloszenie_firmy
please fill fields with* and after upload photo in last field and try to go to next step. It will be not possible but I will have this image on my server in /sites/default/files/webform/...
BTW I try to create a another simple form with image upload field and the same issue occurs, permission I set the same as in other site where webform works properly
Comment #10
kazaa CreditAttribution: kazaa commentedHello, any ideas ?? I want to lunch my project but this case is blocking me :(
Comment #11
kazaa CreditAttribution: kazaa commentedI still have problem with this, I try to change jquery, user permissions etc. nothing change :/ it's strange because in the same server in another test website everything works...
Webform does not remember about saved image,not transfer only information because image is saved in my ftp...
Comment #12
lu_smithcon CreditAttribution: lu_smithcon commentedI'm having a similar problem but I am beginning to think the problem may be Drupal core. I'm using Drupal 7.43 and Webform 3.24 and the problem is with a file field not and image field. I just tried case #2 of #7 and it works. If an anonymous user browses and selects a file and submits the form without hitting the upload button the file will show in the results. My problem didn't start until I updated to Drupal 7.43.
Comment #13
Welsby CreditAttribution: Welsby commentedHave noticed the same issue on some of our production sites, since the drupal core update users who are not logged in are able to upload the file and submit the form. but the file is missing from the submission data, and is marked as temporary in the file table.
The file itself is uploaded to the private folder specified, suspect it won't stay in here once the temporary timeout has expired.
Suspect the cause is the drupal core modification to the $force_default behavior in latest release, as technically the user wouldn't have file_download_access which will change this to TRUE in this release.
Comment #14
lu_smithcon CreditAttribution: lu_smithcon commented@Welsby, I was having same problem with file component. If you haven't already found them, look at issues 2675170 and 2678822 for answers.
Comment #15
DanChadwick CreditAttribution: DanChadwick commentedClosing as this seems to be a core issue.
Comment #16
kazaa CreditAttribution: kazaa commentedComment #17
kazaa CreditAttribution: kazaa commentedI update to drupal 7.44 and issue still occurs, so please change description what this module only works with old drupal revision, for example 7.42. Maybe you should review this module because it seems that will be not work with next versions.
BTW I updated site which works fine with drupalform to drupal 7.44 (previous 7.41) and suddenly issue occurs with 'File photo is required' after uploade image... so this case is related to drupal version. Currently does not work image upload with Drupal 7.43 and later revisions...
Comment #18
DanChadwick CreditAttribution: DanChadwick commented7.44 is a security release. 7.50 will be released on July 7, 2016. Unless it can be shown that this is a bug within webform itself, we should probably fix this elsewhere.
Comment #19
kazaa CreditAttribution: kazaa commentedI can confirm that works in 7.50, thank you !