Line 316 of the .module file gave me the "function not defined" error. This is the line:
$file = _field_file_load($item['fid']);
To fix it, I Just added this the line before:
require_once(drupal_get_path('module', 'audiofield') .'/multimediafile.inc');
Comments
Comment #1
zostay commentedThe recommended solution works for me.
Comment #2
buddaWould it not be just as simple to use
require_once('multimediafile.inc');as both PHP scripts are in the same directory.Comment #3
mikeybusiness commentedThe solution also worked for me.
Comment #4
a_c_m commentedGlad the fix works, but cyou give me a step by step to reproduce the error?
Comment #5
a_c_m commentedhttp://drupal.org/node/247674