Compatibility with i18l module?

Blackguard - June 24, 2008 - 18:54
Project:Site notes
Version:5.x-1.3
Component:Code
Category:bug report
Priority:normal
Assigned:NancyDru
Status:closed
Description

I get this SQL error in the sitenotes display page :

    * user warning: Column 'status' in where clause is ambiguous query: SELECT COUNT(*) FROM node n LEFT JOIN i18n_node i18n ON n.nid = i18n.nid WHERE (i18n.language ='en' OR i18n.language ='' OR i18n.language IS NULL) AND ( type='sitenotes' AND status=1 ) in /includes/database.mysql.inc on line 172.

    * user warning: Column 'status' in where clause is ambiguous query: SELECT n.nid FROM node n LEFT JOIN i18n_node i18n ON n.nid = i18n.nid WHERE (i18n.language ='en' OR i18n.language ='' OR i18n.language IS NULL) AND ( type='sitenotes' AND status=1 ) ORDER BY n.sticky DESC, n.created DESC LIMIT 0, 10 in /includes/database.mysql.inc on line 172.

#1

NancyDru - June 24, 2008 - 21:22

Well, this shouldn't be hard to fix, but if you upgrade to MySql 5 (which is needed for D7), you wouldn't see this.

#2

NancyDru - June 24, 2008 - 21:27
Assigned to:Anonymous» NancyDru
Status:active» fixed

Committed to both -dev releases.

#3

Blackguard - June 26, 2008 - 01:09

Thanks for the update. The server running this site is running Mysql5. But since posting I had the same error message show up in another context which did not involve sitenotes. I'll keep looking!

#4

Anonymous (not verified) - July 10, 2008 - 06:24
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.