Closed (duplicate)
Project:
Survey
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Aug 2006 at 10:56 UTC
Updated:
27 Jun 2007 at 02:16 UTC
I'm trying to post a form with about 10 - 15 fields in it -- which I've done on other Drupal sites many times before -- but this time (using 4.7.3 and form/survey 4.7) I'm getting a Request-URI Too Large error. I've done a bit of research and, other than re-compiling Apache with a higher LimitRequestSize, I don't see any easy solutions.
Ideas?
Phillip.
Comments
Comment #1
scroogie commentedI dont know if its usual behaviour that the data gets appended to the request uri. Are sessions or POST probably deactivated?
Comment #2
phillipadsmith commentedThis is from the server log:
http://domain.com:80/%3Cdiv+class%3D%22item+entry%22%3E+%0A+++%0A++%3Cdi...
tle%3D%22This+field+is+required.%22%3E%2A%3C/span%3E%3C/label%3E%0A+%3Cinput+type%3D%22text%22+maxlength%3D%2264%22+name%3D%22edit%5Bfield-2%5D%22+id%3D%22edit-field-2%22++size%3D%2264%22+value%3D%22er%22+class%3D%22form-text+required%22+/%3E%0A%3C/div%3E%0A%3Cdiv+class%3D%22form-item%22%3E%0A+%3Clabel+for%3D%22edit-field-3%22%3EWeb+site+%281%29%3A+%3C/label%3E%0A+%3Cinput+type%3D%22text%22+maxlength%3D%2264%22+name%3D%22edit%5Bfield-3%5D%22+id%3D%22edit-field-3%22++size%3D%2264%22+value%3D%22%22+class%3D%22form-text+error%22+/%3E%0A+%3Cdiv+class%3D%22description%22%3E%28your+own+web+site%2C+if+you+have+one%29%3C/div%3E%0A%3C/div%3E%0A%3Cdiv+class%3D%22form-item%22%3E%0A+%3Clabel+for%3D%22edit-field-4%22%3EWeb+site+%282%29%3A+%3C/label%3E%0A+%3Cinput+type%3D%22text%22+maxlength%3D%2264%22+name%3D%22edit%5Bfield-4%5D%22+id%3D%22edit-field-4%22++size%3D%2264%22+value%3D%22%22+class%3D%22form-text+error%22+/%3E%0A+%3Cdiv+class%3D%22description%22%3E%28another+relevant+site%2C+i
f+you%27d+like+to+include+one%29%3C/div%3E%0A%3C/div%3E%0A%3Cdiv+clas
Comment #3
phillipadsmith commentedNot sure about session POSTs. Thoughts on where that would be set? In the .htaccess?
Comment #4
phillipadsmith commentedSorry for the silly questions. So, I've tried a much simplier form (one text input) and it posts just fine. I'm guessing there's a limit to the size of the form (via Apache) that should be considered when creating new surveys. Any way to avoid this?
Phillip.
Comment #5
scroogie commentedWait a second, this looks really awkward. I know that the standard states that there is no limit to request, but afaik every server places a limit on GET URIs, so they should not be used to transfer whole html-pages, which is what this request looks like (its raw html code).
Comment #6
phillipadsmith commentedYep -- I agree -- it looks quite odd to me too that the whole page is being submitted.
Comment #7
phillipadsmith commentedNot sure if this is helpful... but, if I turn off all field-level validation, the survey posts just fine.
Comment #8
greenmachine commentedNever got fixed, huh? I just ran into this problem as well with a client. I wonder if the upgrade to 4.7 did it? I was using survey before with no problem.
Removing all field validation *and* removing any "required" status from fields seems to make the thing work again, but I'm not totally sure yet.
Is the Webform module supposed to be the replacement that has actual development and bug fixing?
Comment #9
gaele commentedhttp://drupal.org/node/104002
Comment #10
phillipadsmith commentedYep: I've switched to Webform for this requirement.