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

Hetta’s picture

enable [x] image in your image-gallery taxonomy.

bschoudel’s picture

The 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

myDRU’s picture

I 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
?

wellsy’s picture

thanks 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!

tacogod’s picture

Thanks! This fixed my issue also.

spomerg’s picture

I 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

myDRU’s picture

@spomerg : Go to admin/content/taxonomy
Then edit the image-gallery taxonomy, where you'll see a checkbox preceding 'image'.

spomerg’s picture

Ah, thanks. That worked. Don't know why I missed that. :o

- Gavin

pajamajeremy’s picture

Thanks. 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.

myDRU’s picture

I wrote a bug report against the core taxonomy module, as I assume this bug belongs there:
http://drupal.org/node/348833

Hetta’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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

myDRU’s picture

Status: Closed (fixed) » Active

I do not see any fix, where is it fixed?

francula’s picture

Category: support » bug

Hi,
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

Hetta’s picture

Status: Active » Postponed (maintainer needs more info)

Are 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.

sun’s picture

Status: Postponed (maintainer needs more info) » Fixed

Original 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.

Status: Fixed » Closed (fixed)

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

myDRU’s picture

Status: Closed (fixed) » Active

Bug 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.

joachim’s picture

Had 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.

OnlineWD™’s picture

I 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.

OnlineWD™’s picture

Version: 6.x-1.0-alpha3 » 6.x-1.0-alpha4

Well I can add an image via a blog or node but not directly.

joachim’s picture

I don't understand what you mean by 'via a blog or node'.

joachim’s picture

Status: Active » Postponed (maintainer needs more info)
OnlineWD™’s picture

I mean via vocabulary for taxonomy i.e. drop menu at top of blog.

joachim’s picture

Can you check what taxonomy_form_alter() thinks it's doing to the node edit form?
Install devel module and do this:

    while ($vocabulary = db_fetch_object($c)) {
      dsm($vocabulary); // add this line
sun’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)

Marking 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.