ZenphotoCMS Forum
PHP setlocale() failed, need help... - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: PHP setlocale() failed, need help... (/thread-6199.html)



PHP setlocale() failed, need help... - yichin - 2009-11-28

environment :
WinXP SP3
Appserv 2.5.9 / 2.5.10
zenphoto 1.2.6
running on localhost

problem :
PHP setlocale() failed
==============================================================
Warning!

Locale functionality is not implemented on your platform or the specified locale does not exist. Language translation may not work.
See the troubleshooting guide on zenphoto.org for details.
==============================================================

how to solve it?
thanks all...


PHP setlocale() failed, need help... - acrylian - 2009-11-28

As the error suggest you have to install or enable the server it on your server. Please read the troubeshooting guide about setlocale.


PHP setlocale() failed, need help... - yichin - 2009-11-29

how to install ?


PHP setlocale() failed, need help... - acrylian - 2009-11-29

You mean the locale stuff on the server? For that you have to ask you service provider.


PHP setlocale() failed, need help... - Yakumo - 2010-02-01

I have this same issue, though i had ignored it as it was only a warning

"Warning!

Locale functionality is not implemented on your platform or the specified locale does not exist. Language translation may not work.
See the troubleshooting guide on zenphoto.org for details."

I AM the service provider in this case as I'm trying to run zenphoto on a local windows dev box, php 5.3.1, apache 2.2, mysql

setlocal() appears to be built into PHP without requiring additional modules, though I have php_intl installed as well just in case (i've tried "en.UTF-8", "en_utf8" and later "en_us_utf8" set as default locale in php.ini)


PHP setlocale() failed, need help... - acrylian - 2010-02-01

As the warning says. If you don't need translations just ignore it. If you need it you need to enable or install it on your server. You might also read: http://www.zenphoto.org/2009/03/troubleshooting-zenphoto/#24