I just installed and configured the most recent dev version of the Localizer module. The first time I clicked on the translations tab for an existing page, I got this error message:
user warning: Unknown column 'es' in 'where clause' query: SELECT * FROM localizernode WHERE pid=4 AND locale=es in C:\servers\xampp\htdocs\site\includes\database.mysqli.inc on line 151.
I made one small change to line 109 of the localizernode.module file and this error went away. I added single quotes around the $lang variable at the end of the line, so it now looks like this:
$localizernode=localizernode_findone('pid=' . $node->localizernode_pid . " AND locale='$lang'");
That fixes it for me, but you might have a better idea if that is the right fix to make. Thanks!
Comments
Comment #1
Roberto Gerola commentedIt should be fixed in the last cvs version now.
Thanks
Comment #2
Wuk commentedI have seen same error before uploading files to the latest version.
I think that this problem is solved.
Comment #3
(not verified) commented