TeamPass
TeamPass copied to clipboard
Error when editing element
Bonjour à tous,
I have an issue when editing an element : Error: Malformed UTF-8 data Warning: Undefined array key "mbstring" in /var/www/html/TeamPass-3.0.8/includes/libraries/anti-xss-master/src/voku/helper/UTF8.php on line 5582 (line is " if (self::$SUPPORT['mbstring'] === false) ")
Is that related to the utf8mb4_general_ci collation of the db ? utf8mb3_general_ci is deprecated in MariaDB
Thanks for your answers
hello, i am have this problem too.
I have the same thing !
same
when i comment out the if-part to analyze it, problem persists and nothing happens. after editing and click 'submit' i can see 2 POST-requests in access-log of apache but no update-query in mysql-log with 'general_log' enabled
i think the error has nothing todo with the message about mbstring
mbstring-error no longer shown in version 3.0.9 commit c03c9b597899394d1df52b1b05e830065d2f8c76 but problem persists
still no luck with commit 6f22a379a9bc004e0285797a1043a4c08fea6006
problem makes teampass unusable and still persists for more than 2 month please fix it
I beleive that it is not related to a code issue but more to something with the database. Could there be a inconsistency with collation type or whatever? We need to get some error logs somewhere as it is only happening for some users.
I beleive that it is not related to a code issue but more to something with the database. Could there be a inconsistency with collation type or whatever? We need to get some error logs somewhere as it is only happening for some users.
Same errors after upgrading to 3.9.0 There are no such errors in 3.8.0 I think they are related to non-english characters in user properties. I have LDAP users with russian names.
Same error on a 3.0.6 clean instalation with just local users to test:
If a local user select Spanish language, that user can´t do many actions like logout, see or edit his data, change views, ... It´s impossible to recover user after this.
The only error message showed is "PHP Warning: Undefined array key "mbstring" in /opt/httpd-2.4.58/htdocs/teampass306/includes/libraries/anti-xss-master/src/voku/helper/UTF8.php on line 5582"
If user has English language this problem does not exist for him.
What is more, for one affected user by this problem, if I change his user_language directly on database from spanish to english, the user is functional again.