To correct "unknown table" errors when a table prefix is used, table names should be enclosed in curly brackets:

* Line 373: term_data -> {term_data}
* Line 374: term_data -> {term_data}
* Line 375: term_hierarchy -> {term_hierarchy}
* Line 376: term_image -> {term_image}
* Line 409: term_node -> {term_node}
* Line 415: term_node -> {term_node}
* Line 463: node -> {node}

Comments

phayes’s picture

Status: Active » Fixed

fixed - thanks for noticing.

tito.brasolin’s picture

sorry Patrick, it looks like two brackets are still missing... Line 409
$output .= "SELECT DISTINCT term_node.nid, tid as tid".$layer." from {term_node} ";
should be
$output .= "SELECT DISTINCT {term_node}.nid, tid as tid".$layer." from {term_node} ";

many thanks

phayes’s picture

Status: Fixed » Active
phayes’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.