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 'WHERE 1 AND n.type in ('region', 'country', 'city', 'restaurant', 'hotel', 'att' at line 1
query: pager_query
SELECT COUNT(*) FROM node n LEFT JOIN node_revisions nv ON n.nid = nv.nid LEFT JOIN i ON n.nid = i. WHERE 1 AND n.type in ('region', 'country', 'city', 'restaurant', 'hotel', 'attraction') in /home/triphaven/triphaven/triphaven/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 'WHERE 1 AND n.type in ('region', 'country', 'city', 'restaurant', 'hotel', 'att' at line 1
query: pager_query
SELECT n.nid as nid, n.title as title, n.type as type, nv.body as body FROM node n LEFT JOIN node_revisions nv ON n.nid = nv.nid LEFT JOIN i ON n.nid = i. WHERE 1 AND n.type in ('region', 'country', 'city', 'restaurant', 'hotel', 'attraction') ORDER BY i.score DESC,n.title ASC LIMIT 0, 15 in /home/triphaven/triphaven/triphaven/includes/database.mysql.inc on line 172.