Forum Moderators: open
user warning: Unknown column 'u.nid' in 'on clause' query: SELECT DISTINCT(u.uid), u.name FROM users u INNER JOIN node n ON u.uid = n.uid INNER JOIN term_node tn ON n.nid = tn.nid INNER JOIN term_data td ON td.tid = tn.tid INNER JOIN node_access na ON na.nid = u.nid WHERE (na.grant_view >= 1 AND ((na.gid = -1 AND na.realm = 'all') OR (na.gid = 0 AND na.realm = 'cac_lite') OR (na.gid = 0 AND na.realm = 'tac_lite') OR (na.gid = 1 AND na.realm = 'term_access'))) AND ( n.type = 'image' AND n.status = 1 AND td.vid = 50 ) ORDER BY u.name in /home/hostwest/public_html/includes/database.mysql.inc on line 172.
/**
* Fetch one result row from the previous query as an array.
******************************
* @param $result
* A database query result resource, as returned from db_query().
* @return
* An associative array representing the next row of the result. The keys of
* this object are the names of the table fields selected by the query, and
* the values are the field values for this result row.
*/
function db_fetch_array($result) {
if ($result) {
return mysqli_fetch_array($result, MYSQLI_ASSOC);
}
} Could this be a missing module or a disabled module?