MyBB Community Forums
[F] Error with editing a user [C-Michael83] - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Community Archive (https://community.mybb.com/forum-106.html)
+--- Forum: Archived Forums (https://community.mybb.com/forum-143.html)
+---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html)
+----- Forum: Archived Bug Reports (https://community.mybb.com/forum-74.html)
+------ Forum: MyBB 1.4.2 (https://community.mybb.com/forum-100.html)
+------ Thread: [F] Error with editing a user [C-Michael83] (/thread-37824.html)



[F] Error with editing a user [C-Michael83] - xavatar - 2008-09-17

Hello

Board : 1.4.2 (upgrade 1.4.1 => 1.4.2)
Default language board : French
Default language Admin CP : English

When i want edit a user with Board Language is "Use default" (screen 1), i have this error (screen 2) :
The following errors were encountered:

    * The language you selected does not exist. Please select an existing language.

If i choose "English" or "French" (screen 3) and i save, it's OK.


RE: Error with editing a user - destroyer - 2008-09-17

This could be due to a language file update...


RE: Error with editing a user - xavatar - 2008-09-17

(2008-09-17, 01:16 PM)destroyer Wrote: This could be due to a language file update...
All language file are updated...


RE: Error with editing a user - Michael S. - 2008-09-17

Possible fix: Open the file admin/modules/user/users.php and search for:
$languages = array_merge(array('0' => $lang->use_default), $lang->get_languages()); 
Replace with:
$languages = array_merge(array('' => $lang->use_default), $lang->get_languages()); 



RE: [F] Error with editing a user - xavatar - 2008-09-17

Yes, It's OK with that :
$languages = array_merge(array('' => $lang->use_default), $lang->get_languages()); 

Thanks !


RE: [F] Error with editing a user - Ryan Gordon - 2008-09-18

Thank you for your bug report.

This bug has been fixed in our internal code repository. Please note that the problem will not be fixed here until these forums are updated.

With regards,
MyBB Group