-
Bug
-
Resolution: Fixed
-
Minor
-
2.0
-
None
-
MySQL
-
MOODLE_20_STABLE
-
MOODLE_20_STABLE
-
Easy
To reproduce:
- click on Language customization form the Admin > Language menu
- click "Check out strings into traslator"
- the following error appears:
Error reading from database
Debug info: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '* FROM mdl_customlang WHERE BINARY lang = 'en' AND componentid = 1 ORDER BY str' at line 1
SELECT stringid, * FROM mdl_customlang WHERE BINARY lang = ? AND componentid = ? ORDER BY stringid
[array (
0 => 'en',
1 => '1',
)]
Stack trace:
- line 391 of /lib/dml/moodle_database.php: dml_read_exception thrown
- line 732 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
- line 1078 of /lib/dml/moodle_database.php: call to mysqli_native_moodle_database->get_records_sql()
- line 1027 of /lib/dml/moodle_database.php: call to moodle_database->get_records_select()
- line 114 of /admin/report/customlang/locallib.php: call to moodle_database->get_records()
- line 43 of /admin/report/customlang/index.php: call to report_customlang_utils::checkout()
- will help resolve
-
MDL-21696 Implement the tool for translating Moodle on own site and for translation customization
-
- Closed
-