Image galleries

  • warning: pg_query() [function.pg-query]: Query failed: ERROR: for SELECT DISTINCT, ORDER BY expressions must appear in select list in /local/system/mgg/server/drupalmac/includes/database.pgsql.inc on line 138.
  • user warning: query: SELECT DISTINCT n.nid FROM mac_unols_org_node n INNER JOIN mac_unols_org_term_node tn ON n.nid = tn.nid INNER JOIN mac_unols_org_node_access na ON na.nid = n.nid WHERE (na.grant_view >= 1 AND ((na.gid = 0 AND na.realm = 'all') OR (na.gid = 0 AND na.realm = 'content_access_author') OR (na.gid = 1 AND na.realm = 'content_access_rid'))) AND ( tn.tid IN (3) AND n.type = 'image' AND n.status = 1 )ORDER BY n.sticky DESC, n.created DESC in /local/public/mgg/web/mac.unols.org/modules/image/contrib/image_gallery/image_gallery.pages.inc on line 47.