Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Member profile goes German on another server


Go to End


3 Posts   1232 Views

Avatar
Bruce B

Community Member, 164 Posts

16 January 2015 at 1:38pm

I have Member Profile running successfully on my local machine, including adding additional fields. I then transferred all the files and the database to a demo server. Doing Dev/build on the new server caused Member Profile to attempt to add a whole lot of new fields, many with german-sounding names: e.g..
Field Member.geburtstag: created as varchar(20) character set utf8 collate utf8_general_ci
The build ultimately failed because of a duplicate Member:ADDRESS field. But why is this happening? Normally with the same files and same data, I would expect dev/build to do nothing.

For what its worth, I have "i18n::set_locale('en_GB');" in my _config.php file.

cheers
Bruce

Avatar
helenclarko

Community Member, 166 Posts

16 January 2015 at 4:53pm

Hi Bruce,

If this is a different server, what is set in your php.ini?
Do you have access to view the language set in your servers php.ini file?

Regards,
-helenclarko

Avatar
Bruce B

Community Member, 164 Posts

30 January 2015 at 1:38pm

G'day again Helen!
I can't see the php.ini file on the server but I can run phpinfo(). The only 'language' entries show en-us except for mbstring.language which is 'neutral'. phpinfo() on my machine shows the same values.
The only difference I can see is that my local machine is running php 5.5.14 while the test server runs 5.4.33.

cheers
Bruce