Hi,
I received this error right after installing modules. and drupal still shows it on every page. would you please help me?
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 'LEFT JOIN common_i18n_node i18n ON n.nid = i18n.nid WHERE (i18n. query: select linked_seo from common_seo_checklist where id=1 LEFT JOIN common_i18n_node i18n ON n.nid = i18n.nid WHERE (i18n.language ='en' OR i18n.language ='' OR i18n.language IS NULL) in D:\Developing\Projects\Web\Sites\Ace Rainbow\site\weblog\includes\database.mysql.inc on line 172.
Comments
Comment #1
sinasalek commentedit's a conflict between SEO and i18n module. and i don't know how to fix it. i had to disable SEO module for getting rid of this error.
Comment #2
jose reyero commentedThis looks like the SEO module is not making a good use of db_rewrite_sql()
It should use a table alias, 'n' by default if it is a table containing nid field, or pass other parameters as table as primary table and primary key if they're not node queries....
Moving this to SEO Checklist (?) module.
Comment #3
wayland76 commentedActually, I don't think "n" is a very good alias. I've had problems before with two different modules that wanted to use the same alias.
Comment #4
ben finklea commentedAny help getting this resolved would be much appreciated. Anyone want to create a patch for this?
Comment #5
eclipsegc commentedChanging module version.
Comment #6
ben finklea commentedFixed in 2.0.