When I try to import audio, I get this error:
Fatal error: Call to undefined function: taxonomy_form_alter() in /home/chucklin/public_html/sites/all/modules/audio/contrib/import/audio_import.pages.inc on line 39
Here's the relevant section of audio_import.pages (// $Id: audio_import.pages.inc,v 1.2 2008/09/30 04:43:07 drewish Exp $):
if ($files) {
if (module_exists('taxonomy')) {
// here's a little hack to get the taxonomy controls onto our form
$form['type'] = array('#type' => 'value', '#value' => $form['#node_type']);
$form['#node'] = new stdClass();
$form['#node']->type = $form['#node_type'];
taxonomy_form_alter($form, array(), $form['#node_type'] .'_node_form');
unset($form['type']);
unset($form['#node']);
}Anybody know what's going on? Seems like the taxonomy module messes everything up in Drupal 6, but I need it.
Comments
Comment #1
CharlieHipHop commentedVersion wrong above -- it's actually 6.x-1.0-unstable2, not dev
Comment #2
drewish commentedthat's really strange... is taxonomy enabled? if so try disabling it to see if that changed anything.
Comment #3
pazcu commentedI have the same issue but I don't necessarily see the same error. When I try to import files the page just goes blank and the file does not get imported. works like a charm on the 5.x version.
Comment #4
drewish commentedpazcu, unless you're getting an undefined function error in your php error logs you've probably got a different issue.
Comment #5
CharlieHipHop commentedTaxonomy was enabled. Disabling it "solved" the problem, but I can't run my sites without taxonomy.
Ugh. I'm stuck.