Плагин Questionnaire в Moodle 2.6 ошибка установки

Плагин Questionnaire в Moodle 2.6 ошибка установки

от Ivan Mironov -
Количество ответов: 5

Всем здравствуйте!

Такая проблема:

Ставлю плагин Questionnaire. moodle 2.6 , версия плагина для 2.6, папку плагина складываю в /mod, права на чтение даю и все такое(сервер на debian). До этого ставил плагины Skype и BigBlueButton без проблем. При обновлении в "Администрирование-уведомления" написано:

modulename /mod/questionnaire Дополнение   2014010301
  • Moodle 2013111800
Будет установлен

Жму "обновить" - получаю:

Плагин «mod_questionnaire» дефектный или устаревший. Продолжение невозможно.

Подробнее об этой ошибке

Debug info: Missing mandatory en language pack.
Error code: detectedbrokenplugin
Stack trace:
  • line 606 of /lib/upgradelib.php: plugin_defective_exception thrown
  • line 395 of /lib/upgradelib.php: call to upgrade_plugins_modules()
  • line 1580 of /lib/upgradelib.php: call to upgrade_plugins()
  • line 431 of /admin/index.php: call to upgrade_noncore()

Расширенный лог:

Invalid get_string() identifier: 'modulename' or component 'mod_questionnaire'. Perhaps you are missing $string['modulename'] = ''; in mod/questionnaire/lang/en/questionnaire.php?

  • line 293 of /lib/classes/string_manager_standard.php: call to debugging()
  • line 6828 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()
  • line 64 of /lib/classes/plugininfo/mod.php: call to get_string()
  • line 131 of /lib/classes/plugininfo/base.php: call to core\plugininfo\mod->init_display_name()
  • line 88 of /lib/classes/plugininfo/base.php: call to core\plugininfo\base::make_plugin_instance()
  • line 368 of /lib/classes/plugin_manager.php: call to core\plugininfo\base::get_plugins()
  • line 33 of /admin/settings/plugins.php: call to core_plugin_manager->get_plugins_of_type()
  • line 6389 of /lib/adminlib.php: call to require()
  • line 86 of /blocks/admin_bookmarks/block_admin_bookmarks.php: call to admin_get_root()
  • line 296 of /blocks/moodleblock.class.php: call to block_admin_bookmarks->get_content()
  • line 238 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
  • line 956 of /lib/blocklib.php: call to block_base->get_content_for_output()
  • line 1008 of /lib/blocklib.php: call to block_manager->create_block_contents()
  • line 353 of /lib/blocklib.php: call to block_manager->ensure_content_created()
  • line 6 of /theme/canvas/layout/general.php: call to block_manager->region_has_content()
  • line 866 of /lib/outputrenderers.php: call to include()
  • line 796 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
  • line 2559 of /lib/outputrenderers.php: call to core_renderer->header()
  • line 362 of /lib/setuplib.php: call to core_renderer->fatal_error()
  • line 1158 of /lib/upgradelib.php: call to default_exception_handler()
  • line 1592 of /lib/upgradelib.php: call to upgrade_handle_exception()
  • line 431 of /admin/index.php: call to upgrade_noncore()

questionnaire.php во вложении

Спасибо заранее.

В ответ на Ivan Mironov

Re: Плагин Questionnaire в Moodle 2.6 ошибка установки

от Vadim Tabunshchik -
Изображение пользователя Developers

questionnaire.php во вложении

Зачем нам русский перевод?

Moodle ругается на отсутствие английского пакета: Debug info: Missing mandatory en language pack.

В ответ на Vadim Tabunshchik

Re: Плагин Questionnaire в Moodle 2.6 ошибка установки

от Ivan Mironov -

Не совсем понял...Английский пакет для плагина или полностью для моего moodle? Как решить в таком случае?

В ответ на Ivan Mironov

Re: Плагин Questionnaire в Moodle 2.6 ошибка установки

от Vadim Tabunshchik -
Изображение пользователя Developers

Для плагина, конечно. Проверьте наличие каталога mod/questionnaire/lang/en и в нем файла questionnaire.php, а в этом файле должна быть строка $string['modulename'], на кот. идет ругань: "Invalid get_string() identifier: 'modulename' or component 'mod_questionnaire'. Perhaps you are missing $string['modulename'] = ''; in mod/questionnaire/lang/en/questionnaire.php?"

Если нет анкет/результатов в курсах, вычистите систему от следов questionnaire и базу данных, особенно таблицу с языковыми строками. Потом установите модуль заново.

В ответ на Vadim Tabunshchik

Re: Плагин Questionnaire в Moodle 2.6 ошибка установки

от Ivan Mironov -

Я ж для того и положил файлик этот (mod/questionnaire/lang/en/questionnaire.php), что в нем, вроде эта строка присутствует, а ругань идет.