warning: implode() [function.implode]: Bad arguments. in /xxx/drupal/sites/all/modules/private_nodes/private_nodes.module on line 350.
user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')) OR n.uid=2)) AND ( n.promote = 1 AND n.status = 1 )' at line 1 query: pager_query SELECT COUNT(*) FROM node n LEFT JOIN i18n_node i18n ON n.nid = i18n.nid LEFT OUTER JOIN private_nodes pn ON pn.nid = n.nid WHERE (i18n.language ='en' OR i18n.language ='' OR i18n.language IS NULL) AND ((pn.nid is null OR (pn.level=1 AND n.uid IN ()) OR n.uid=2)) AND ( n.promote = 1 AND n.status = 1 ) in /xxx/drupal/includes/database.mysql.inc on line 172.
user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')) OR n.uid=2)) AND ( n.promote = 1 AND n.status = 1 ) ORDER BY n.sticky DESC, ' at line 1 query: pager_query SELECT DISTINCT(n.nid), n.sticky, n.created FROM node n LEFT JOIN i18n_node i18n ON n.nid = i18n.nid LEFT OUTER JOIN private_nodes pn ON pn.nid = n.nid WHERE (i18n.language ='en' OR i18n.language ='' OR i18n.language IS NULL) AND ((pn.nid is null OR (pn.level=1 AND n.uid IN ()) OR n.uid=2)) AND ( n.promote = 1 AND n.status = 1 ) ORDER BY n.sticky DESC, n.created DESC LIMIT 0, 10 in /Users/ddp/Sites/drupal/includes/database.mysql.inc on line 172.
warning: implode() [function.implode]: Bad arguments. in /xxx/drupal/sites/all/modules/private_nodes/private_nodes.module on line 350.
user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')) OR n.uid=2)) AND ( n.status = 1 AND n.type = 'quotes' AND q.promote = 1 AND' at line 1 query: quotes_get_quote SELECT COUNT(*) FROM quotes q INNER JOIN node n ON n.vid = q.vid LEFT JOIN i18n_node i18n ON n.nid = i18n.nid LEFT OUTER JOIN private_nodes pn ON pn.nid = n.nid WHERE (i18n.language ='en' OR i18n.language ='' OR i18n.language IS NULL) AND ((pn.nid is null OR (pn.level=1 AND n.uid IN ()) OR n.uid=2)) AND ( n.status = 1 AND n.type = 'quotes' AND q.promote = 1 AND 1) in /xxx/drupal/includes/database.mysql.inc on line 172.
warning: implode() [function.implode]: Bad arguments. in /xxx/drupal/sites/all/modules/private_nodes/private_nodes.module on line 350.
user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')) OR n.uid=2)) AND ( n.type = 'blog' AND n.status = 1 ) ORDER BY n.created DES' at line 1 query: blog_block SELECT DISTINCT(n.nid), n.title, n.created FROM node n LEFT JOIN i18n_node i18n ON n.nid = i18n.nid LEFT OUTER JOIN private_nodes pn ON pn.nid = n.nid WHERE (i18n.language ='en' OR i18n.language ='' OR i18n.language IS NULL) AND ((pn.nid is null OR (pn.level=1 AND n.uid IN ()) OR n.uid=2)) AND ( n.type = 'blog' AND n.status = 1 ) ORDER BY n.created DESC LIMIT 0, 10 in /xxx/drupal/includes/database.mysql.inc on line 172.
warning: implode() [function.implode]: Bad arguments. in /xxx/drupal/sites/all/modules/private_nodes/private_nodes.module on line 350.
user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')) OR n.uid=2)) AND ( n.status = 1 AND p.active = 1)' at line 1 query: poll_block SELECT MAX(n.created) FROM node n INNER JOIN poll p ON p.nid = n.nid LEFT JOIN i18n_node i18n ON n.nid = i18n.nid LEFT OUTER JOIN private_nodes pn ON pn.nid = n.nid WHERE (i18n.language ='en' OR i18n.language ='' OR i18n.language IS NULL) AND ((pn.nid is null OR (pn.level=1 AND n.uid IN ()) OR n.uid=2)) AND ( n.status = 1 AND p.active = 1) in /xxx/drupal/includes/database.mysql.inc on line 172.

drupal 5.2,php 5.2.2,apache 1.3.33, mysql 5.0.41 intel

deactivating private node makes the error message go away. is private node not compatible with i18n?

Comments

ben_scott’s picture

Status: Active » Fixed

Hi dsp1

Sorry about that, I've now fixed this bug (which wasn't due to i18n - it is compatible). I've committed the updated version to CVS.

Cheers, Ben

Anonymous’s picture

Status: Fixed » Closed (fixed)