This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

Missing argument 2 for filter_form_validate()

I am using v4.7B6 and filter.module filter.module,v 1.113 2006/03/14 15:15:46 unconed Exp $.

This error occurs:

Missing argument 2 for filter_form_validate() in /mnt/am2/08/231/00000012/htdocs/soccer-wikki.info/modules/filter.module in Zeile 833.

I already included the patch and the function now looks

function filter_form_validate($form_id, &$form) {
   foreach (element_children($form) as $key) {
     if ($form[$key]['#value'] == $form[$key]['#return_value']) {
       return;
    }
  }
  form_error($form, t('An illegal choice has been detected. Please contact the site administrator.'));
  watchdog('form', t('Illegal choice %choice in %name element.', array('%choice' => theme('placeholder', check_plain($v)), '%name' => theme('placeholder', empty($form['#title']) ? $form['#parents'][0] : $form['#title'])), WATCHDOG_ERROR));
}

I saw lots of posts somewhere similar to my problem, but neither fixed it or gave me an indication what to do.

By the way .. I am using PHP 5.

Suggestion: Datafeed module

I think many affiliate marketers may be very interested in a module that can manage and display product datafeeds given by merchants on a drupal site. What do you guys think?

What's the best way to remove authoring information and other fieldsets from a node new/edit page?

Is the best way to set default fields for the fieldsets in hook_form ( eg. like is done here: http://drupal.org/node/43577 ) ?

It would be great to have something in Settings >> Content Types to completely turn the fieldsets off (not just set defaults).

Or is there a better way to do this that I'm completely missing?

-bg

Is the Issue tracker module available for public download?

Is the issue tracker module available for download?

todo/task list

hey guys,

i'm looking for a simple "to do" and/or "tasks" type module. i've seen a couple of them floating around, but i guess only for 4.7. i'm running 4.6 and don't want to upgrade yet.

Does anybody have anything like this? I saw an older ToDo that someone had made for 4.4, but nothing more recent.

Or if someone could point me towards some code snippits that might accomplish the same things.

thanks!

www.downwiththeman.org

AJAX and agentajax.com

Has anyone seen agentajax.com? I love it. It's the simplest ajax solution I've seen yet.

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions