After uploading images and clicking on "My galleries", the page doesn't show any uploaded images.

I get this error when opening up:
views > gallery_contents > arguments

Error: handler for node_data_field_gallery > field_gallery_nid doesn't exist!

A step by step documentation would be helpful.

Comments

greg.harvey’s picture

Hi - thanks for trying the module. Firstly, this module was only released LAST NIGHT as a development snapshot, not at all guaranteed to work. Documentation, etc. will be filled out in the fullness of time, but this is a brand new module so it will take time.

Now, regarding your issue - it is directly related to your first post: http://drupal.org/node/363499#comment-1217956

If your content types failed to install then of course field_gallery_nid does not exist! Follow steps I recommended in above link and let me know what happens. =)

greg.harvey’s picture

Status: Active » Closed (won't fix)

This is related to the other bug report, so no sense in leaving this one open. Closing.

portait’s picture

Status: Closed (won't fix) » Active

Thanks for developing a cck based user gallery. :)

I have uninstalled the cck gallery, removed the imagecache presets and made sure that all required modules were installed. This time, the installation process didn't show any errors.

There were no new content types created during the cck galllery module installation process. Therefore the views gallery_contents still shows the same error (see top post).

greg.harvey’s picture

Status: Active » Postponed (maintainer needs more info)

Hmmm, weird. I don't know what to tell you then. For some reason hook_install is not working properly now on your Drupal installation, but I can't replicate the problem, so I can't suggest a solution.

The only thing I *can* suggest is uninstall CCK Gallery again, physically delete the cck_gallery row from the system table of the database, refresh the modules page and try one more time. Then it might work. There might be something sticking in the system table preventing hook_install from firing properly and deleting the record for the module will solve that.

Let me know if that works... =)

Ps - see the updated project page - known issue with My Galleries page. Sorry. Will fix soon.

jjjames’s picture

I think I have done everything correctly. Got no errors, but when I go to view a gallery at:
http://mysite.com/cck-gallery , I see a list of galleries, but none of the images show up when i go to the link to a gallery http://mysite.com/content/gallery-1

I can see the description of my gallery but no images.

I put the node-cck_gallery.tpl.php file in my theme folder, but what do I need to do to view the page or is it automatic? Do you have a direct url that we can go to view a gallery?

Also, what do I do with the cck_gallery.views.inc file? There is no mention of using this file.

This seems like exactly the gallery I need, but I can't get a chance to try it out. Look forward to being able to test this.

Thanks!

jjjames’s picture

Duh...I didn't have GD2 Library active in the Image Cache area of module settings! Seems to be working fine now.

greg.harvey’s picture

LOL! That catches me out too, if it's any consolation. I'm not doing anything about it, because ImageAPI already creates a requirements warning. I'll add it to the FAQs on the project page though.

portrait seems to have disappeared ... I'll close this issue, but please re-open if you see the behaviour in #3. Thanks! =)

greg.harvey’s picture

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

Closing - re-open *only* if you experience the behaviour described in #3.