I am very new to Drupal and am probably doing something wrong. However, when I installed OG Galleries, I've run into 3 "problems".
I'm using Drupal 5.1. I installed the latest 5.x version of OG Galleries. I have CCK installed and created a content type called "gallery_image" and added an Image field to it. I used the default view and added an image field.
1) The form displays a field for uploading an image. I select an image and complete the form and either click Upload or Submit. The image is added to the gallery, but displays a missing image icon. The image does not appear until I click on Edit in the gallery. Then, the image appears. Weird.
2) In the Group, the images I add show up on my group page and in the Gallery. Is that the correct behavior. I would like to be able to have the images only show up in the gallery, not on my group home page. Is that possible?
3) Accessing the public galleries via the menu or by going to /galleries gives the following error message, even if I added an image to a public gallery:
user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '36,42,41,40,39,38)))' at line 1 query: SELECT count(DISTINCT(og_galleries.gid)) FROM node node LEFT JOIN term_node term_node ON node.nid = term_node.nid LEFT JOIN term_data term_data ON term_node.tid = term_data.tid LEFT JOIN vocabulary vocabulary ON term_data.vid = vocabulary.vid LEFT JOIN og_galleries og_galleries ON vocabulary.vid = og_galleries.vid LEFT JOIN content_type_gallery_image node_data_field_image ON node.vid = node_data_field_image.vid WHERE (node.status = '1') AND (node.type IN ('gallery_image')) AND ((og_galleries.gid IN (0,35,37,,36,42,41,40,39,38))) in /home/assaultl/public_html/portal/includes/database.mysql.inc on line 172.
user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '36,42,41,40,39,38))) GROUP BY og_galleries.gid ORDER BY node_sticky DESC, node_c' at line 1 query: SELECT og_galleries.gid, og_galleries.gid AS gid, count( DISTINCT(node.nid)) AS num_nodes, node.sticky AS node_sticky, node.created AS node_created_created, node.title AS node_title, node.changed AS node_changed, node_data_field_image.field_image_fid AS node_data_field_image_field_image_fid, node_data_field_image.field_image_title AS node_data_field_image_field_image_title, node_data_field_image.field_image_alt AS node_data_field_image_field_image_alt FROM node node LEFT JOIN term_node term_node ON node.nid = term_node.nid LEFT JOIN term_data term_data ON term_node.tid = term_data.tid LEFT JOIN vocabulary vocabulary ON term_data.vid = vocabulary.vid LEFT JOIN og_galleries og_galleries ON vocabulary.vid = og_galleries.vid LEFT JOIN content_type_gallery_image node_data_field_image ON node.vid = node_data_field_image.vid WHERE (node.status = '1') AND (node.type IN ('gallery_image')) AND ((og_galleries.gid IN (0,35,37,,36,42,41,40,39,38))) GROUP BY og_galleries.gid ORDER BY node_sticky DESC, node_created_created DESC LIMIT 0, 10 in /home/assaultl/public_html/portal/includes/database.mysql.inc on line 172.
Comments
Comment #1
rfarrior commentedI'm still getting the error if I go to /galleries. I worked around it by just putting /0 after it to only display the Public gallery from the menu, which is ok, but not the optimal solution. Any ideas?
Comment #2
CheckeredFlag commentedI too am encountering this same error when viewing /galleries.
Comment #3
karens commentedOld issue. This version is no longer being maintained. We are moving to Views Gallery for D6.