Hi everyone. I have found an error that maybe @stephenwaite @luisuriarte @sjpadgett and @brady.miller can solve.
After upgrading to 6.1 (1) I wanted to use the language manager and got the following error (I have the interface in Spanish(Latin America)):
Query Error
ERROR: query failed: SELECT lc.cons_id, lc.constant_name, ld.def_id, ld.definition, ld.lang_id FROM lang_definitions AS ld RIGHT JOIN ( lang_constants AS lc, lang_languages AS ll ) ON ( lc.cons_id = ld.cons_id AND ll.lang_id = ld.lang_id ) WHERE lc.constant_name COLLATE utf8mb4_general_ci LIKE ? AND ( ll.lang_id = 1 OR ll.lang_id=? ) ORDER BY lc.constant_name, BINARY lc.constant_name, ld.lang_id COLLATE utf8mb4_general_ci
Error: COLLATION ‘utf8mb4_general_ci’ is not valid for CHARACTER SET ‘latin1’
/var/www/localhost/htdocs/openemr/interface/language/lang_definition.php at 216:sqlStatement
/var/www/localhost/htdocs/openemr/interface/language/language.php at 96:require_once(/var/www/localhost/htdocs/openemr/interface/language/lang_definition.php)
This has happened to me in 2 installations with xampp (PHP 7.4) in Win 10.
The same error i got in the following official demo:
https://demo.openemr.io/openemr/interface/main/tabs/main.php?token_main=QeUmnwOBaDWMYQUsjFB3ZT1mv2IfpXc2dUdsmQw8
For now I have solved it, renaming lang_definition.php and lenguaje.php and copying instead those of version 6.0.0(4).
thanks for everyone’s effort