Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[F] Error with editing a user [C-Michael83]
#1
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.


Attached Files Thumbnail(s)
           
#2
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.
#3
(2008-09-17, 01:16 PM)destroyer Wrote: This could be due to a language file update...
All language file are updated...
#4
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()); 
Greets,
Michael
-------------
[Image: donation_drive_sig.png]
#5
Yes, It's OK with that :
$languages = array_merge(array('' => $lang->use_default), $lang->get_languages()); 

Thanks !
#6
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


Forum Jump:


Users browsing this thread: 1 Guest(s)