Closed (fixed)
Project:
CCK Gallery
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
24 Jan 2009 at 09:28 UTC
Updated:
28 Jan 2009 at 10:09 UTC
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
Comment #1
greg.harveyHi - 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. =)
Comment #2
greg.harveyThis is related to the other bug report, so no sense in leaving this one open. Closing.
Comment #3
portait commentedThanks 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).
Comment #4
greg.harveyHmmm, 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.
Comment #5
jjjames commentedI 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!
Comment #6
jjjames commentedDuh...I didn't have GD2 Library active in the Image Cache area of module settings! Seems to be working fine now.
Comment #7
greg.harveyLOL! 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! =)
Comment #8
greg.harveyClosing - re-open *only* if you experience the behaviour described in #3.