Closed (fixed)
Project:
Webform
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
21 Feb 2010 at 04:32 UTC
Updated:
15 Mar 2010 at 00:40 UTC
I have tested this on 2.9 and 3.x-dev versions of Webform. I have a form that contains a file submission field. If I attempt to submit the form using my custom theme, the form will not submit. Full debug does not show any information and redirect doesn't work.
If I remove the file field, then the form submits and everything works as expected... email is sent, debug info shows, and I get redirected.
If I switch to Garland theme, then the form will submit even with the file field on the form.
What in my theme would be causing this behavior? I am stumped.
Comments
Comment #1
tms8707056 commentedFigured it out... The file I was uploading was a few kb too large. I would have expected a message to inform me of the issue, but it didn't. Maybe this is the issue with my theme?
Comment #2
quicksketchWebform can only inform you of the error if the file being uploaded is less than the PHP maximum limit. If you exceed the PHP max limit, $_POST gets lost entirely and you'll lose your submission. See the FileField handbook on how you can increase this limit: http://drupal.org/node/422474.
Comment #3
quicksketch