"The language you specified is not valid." when editing preferences

Get help with installation and running phpBB 3.3.x here. Please do not post bug reports, feature requests, or extension related questions here.
redsquirrel
Registered User
Posts: 44
Joined: Wed Aug 20, 2014 3:54 am

"The language you specified is not valid." when editing preferences

Post by redsquirrel »

I have an issue with user control panel when editing preferences, it says the language specified is not valid, but there is also not an option for language. This may possibly be something I did wrong somewhere down the line in dev but wondering if anyone has an idea of what I can check to see what would be causing this. I only have British English as a language pack so that should just be the default. I don't care so much about that part but this error makes it so people can't change their time zone setting.
Last edited by Mick on Fri Sep 27, 2024 6:49 am, edited 1 time in total.
Reason: Solved.
rxu
Extensions Development Team
Posts: 3900
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation

Re: "The language you specified is not valid." when editing preferences

Post by rxu »

This may happen when the lang iso entry selected in UCP doesn't exist in phpbb_lang table for some reason.
redsquirrel
Registered User
Posts: 44
Joined: Wed Aug 20, 2014 3:54 am

Re: "The language you specified is not valid." when editing preferences

Post by redsquirrel »

Thanks turns out it was exactly that! They were all blank. When I imported the users I never even thought of that field. I set all users to 'en' in dev and it fixed the issue so will do it in prod once I check things further.

Return to “[3.3.x] Support Forum”