Current time: 07-04-2009, 01:15 PM Hello There, Guest! (LoginRegister)


 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[F] Error with editing a user [C-Michael83]
09-17-2008, 12:51 PM (This post was last modified: 10-28-2008 01:45 PM by Michael S..)
Post: #1
[F] Error with editing a user [C-Michael83]
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) :
Code:
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.


Attached File(s) Thumbnail(s)
           
Visit this user's website Find all posts by this user
09-17-2008, 01:16 PM
Post: #2
RE: Error with editing a user
This could be due to a language file update...

[Image: destroyerjf8.jpg]

Give us your feedback about MyBB in this thread and become listed on the MyBB website.
Visit this user's website Find all posts by this user
09-17-2008, 03:05 PM
Post: #3
RE: Error with editing a user
(09-17-2008 01:16 PM)destroyer Wrote:  This could be due to a language file update...
All language file are updated...
Visit this user's website Find all posts by this user
09-17-2008, 10:09 PM
Post: #4
RE: Error with editing a user
Possible fix: Open the file admin/modules/user/users.php and search for:
PHP Code:
$languages array_merge(array('0' => $lang->use_default), $lang->get_languages()); 
Replace with:
PHP Code:
$languages array_merge(array('' => $lang->use_default), $lang->get_languages()); 

Greets,
Michael
-------------
German MyBB-Site
MyBBoard.de
Get the german languagepack here
Visit this user's website Find all posts by this user
09-17-2008, 11:06 PM
Post: #5
RE: [F] Error with editing a user
Yes, It's OK with that :
PHP Code:
$languages array_merge(array('' => $lang->use_default), $lang->get_languages()); 

Thanks !
Visit this user's website Find all posts by this user
09-18-2008, 01:18 PM
Post: #6
RE: [F] Error with editing a user
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

[Image: ryangordon.png]
My Blog - My Mods - My Site
Visit this user's website Find all posts by this user


Forum Jump: