Skip to main content
Moodle plugins directory: green
Your Moodle version
Theme with clean simple code, in order to facilitate the learning of those who want to build your own themes
Contribute translations for English - United States (en_us)
View other contributions
Please login to view contributors details and/or to contact them
Mon, Nov 26, 2012, 3:52 AM
I tried to translate locally your green theme plugin, but Moodle gave me a database writing error:
with the following debug info:
line 427 of \lib\dml\moodle_database.php: dml_write_exception thrown
line 1107 of \lib\dml\mysqli_native_moodle_database.php: call to moodle_database->query_end()
line 1149 of \lib\dml\mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->insert_record_raw()
line 190 of \admin\tool\customlang\locallib.php: call to mysqli_native_moodle_database->insert_record()
line 60 of \admin\tool\customlang\index.php: call to tool_customlang_utils::checkout()
When I removed the green theme plugin, the error disappeared.
I asked David Mudrak (head programmer at Moodle translation engine) for help at
Thanks in advance for your help.
Thu, Dec 13, 2012, 12:18 AM
Hi,David Mudrak suggested: "The one malicious thing might be the string['choosereadme'] in the English pack. Can you try to replace it with an empty string and see how it goes then? Please do not forget to purge local caches after you modify the string file and only then try to checkout strings."
I did it and it worked !
Can you please replace the [´choosereadme´] string with an empty string ?
Thanks in advance
Please login to post comments