Fatal error: Error in function: db_get_records_assoc during executing SQL: SELECT i.*, g.name as gallery_name, g.tiny as gallery_tiny, g.lead as gallery_lead, g.idn as gal_id, g.publish_date FROM images as i INNER JOIN gallery as g ON i.gallery_id = g.idn WHERE i.first_picture = 't' AND status = 't' AND g.idn <> AND g.publish_date <= now() ORDER BY g.publish_date DESC. pg_last_error:ERROR: operator does not exist: integer <> LINE 1: ... i.first_picture = 't' AND status = 't' AND g.idn <> AND g.... ^ HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts. in /usr/home/svn.framework/database/data_access.php on line 196