I have just updated my existing 5.7 site to 6.6. Once all the dust had settled and I had re-enabled all the required modules there are 2 problems which I cannot seem to fix.
I have Image 6.x-1.0-alpha3 installed and the update report says it is up to date. The only other modules installed (Event 6.x-2.x-dev (2008-Oct-27), Mollom 6.x-1.5 and Views 6.x-2.1) also report they are up to date.
There is a problem with adding image nodes to galleries in that there is no way to select and add the node to the gallery within the node edit area as there was in my 5.7 install. All my existing image nodes are still intact in their original galleries however.
Also all my image nodes have not got their image showing. After checking in the database I found this is due to the 'image' table not having the required information added during the update to 6.6.
I have started adding all the missing info direct to the database using phpMyAdmin and adding the missing 'nid' using this sql query. INSERT INTO `image` (`nid`, `fid`, `image_size`) VALUES.
However this is a huge task as I have around 4600 nodes....most of them image nodes...ouch!
Is there another way I can solve this problem? Has anyone else had this problem?
thanks in advance for your help!
wellsy
Comments
Comment #1
Hetta commentedenable [x] image in your image-gallery taxonomy.
Comment #2
bschoudel commentedThe fix above worked for me. I had the same issue after upgrading to 6.6.
Is this a typical type issue that is seen following an upgrade? Is this something that reenabling the modules should fix? Just wondering since this was my first upgrade.
Thanks
Comment #3
myDRU commentedI was able to select the image gallery while adding image nodes, before I upgraded on the same day from D6.5 to D6.6 and from views 6.x-2.0-rc3 to 6.x-2.1. And, indeed, before the upgrade (I can still see this in another website that I did not yet upgrade), the above discussed image checkbox in the image-gallery taxonomy, was checked.
After enabling the checkbox again on the upgraded website, the image gallery can again become selected while adding new image nodes, so thanks.
But, is this now a but that we must report (and how?) on
D6.6
or
views 6.x-2.1
?
Comment #4
wellsy commentedthanks guys...that worked for my first problem....not sure why I did not check that really.
However the second part is the show stopper for me as 4600 nodes runs to a rather large number when you have 3 images to connect per node.....ouch!
Does anyone know a sql trick or two that can help me fix up the 'image` table missing relationship between `nid` and `fid`. Thanks again guys!
Comment #5
tacogod commentedThanks! This fixed my issue also.
Comment #6
spomerg commentedI cannot add images to image galleries by any methods. I have updated all my Drupal instances to 6.6.
What is meant by "[x]" in "enable [x] image in your image-gallery taxonomy."? Could you be more specific/descriptive in your instructions? I do not see any "enable" anywhere on any of the taxonomy pages.
Thank you very much for your time.
- Gavin
Comment #7
myDRU commented@spomerg : Go to admin/content/taxonomy
Then edit the image-gallery taxonomy, where you'll see a checkbox preceding 'image'.
Comment #8
spomerg commentedAh, thanks. That worked. Don't know why I missed that. :o
- Gavin
Comment #9
pajamajeremy commentedThanks. This thread helped, but only after a few days of frustration with the module.
I'd consider this a serious bug. It shouldn't be this unobvious to get basic functionality.
Comment #10
myDRU commentedI wrote a bug report against the core taxonomy module, as I assume this bug belongs there:
http://drupal.org/node/348833
Comment #11
Hetta commentedComment #13
myDRU commentedI do not see any fix, where is it fixed?
Comment #14
francula commentedHi,
i have 6.8 and i have only taxonomy for image, but not for the gallery. When i assign a tag to a image how can I then display a gallery?
Regards
Comment #15
Hetta commentedAre you in fact using image_gallery and not another gallery module?
Image_gallery _is_ a taxonomy ... if you have no taxonomy for image_gallery, you have no image_gallery.
Comment #16
sunOriginal issue resolved.
The second issue is probably related to a module upgrade from Drupal 5 or even 4.7. Please check the other issues related to upgrading in the queue. (Search for "upgrade") Some patches are waiting for testing.
Comment #18
myDRU commentedBug still not solved, again the same problem:
- I was running on D6.9 with the checkbox described in #7 enabled.
- I upgraded from D6.9 to D6.10 (the checkbox described in #7 is automatically disabled after the upgrade).
- I had to manually reenable the checkbox in #7.
Comment #19
joachim commentedHad you disabled image module during the upgrade? I had a hunch maybe it was taxonomy module cleaning up types it thinks doesn't exist, but a grep of vocabulary_node_types finds nothing that looks like that.
What does your vocabulary_node_types table look like before and after upgrade?
It could well be a data glitch left from a 4.7 - 5 upgrade as sun says.
Comment #20
OnlineWD™ commentedI don't seem able to add images to the gallery. Can create galleries but that's about as far as it goes. Have drupal-6.10 and image-6.x-1.0-alpha4. Have placed a tick in taxonomy/image to no avail. Can create image blogs and all seems to be working there nicely. All image modules are enabled and all have the green (enabled) text.
Comment #21
OnlineWD™ commentedWell I can add an image via a blog or node but not directly.
Comment #22
joachim commentedI don't understand what you mean by 'via a blog or node'.
Comment #23
joachim commentedComment #24
OnlineWD™ commentedI mean via vocabulary for taxonomy i.e. drop menu at top of blog.
Comment #25
joachim commentedCan you check what taxonomy_form_alter() thinks it's doing to the node edit form?
Install devel module and do this:
Comment #26
sunMarking as duplicate of #470720: Disabling then reenabling image module makes the gallery vocab forget about images. You can follow up on that issue to track its status instead. If any information from this issue is missing in the other issue, please make sure you provide it over there.
However, thanks for taking the time to report this issue.