Hi.
I am having serious problem with the webform. I have over 50 components on the form (text fields, an email, few markups, and fieldsets). I can no longer add any more fields.
I put the name of the field in New Component Name, select which component and click Add. It begins to process, but nothing happens. Does not go to that component's edit screen but stays on the main form's component edit screen. Does not get added to the form and cannot see it in database.
Any suggestions please?
Comments
Comment #1
wavesailor commentedI added 70 components to a webform and it seems to works fine ... But what does happen is that the Components tab does not show up. To get to it I have to manually put the url in i.e. http://www.mydomain.com/node/53/edit/components
Comment #2
waynedrupal commentedI have heard of someone adding up to 200 components. Anyone know what would cause a limit?
I have had an error:
Got a packet bigger than 'max_allowed_packet' bytes query:..while building the webform and I changed themax_allowed_packet = 1Mtomax_allowed_packet = 32Min the my.cnf (mySQL configuration file) to rid of this error.Would this be causing a limit and should I increase that more on my server?
Comment #3
quicksketchwavesailor: see #238434: Components option does not appear!
waynedrupal: I'm not sure where webform would be causing such a problem. Webform handles all it's insert/update statements one at a time, so I'd think that it could handle any number of components being in the database (processing the submission might be another problem however). Are you saying you're currently receiving the
Got a packet bigger than 'max_allowed_packet' bytes query:error? If so, could you post the query causing the problem? I imagine it's quite large, considering it's bigger than 1MB, so please only include the beginning and end. :)Comment #4
waynedrupal commentedWell, I tore down the site and rebuilt it, including the database, with the hope of having this issue go away with not being able to add any more fields to the webform. As I increased to 64 M the packet size allowed I have not since had that error appear.
I did copy the site and the webform on another server, and was able to add fields with no problem, then copied onto my server again, and still cannot add fields to the webform - it will not create the fields on the database. I can add Extra Processing code and submit, and that goes into the database. I also cannot edit any field - lable or type, unless I go into the database itself and change the field.
Any thoughts on what this could be?
Comment #5
castle9mm commentedI'm experiencing the same thing. I have around 60 components (of various types, mostly textfield) to my form. However when adding a new field, it takes about 5 seconds then just refreshes the main edit page. I never see the page to adjust the details. The weight seems to auto increment but I can't add any more fields.
Comment #6
waynedrupal commentedYes, this has been duplicated then. Perhaps this is a bug?
---Update--- I should mention that I had someone else dump the database and site on their server and they were able to create components. Then put it back on my server, and still same problem for me: could not add any more components, but the components that were created on the other server were obviously there when I dumped the database back onto my server.
So, components could be added on another server, and put on mine through db dump, but I cannot add anymore components.
Comment #7
quicksketchI've switched the weight field from a select list to a textfield, as I'm aware that such a long list (-70 to 70 if you have 70 components, printed 70 times) can really slow down the page. Note however, I was only able to do this on the Drupal 6 version which has drag and drop weights, so the end user doesn't ever have to deal with these. The change will probably not be backported to Drupal 5.
Comment #8
quicksketchComment #9
steeph commentedJust a note. I had this problem with Webform 7.x-3.18. I could not add or rearrange fields (just in this one webform node). After editting the filed I had added last, it works again. Maybe it helps sombody else.