Closed (duplicate)
Project:
Media Field
Version:
5.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Jan 2008 at 17:45 UTC
Updated:
25 Jun 2008 at 21:03 UTC
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