Roundcube Community Forum

Third Party Contributions => API Based Plugins => Topic started by: christias on January 31, 2011, 12:24:03 PM

Title: lang_sel plugin strange behavior
Post by: christias on January 31, 2011, 12:24:03 PM
Hello,

I am trying the lang_sel plugin on a 0.5 roundcube installation and I get following strange behavior:

0. bare minimum installation, no other plugins, no funny config options.
1. login without changing language is successful.
2. when changing language in the login screen I am redirected to page like http://my.hostname.here/?_action=plugin.lang_sel&_lang_sel=el_GR and the language is properly changed.
3. trying to login after that leads back to the login page (http://my.hostname.here/?_task=login).
4. but the login is actually successful because if I try to manually visit the page without any arguments (http://my.hostname.here/) I end up in message list page of roundcube.

Any ideas?
Panagiotis
Title: lang_sel plugin strange behavior
Post by: christias on January 31, 2011, 12:35:09 PM
A quick update, just tried the lang_sel plugin in a couple older roundcube installations (0.3.1 and 0.4-beta) and it worked correctly. Is it a 0.5 incompatibility?
Title: lang_sel plugin strange behavior
Post by: rosali on February 01, 2011, 12:10:11 AM
This is a RC 0.5 issue.

#1487686 (Logging in redirects to login form) ? Roundcube Webmail (http://trac.roundcube.net/ticket/1487686)

Patching index.php as shown in ticket's attachment should solve the issue.
Title: lang_sel plugin strange behavior
Post by: christias on February 01, 2011, 03:13:56 AM
Thank you!