I tried Translation Overview module. On pages of a language overview as
admin/content/translation_overview/zh-hans get error

    * user warning: Table node' doesn't exist query: SELECT COUNT(*) FROM node n LEFT JOIN node nt ON n.nid = nt.tnid AND nt.language = 'ru' WHERE n.type IN ('ru') AND ((n.nid = n.tnid OR n.tnid = 0) AND (n.language != '')) in /public_html/db/sites/all/modules/i18n/i18noverview/i18noverview.module on line 166.
    * user warning: Table 'node' doesn't exist query: SELECT n.nid, n.title, n.type, n.language, n.status, n.created, n.tnid, nt.nid AS t_nid, CASE WHEN n.language = 'ru' THEN '4 LOCAL' WHEN nt.translate = 0 THEN '3 DONE' WHEN nt.tnid IS NULL THEN '2 MISS' WHEN n.nid = n.tnid THEN '1 OLD' ELSE 'unknown' END AS translation_status, 0 AS i18n FROM node n LEFT JOIN node nt ON n.nid = nt.tnid AND nt.language = 'ru' WHERE n.type IN ('firm') AND ((n.nid = n.tnid OR n.tnid = 0) AND (n.language != '')) ORDER BY translation_status ASC LIMIT 0, 30 in /public_html/db/sites/all/modules/i18n/i18noverview/i18noverview.module on line 166.

This errors only for site with many languages and database prefix.

Change all table name in queries from node to {node}

CommentFileSizeAuthor
#1 i18noverview_252980.patch1.05 KBdrewish

Comments

drewish’s picture

Status: Active » Reviewed & tested by the community
StatusFileSize
new1.05 KB

good catch.

drewish’s picture

Status: Reviewed & tested by the community » Fixed

oh, i've got commit access...

Anonymous’s picture

Status: Fixed » Closed (fixed)

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