this code in in voting_actions.inc in the distinct query doesn't handle the DB prefix.

$results = db_query("SELECT DISTINCT %s FROM {votingapi_%s} WHERE content_type = 'node'", $field, $table);

Comments

regli’s picture

Correction.

The problem is actually in the cre "node_recommendation.module".

the code:

$db_result = db_query("SELECT DISTINCT tag from votingapi_vote");

should actually be

$db_result = db_query("SELECT DISTINCT tag from {votingapi_vote}");

frjo’s picture

Project: Voting Actions » Content Recommendation Engine
Version: 5.x-2.0b2 » 5.x-1.x-dev