It looks like 6.x.2.0-beta1 has a missing dependency on imagefield.

I'm getting this in my error.log :

PHP Fatal error: Call to undefined function imagefield_widget_settings_form() in /var/www/sc/httpdocs/sites/all/modules/swfupload/swfupload_widget.inc on line 14, referer: http://local/admin/content/node-type/document/fields 

Looks like the call is in swfupload_widget.inc on lines 13/14:

  module_load_include('inc', 'imagefield', 'imagefield_widget');
  $form = imagefield_widget_settings_form($widget);
CommentFileSizeAuthor
#1 omgomgomogomg.patch461 bytesrobloach

Comments

robloach’s picture

Status: Active » Needs work
StatusFileSize
new461 bytes

Not sure if just adding ImageField would be the best way around it. Looking at imagefield_widget_settings_form, maybe we should use our own widget settings? Hmmm, what are your thoughts?

dave kopecek’s picture

You're Fast! I came back to post a patch and you had it up.

skilip’s picture

The ImageField dependency is not really what I want, nor is it required. I'm going to add some if statements to see whether or not the module is installed before calling it's functions.

skilip’s picture

Status: Needs work » Fixed

Fixed in 6.x-2.0-BETA2

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.