Cannot load any other language using the configuration on Mautic admin. Any time I try I get an error message:
mautic.core.could.not.set.language
This is happening at a clean install, it pops back to US language, no other language can be activated, can anybody help me out please?
Thanks!
Cannot load any other language using the configuration on Mautic admin. Any time I try I get an error message:
mautic.core.could.not.set.language
This is happening at a clean install, it pops back to US language, no other language can be activated, can anybody help me out please?
Thanks!
Do you by chance use PHP 5.5 with open_basedir enabled?
Yes indeed, my server settings has “enable_dl” activated
This is the text belonging to this setting:
This directive is really only useful in the Apache module version of PHP. You can turn dynamic loading of PHP extensions with dl() on and off per virtual server or per directory. The main reason for turning dynamic loading off is security. With dynamic loading, it is possible to ignore all open_basedir restrictions.
I don’t think the enable_dl has something to do with it. Do you have a chance to upgrade to PHP 5.6? PHP 5.5 seems to have a bug preventing the redirects while downloading the language file.
I have disabled the open_basedir protection, see server message:
Disabling php open_basedir protection for smhconnect.nl
Rebuilding the Apache configuration…
Done!
Restarting the Apache server…
Done!
This didn’t make a change, I use PHP version 5.5.31, I will update it and see if that makes a difference.
Thanks for your advise!!
The cause and a potential solution was answered here: https://www.mautic.org/community/index.php/587-problem-setting-language/p1#p7927
I submitted this PR which should help with it in the future. Tests are welcome: https://github.com/mautic/mautic/pull/1496