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 'nid WHERE (na.grant_view >= 1 AND ((na.gid = 0 AND na.realm = 'all') OR (na.gid ' at line 1
query: SELECT COUNT(*) FROM node n INNER JOIN announcements a ON n.nid = a.nid INNER JOIN node_access na ON na.nid = 1257587202.nid WHERE (na.grant_view >= 1 AND ((na.gid = 0 AND na.realm = 'all') OR (na.gid = 0 AND na.realm = 'og_public'))) AND ( n.type='announcements' AND a.expiration_date > 0 ) in /home/igcp572/public_html/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 'nid WHERE (na.grant_view >= 1 AND ((na.gid = 0 AND na.realm = 'all') OR (na.gid ' at line 1
query: SELECT n.nid FROM node n INNER JOIN announcements a ON n.nid = a.nid INNER JOIN node_access na ON na.nid = 1257587202.nid WHERE (na.grant_view >= 1 AND ((na.gid = 0 AND na.realm = 'all') OR (na.gid = 0 AND na.realm = 'og_public'))) AND ( n.type='announcements' AND a.expiration_date > 0 ) ORDER BY n.sticky DESC, a.publish_date DESC LIMIT 0, 10 in /home/igcp572/public_html/includes/database.mysql.inc on line 172.