At logOUT as an admin I get this report:

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 'AND locale='nl'' at line 1 query: SELECT * FROM localizernode WHERE pid= AND locale='nl' in /var/www/websites/k/koopman-works.nl/www/includes/database.mysql.inc on line 172.

When re-login as any user the site functions as expected with translated content when using the languageswitch in the menu.

But an anonymous user gets this faulty behavior of the site when using the languageswitch in the menu:


"
Geen toegang
U heeft niet voldoende toegangsrechten voor deze pagina.
"

Is the former warning related to the latter fault? And how can I get the language switch to work for anonymouw users.

Comments

Anonymous’s picture

When re-login as any user the site functions as expected with translated content when using the languageswitch in the menu.
is not correct, only admin login produces the desired results,
The content that does not switch because of the rights issue was translated and assigned to a language as a logged on admin.
Cheers, Henk

edinjapan’s picture

Within your Drupal site, login as administrator and navigate to Home › Administer › User management. Scroll down to "localizer module" and make sure you have given permission to necessary roles to access Localizer.

By the way, the developer of Localizer has asked that you please post you issues with Localizer at http://drupal.org/project/issues/localizer. For any future issues, please post there.

Best regards,

EdInJapan

Anonymous’s picture

Thanks, the warning still exists but the access denied is solved.

edinjapan’s picture

There were some minor sql related bugs that have been fixed which may solve your problem. I would suggest that you try the latest dev version for Localizer 1.x. (As of this writing, in the readme it will say 1.9.1 at the top.)