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 'IS NULL) AND (flag_content_node.uid IS NOT NULL) AND (location.longitude != 0) ' at line 18 query: SELECT DISTINCT node.nid AS nid, node.title AS node_title, node.language AS node_language, og.og_description AS og_og_description, og.nid AS og_nid, (SELECT COUNT(*) FROM og_uid ou INNER JOIN users u ON ou.uid = u.uid WHERE ou.nid = og_nid AND u.status > 0 AND ou.is_active >= 1 AND ou.is_admin >= 0 ) AS member_count, (SELECT COUNT(*) FROM node n INNER JOIN og_ancestry oga ON n.nid = oga.nid LEFT JOIN history h ON n.nid=h.nid AND h.uid = 0 WHERE n.status = 1 AND oga.group_nid = og.nid AND h.timestamp IS NULL AND n.created > 1366766280) AS post_count_new, node.vid AS node_vid, node.created AS node_created, location.latitude AS gmap_lat, location.longitude AS gmap_lon FROM node node LEFT JOIN flag_content flag_content_node ON node.nid = flag_content_node.content_id AND flag_content_node.fid = 3 LEFT JOIN flag_content flag_content_node_1 ON node.nid = flag_content_node_1.content_id AND flag_content_node_1.fid = 12 LEFT JOIN location_instance location_instance ON node.vid = location_instance.vid LEFT JOIN location location ON location_instance.lid = location.lid LEFT JOIN og og ON node.nid = og.nid INNER JOIN node_access na ON na.nid = node.nid WHERE (na.grant_view >= 1 AND ((na.gid = 0 AND na.realm = 'all') OR (na.gid = 0 AND na.realm = 'og_public'))) AND (((SELECT COUNT(1) FROM node_access nasq WHERE node.nid=nasq.nid AND gid=0 AND realm='all') > 0) OR ((SELECT COUNT(1) FROM node_access nasq WHERE node.nid=nasq.nid AND realm IN ('og_public')) = 0 OR (SELECT COUNT(1) FROM node_access nasq WHERE node.nid=nasq.nid AND ((gid=0 AND realm='og_public'))) > 0)) AND ( (node.status = 1) AND (node.type in ('szivesseg_group', 'group_volounteers')) AND (.uid IS NULL) AND (flag_content_node.uid IS NOT NULL) AND (location.longitude != 0) )ORDER BY node_created DESC in /var/www/szivesseg/sites/all/modules/views/includes/view.inc on line 814.

Csoportok Térkép