Closed (fixed)
Project:
ImageField
Version:
6.x-3.0-rc1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
12 Apr 2009 at 13:36 UTC
Updated:
12 May 2009 at 03:20 UTC
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
Comment #1
Gord_Mason commentedComment #2
quicksketchDid you run update.php? If upgrading from an alpha version, ImageField needs to convert its fields to use FileField instead.
Comment #3
quicksketchI'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.
Comment #4
quicksketchApologies for my completely ignorant question in #2. :P
Comment #5
quicksketchI'd suggest taking a look at #433236: Upgrade from D5 to D6 - Problems, where users have had similar problems.
Comment #6
ckngquicksketch,
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.
Comment #7
k3vin commented+1
Comment #8
cambridgemike commentedI'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.
Comment #9
quicksketchNo, 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
Comment #10
ckngYes, 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.
Comment #11
quicksketchIf 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:
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".
Comment #12
quicksketchI'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.