help

help

wót 康 陈 -
Anzahl Antworten: 0

I am upgrading a module from 1.9 to 2.0 ,but I come accross an error  , who can help me?

error:Coding error detected, it must be fixed by a programmer: MFORMS: Coding error, text formats are handled only by new editor element.

Stack trace:
  • line 26 of \lib\form\format.php: coding_exception thrown
  • line 566 of \lib\pear\HTML\QuickForm.php: call to MoodleQuickForm_format->MoodleQuickForm_format()
  • line 602 of \lib\pear\HTML\QuickForm.php: call to HTML_QuickForm->_loadElement()
  • line 29 of \mod\programming\mod_form.php: call to HTML_QuickForm->addElement()
  • line 164 of \lib\formslib.php: call to mod_programming_mod_form->definition()
  • line 71 of \course\moodleform_mod.php: call to moodleform->moodleform()
  • line 256 of \course\modedit.php: call to moodleform_mod->moodleform_mod()
Output buffer: <div class="notifytiny">Help title string does not exist: [writing, richtext]<ul style="text-align: left"><li>line 434 of \lib\outputcomponents.php: call to debugging()</li><li>line 1641 of \lib\outputrenderers.php: call to help_icon->diag_strings()</li><li>line 1601 of \lib\formslib.php: call to core_renderer->help_icon()</li><li>line 28 of \mod\programming\mod_form.php: call to MoodleQuickForm->addHelpButton()</li><li>line 164 of \lib\formslib.php: call to mod_programming_mod_form->definition()</li><li>line 71 of \course\moodleform_mod.php: call to moodleform->moodleform()</li><li>line 256 of \course\modedit.php: call to moodleform_mod->moodleform_mod()</li></ul></div><div class="notifytiny">Help contents string does not exist: [writing_help, richtext]<ul style="text-align: left"><li>line 437 of \lib\outputcomponents.php: call to debugging()</li><li>line 1641 of \lib\outputrenderers.php: call to help_icon->diag_strings()</li><li>line 1601 of \lib\formslib.php: call to core_renderer->help_icon()</li><li>line 28 of \mod\programming\mod_form.php: call to MoodleQuickForm->addHelpButton()</li><li>line 164 of \lib\formslib.php: call to mod_programming_mod_form->definition()</li><li>line 71 of \course\moodleform_mod.php: call to moodleform->moodleform()</li><li>line 256 of \course\modedit.php: call to moodleform_mod->moodleform_mod()</li></ul></div><div class="notifytiny">Invalid get_string() identifier: 'writing' or component 'richtext'. Perhaps you are missing $string['writing'] = ''; in mod/richtext/lang/en/richtext.php?<ul style="text-align: left"><li>line 6316 of \lib\moodlelib.php: call to debugging()</li><li>line 6908 of \lib\moodlelib.php: call to core_string_manager->get_string()</li><li>line 1661 of \lib\outputrenderers.php: call to get_string()</li><li>line 70 of \lib\outputrenderers.php: call to core_renderer->render_help_icon()</li><li>line 1647 of \lib\outputrenderers.php: call to renderer_base->render()</li><li>line 1601 of \lib\formslib.php: call to core_renderer->help_icon()</li><li>line 28 of \mod\programming\mod_form.php: call to MoodleQuickForm->addHelpButton()</li><li>line 164 of \lib\formslib.php: call to mod_programming_mod_form->definition()</li><li>line 71 of \course\moodleform_mod.php: call to moodleform->moodleform()</li><li>line 256 of \course\modedit.php: call to moodleform_mod->moodleform_mod()</li></ul></div>
Mittelwert:Useful (1)