user warning: Incorrect key file for table '/tmp/mysqltmp/#sql_6fb4_0.MYI'; try to repair it query: SELECT DISTINCT n.nid, n.vid, n.title, n.type, n.created, nr.body, ng.*, f.* FROM node n INNER JOIN node_revisions nr ON n.vid = nr.vid INNER JOIN node_galleries ng ON n.nid = ng.nid INNER JOIN files f ON ng.fid = f.fid INNER JOIN 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 ( n.nid IN (SELECT g.nid FROM node_galleries g WHERE g.gid = 195) AND n.status = 1 )ORDER BY ng.weight, ng.nid LIMIT 0, 20 in /home/content/12/13956012/html/sites/all/modules/node_gallery/ on line 135.