Hi,
I moved to a different host now, a VPS, and I got something like this, while trying to install CMS MS 2.1.1:
Warning: setlocale(): Specified locale name is too long in phar:///home/klient.dhosting.pl/webaktywni/webaktywni.pl/public_html/cmsms-2.1.1-install.php/lib/classes/class.langtools.php on line 224
Warning: Cannot modify header information - headers already sent by (output started at phar:///home/klient.dhosting.pl/webaktywni/webaktywni.pl/public_html/cmsms-2.1.1-install.php/lib/classes/class.langtools.php:224) in phar:///home/klient.dhosting.pl/webaktywni/webaktywni.pl/public_html/cmsms-2.1.1-install.php/app/class.cms_install.php on line 306
All requirements met and the host admin told me that:
The applications (CMS MS) is trying to set locale.
Unfortunately, the author of CMS MS didn't think that those settings would be longer on the host, like:
LANG=pl_PL.UTF-8
LC_CTYPE="pl_PL.UTF-8"
LC_NUMERIC="pl_PL.UTF-8"
LC_TIME="pl_PL.UTF-8"
LC_COLLATE="pl_PL.UTF-8"
LC_MONETARY="pl_PL.UTF-8"
LC_MESSAGES="pl_PL.UTF-8"
LC_PAPER="pl_PL.UTF-8"
LC_NAME="pl_PL.UTF-8"
LC_ADDRESS="pl_PL.UTF-8"
LC_TELEPHONE="pl_PL.UTF-8"
LC_MEASUREMENT="pl_PL.UTF-8"
LC_IDENTIFICATION="pl_PL.UTF-8"
LC_ALL=
And there's a possible solution here:
http://stackoverflow.com/questions/1611 ... s-too-long
I'm not a programmer, can you guys comment on that?
PHP 5.6.4, generally after show errors turned off the installation went through but I don't know if it's something really bad with this locale stuff : )
Locale name too long
Re: Locale name too long
I am getting the same error; and it looks like it's keeping me from accessing the database during a fresh install of 2.1.2 using the phar.
Re: Locale name too long
Scratch that. I do get the warning message, but the database issue was a dumb typo in the db name I kept overlooking. Works as designed, and the warning seems to not have any influence on the correct operation of the software.