I am new to Drupal so I ask patience if I miss the obvious.

I have been using webform 6.x-1.8 to create questionnaires and recently upgraded to 6.x-2.4. By it does not work either on existing forms or new ones. When I try to use the form, I get an error message of the form: "The webform component textfield (select, etc)" is not able to be displayed. I am currently using Drupal 6.8. Any suggestions on what I need to fix.

Can I downgrade back to 6.x-1.8 as a stopgap while I work on the problem? Is a copy available?

Comments

digitaldrz’s picture

I just noticed something that may be of help is resolving my issue. When I create a new webform and try to add a component, I do not get the opportunity to define a field and get the error message: The webform component of type textfield does not have an edit function defined.

quicksketch’s picture

I don't think you were running a 6.x-1-8 version, as the first version ever for Drupal 6 was 2.0-beta1, there wasn't ever a 1.x version for Drupal 6, so it's a bit of a mystery what upgrade you performed (unless it was from Drupal 5-1.6).

Anyway, the problems you're seeing are caused by Webform not finding the correct functions to call in the component include files. I'd suggest redownloading the latest Webform and completely removing your currently copy. You might have some mixed versions of Webform put together into a single installation.

digitaldrz’s picture

I was using the version before the current. I misread the version from webform_report which was 6.x-1.8.

Webform was working fine and I got a message in Drupal that webform had been updated 2 or 3 days ago. I downloaded it and updated and my problems began.
I just deleted the whole webform dir, downloaded the latest version, and upgraded/updated. The problem still exists. I get the error:
The webform component of type textfield does not have an edit function defined.

What could I have done to get that error? I can get to an earlier backup and get functional with the prior version. Then see if I can update again.

quicksketch’s picture

Status: Active » Closed (fixed)

Closing after lack of activity. As I said in #2, the most likely source of this problem is an incomplete Webform installation. You might also disable other Webform add-on modules, which might need to be updated to work with the newer version of Webform.