Hi, I've just done an upgrade of my image field and file field module.. as there was a notification on the available updates page. So I have disabled those modules first, then replaced the old files with the new files in sites/all/modules, ran the update and enabled those modules again. Result: tada.. all images are gone! All image fields have gone missing as well!! when I go to a view with images that is using that image field it says:
"Error: handler for node_data_field_feature_img > field_feature_img_fid doesn't exist!"
In my content types my fields with images are gone too..
I'm not sure which is the bad boy that's causing this.. image field or file field module?
Please help us out.
For the moment I'm moving back to the previous version!
Comments
Comment #1
bassplaya commentedTo help you guys out more: After reverting back to my backed up database, I've done the upgrade of the filefield module only so without upgrading the imagefield module and that still works as it should.
So the bad boy must be in the upgrade of the imagefield module.
I hope that helps.
Comment #2
quicksketchYou've got your upgrade process a little out of order. You should NOT disable the module first (though you should put your site into off-line mode). Replace the new files, then run update.php. Disabling the module that is being upgraded shouldn't be part of the process.
Comment #3
nickbn commentedI'm experiencing the same problem. Seems the upgrade disables the imagefield module, and for some reason I can't turn it back on. All dependencies are still on so I'm not sure why this is. I upgraded as described by quicksketch above: maint. mode --> replaced module files --> update.php.
Comment #4
quicksketchLet's not have two issues for the same thing if this is the same as #492166: Imagefield module gets disabled on upgrade, or unexpectedly on running cron.
Comment #5
bassplaya commented// $Id: UPGRADE.txt,v 1.3 2009/03/04 05:28:24 quicksketch Exp $
Upgrading From 5.x-2.x -> 6.x-3.x
1) If FileField and ImageAPI are not already installed, disable ImageField.
2) Upgrade Drupal and contributed Modules to 6.x.
3) Run Update.php.
4) If FileField and ImageAPI are not already installed:
a) Install FileField and ImageAPI.
b) Enable ImageField, FileField, and ImageAPI.
c) Run update.php.
Am I having it wrong and you are talking about the fact that there is a standard procedure of upgrading a module if the Drupal version is the same? In this case.. apologies, I didn't know.
yes, that did the trick. Sorry to bother you with my stupidity. mea culpa.
Comment #6
nickbn commentedQuicksketch, I don't believe this is the same issue as the one you linked to above because I can not turn it back on. It seems that with the issue you linked to, one can turn the module back on. I definitely can not.
BassPlaya, I'm not upgrading from 5.x... I'm running the latest 6.x.
Any thoughts?
Thanks!
Comment #7
quicksketchNo, it is the same. Drupal disables the checkbox if there are any other modules that depend on ImageField. You have to turn off all the modules that depend on ImageField, then you can turn on ImageField. It's dumb and doesn't make sense. I should note you can also use Firebug and simply remove the "disabled" property then check the box and save.
Regardless, still a duplicate of the other issue.