This is the message I get on the "manage fields" page for the content types containing images that use imagefield.

"This content type has inactive fields. Inactive fields are not included in lists of available fields until their modules are enabled."

I have run update.php.
getID3() library is there, (but at 1.7.9)

filefield and imagefield are both enabled.

Comments

Gord_Mason’s picture

Assigned: Gord_Mason » Unassigned
Category: bug » support
quicksketch’s picture

Did you run update.php? If upgrading from an alpha version, ImageField needs to convert its fields to use FileField instead.

quicksketch’s picture

I've had several people not running update.php correctly having trouble also. If you did run update.php, make sure you did it correctly. Here's the note that's in the UPGRADE.txt file included with FileField.

Running update.php
------------------
Never, never, ever expand the "Select versions" fieldset and manually change
the update number. Drupal knows which version you are currently running and
automatically selects the appropriate version. If you change this number, you
risk running an update twice (if you select a lower number) or you'll skip
updates entirely (if you select a higher number). The ability to change the
update number was intended for developers. Due to the confusion caused by this
fieldset, it has been removed entirely in Drupal 7 to prevent such accidental
self-inflicted damage to user sites.

quicksketch’s picture

I have run update.php.

Apologies for my completely ignorant question in #2. :P

quicksketch’s picture

I'd suggest taking a look at #433236: Upgrade from D5 to D6 - Problems, where users have had similar problems.

ckng’s picture

quicksketch,

Hopefully my info could help track down the problem.

I'm not doing upgrade, I'm from a fresh install of 6.x-3.0-rc1 for both filefield & imagefield.
I remembered seeing both under CCK (adding field). I was working on ubercart beta 5, and when I want to configure Product fields, I'm getting imagefield not enabled. Updated to ubercart beta6, still same problem. I checked both are installed but they are no longer in CCK .

for both filefield and imagefield,
Disable & enabled - doesn't work
Disable, uninstall & enabled - doesn't work
run update.php - doesn't work
run update.php, select 6001 for both filefield & imagefield - Work!

Forgotten to run schema check before last step.

k3vin’s picture

+1

cambridgemike’s picture

I'm experiencing the same issues. If it all works correctly I should be seeing "Image" as a choice in the 'field type' dropdown of CCK, right?

If I can offer any valuable debug information let me know.

quicksketch’s picture

No, the "Image" field type is removed. You now need to select the "File" field type and select the "Image" widget. See http://drupal.org/node/403884#comment-1374690

ckng’s picture

Yes, I meant File field type with Image widget above. (need to turn my head around this and adjust to the new way)
The File field type was missing.

quicksketch’s picture

I was working on ubercart beta 5, and when I want to configure Product fields, I'm getting imagefield not enabled.

If you combine Ubercart beta 5 (and lower) and ImageField beta 1 (and higher), then you'll run into the exact problem you describe. It wasn't until Ubercart beta6 that Ubercart worked with the newer versions of ImageField.

See #404352: Image (field_image_cache) is an inactive image field for more information on the Ubercart problem.

So far, has everyone in this issue been using ImageField with Ubercart? I'm positive that this is at least one problem here. Like ckng suggests, uninstalling and reinstalling the module has no effect to fix this problem, because Ubercart (beta 5 and lower) is manually installing the field incorrectly. The correct way to fix this would be:

  1. Remove the image field from the "product" node type added by Ubercart
  2. Upgrade Ubercart to beta6 or higher
  3. Disable the Ubercart Product module
  4. Enable the Ubercart Product module (to have it setup the ImageField again properly)

This approach will delete any product images you have!

Unfortunately Ubercart doesn't provide its own update to fix this problem. So if necessary you might need to run update.php and manually run the ImageField updates starting with 6100. Normally, I wouldn't recommend rerunning the updates from update.php, as this could lead to unexpected problems in the future. However, as of the RC1 version of ImageField, rerunning the updates shouldn't cause a problem. Only rerunning the updates from ImageField should be sufficient, since they're the updates that convert from the "Image" field type to "File".

quicksketch’s picture

Title: After upgrading to Drupal 6.10 and ImageField 6.x-3.0-rc1, I can no longer see images depending on imagefield » Ubercart beta 5 (and lower) not compatible with ImageField
Status: Active » Fixed

I'm marking this a fixed because we haven't heard from the original poster since the issue was opened. I don't know if we solved his problem or not, but we fixed at least one question regarding Ubercart. I'm moving this title to accurate reflect what was fixed. Please only reopen if experiencing the problem described for Ubercart.

Status: Fixed » Closed (fixed)

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