When I access an OJS installation that has more than one language installed, I can switch languages correctly for the first time, but after switching for all the enabled languages, it becames a time that is not possible anymore to switch languages, it becomes stucked in one language and switching does not work anymore.
This issue occurs in a 3.4.0.4 and 3.3.0.17 installations.
After updating to OJS 3.4.0.8, I still have the same problem.
After I switched language to times, the switching is not working anymore.
We cant find any problem with the server installation. https://publications.sccl.se/sccl
The most likely cause I can think of for this is conflicting cookies. Check your browser for two cookies called OJSSID (or whatever is configured in your config.inc.php in the session_cookie_name setting). If there are two at the current domain, and they are competing for your browser, it might be the cause. The usual cause for this is that OJS didn’t reliably/consistently detect your cookie path; you can work around this by setting an explicit value in session_cookie_path in config.inc.php.
Regards,
Alec Smecher
Public Knowledge Project Team
If you only have one PKP application installed in the domain, then / should do it, but I would also suggest changing the cookie name from OJSSID to something else (e.g. OJSSID2) in order to avoid collisions with any other pre-existing cookies. This will force everyone to log in again in the process.
Before doing any of this, though, I’d suggest checking to make sure that there are two competing cookies in a case where the language switcher isn’t working.
Regards,
Alec Smecher
Public Knowledge Project Team