I've upgraded filefield this morning to 6.x-3.2 and after that imagefield module disappeared from my installed modules list. Is this module now incorporated into filefield? can I safely remove imagefield module?

Thanks in advance.

Comments

Bernardine’s picture

imagefield is still present and installed, my presets are all still there, but imagecache handler option has disappeared from the CCK widget options. All my links to existing site images are now broken, all images have disappeared from view. This is a critical issue. Within content type views my image types are now all inactive fields.

NoRandom’s picture

...you are right, I've just noticed the same bug here.

NoRandom’s picture

Category: support » bug
Priority: Normal » Critical
quicksketch’s picture

Sounds like ImageField is disabled. Visit admin/build/modules and turn on the ImageField module.

Imagefield has this bit of code in it:

function imagefield_init() {
  // If FileField is not available, immediately disable ImageField.
  if (!module_exists('filefield')) {
    module_disable(array('imagefield'));
    drupal_set_message(t('The ImageField module has been disabled. The <a href="http://drupal.org/project/filefield">FileField module</a> needs to be installed for it to work properly.'));
    return;
  }
}

This code was added to prevent ImageField from wrecking havok and causing white-screens if FileField was not available, since old versions of ImageField were not dependent on it. So if you were upgrading imagefield and filefield while users were still hitting your site, ImageField probably disabled itself while FileField was not available.

quicksketch’s picture

imagefield is still present and installed, my presets are all still there, but imagecache handler option has disappeared from the CCK widget options.

Hmm, but I have not idea what could be causing this issue. ImageField saw very few changes between the 3.1 and 3.2 versions, none of which affected formatters. I'm not seeing this problem locally either. I'd suggest clearing you caches at admin/settings/performance, maybe CCK needs to refresh it's list of formatters.

NoRandom’s picture

...and everything seems to be ok now. It was so simple as you said, the ImageField module was disabled.

Thanks for your help.

NoRandom’s picture

Status: Active » Fixed
ken.lancaster’s picture

I have this problem now too. However, my site is not allowing me to turn the imagefield module back on.

ken.lancaster’s picture

Status: Fixed » Active
ken.lancaster’s picture

I went into the database, turned the module on that way. the site is still not seeing its on. the modules page shows a checkbox near the imagefield module, but its still not registering in the content types. the site still thinks its off.

>>>>>>>> Finally got it fixed. I had to go into the database, turn it on there, in modules, then turn off any dependent modules, then turn off imagefield from the admin (not from database this time) then turn it back on, then turn back on any dependent modules. Long process, at least its fixed.

mecvo1984’s picture

Just noticed this same thing. Big prob w/ images now after upgrading today to 6.x-3.2

geerlingguy’s picture

Same bug again. To fix, I had to:

1. Disable ImageField (first disabling any modules that required ImageField).
2. Disable FileField
3. Re-enable both of the above modules.
4. Flush all caches.
5. Run cron.

Meanwhile, the imagefields all over the site had disappeared from display, and from content types. Luckily, it's all back working great again.

quicksketch’s picture

Status: Active » Closed (fixed)

Let's not have multiple issues open for the same thing. #492166: Imagefield module gets disabled on upgrade, or unexpectedly on running cron.

newalexandria’s picture

This same problem has my images disabled site-wide. The error is 'You must select "url" as the imagecache handler for the "slide_field" field.' I've followed all the steps in #12 to no avail. For me it happened with an upgrade to ImageField 3.9