I uploaded the module and turned it on (the 4.7 version, as we're running Drupal 4.7). When I went to the settings page for the module, I got this:

Fatal error: Call to undefined function: form_textfield() in /home/username/public_html/modules/feedback/feedback.module on line 70

Comments

kbahey’s picture

Status: Active » Closed (fixed)

Do not mix version.

Use only the 4.7 module with Drupal 4.7.

jsimonis’s picture

Status: Closed (fixed) » Active

I'm using the 4.7 version with Drupal 4.7, as stated above.

kbahey’s picture

Status: Active » Closed (fixed)

I downloaded the 4.7 version of the module.

There is nowhere in the module where form_textfield() is called.

The version is

//$Id: feedback.module,v 1.51.2.4 2006/05/29 04:05:59 kbahey Exp $

And line 70 is the line with $form in it below.

function feedback_settings() {
  $form['feedback_email'] = array (
    '#type' => 'textfield',
    '#title' => t('Default Email Address'),
    '#default_value' => _feedback_get_to_email(),
    '#size' => 80,
    '#maxlength' => 300,
    '#description' => t('The email address which should receive all form submissions'),
  );

So, you must be using the 4.6 version.

jsimonis’s picture

I checked and the only version I have on my computer, and the one I uploaded to the site, was 4.7. The files on the server matched exactly what was in the 4.7 file I had downloaded just a week or so ago.

So I deleted it all, re-downloaded the file from the modules page, and re-uploaded it. Now the problem appears to be fixed.

That was really strange.