AJAX-макросы и вывод сообщений
Originally reported on Google Code with ID 247
При переходе сломались поведения вопросов - надо будет разобраться почему выдаются следующие
ошибки и корректно переименовать файлы. Скорее всего из-за этого может некорректно
работать в том числе и CW.
Ошибки, которые я получил:
Question behaviour adaptivehints is missing the behaviourtype.php file.
line 287 of /question/engine/lib.php: call to debugging()
line 260 of /question/engine/lib.php: call to question_engine::load_behaviour_type_class()
line 317 of /question/engine/lib.php: call to question_engine::get_behaviour_type()
line 56 of /admin/qbehaviours.php: call to question_engine::is_behaviour_archetypal()
Warning: include_once(/var/www/moodle/question/behaviour/adaptivehints/behaviourtype.php):
failed to open stream: No such file or directory in /var/www/moodle/question/engine/lib.php
on line 289 Warning: include_once(): Failed opening '/var/www/moodle/question/behaviour/adaptivehints/behaviourtype.php'
for inclusion (include_path='/var/www/moodle/lib/zend:/var/www/moodle/lib/pear:.:/usr/share/php:/usr/share/pear')
in /var/www/moodle/question/engine/lib.php on line 289
Question behaviour adaptivehints does not define the required class qbehaviour_adaptivehints_type.
line 267 of /question/engine/lib.php: call to debugging()
line 317 of /question/engine/lib.php: call to question_engine::get_behaviour_type()
line 56 of /admin/qbehaviours.php: call to question_engine::is_behaviour_archetypal()
Question behaviour adaptivehintsnopenalties is missing the behaviourtype.php file.
line 287 of /question/engine/lib.php: call to debugging()
line 260 of /question/engine/lib.php: call to question_engine::load_behaviour_type_class()
line 317 of /question/engine/lib.php: call to question_engine::get_behaviour_type()
line 56 of /admin/qbehaviours.php: call to question_engine::is_behaviour_archetypal()
Warning: include_once(/var/www/moodle/question/behaviour/adaptivehintsnopenalties/behaviourtype.php):
failed to open stream: No such file or directory in /var/www/moodle/question/engine/lib.php
on line 289 Warning: include_once(): Failed opening '/var/www/moodle/question/behaviour/adaptivehintsnopenalties/behaviourtype.php'
for inclusion (include_path='/var/www/moodle/lib/zend:/var/www/moodle/lib/pear:.:/usr/share/php:/usr/share/pear')
in /var/www/moodle/question/engine/lib.php on line 289
Question behaviour adaptivehintsnopenalties does not define the required class qbehaviour_adaptivehintsnopenalties_type.
line 267 of /question/engine/lib.php: call to debugging()
line 317 of /question/engine/lib.php: call to question_engine::get_behaviour_type()
line 56 of /admin/qbehaviours.php: call to question_engine::is_behaviour_archetypal()
Question behaviour interactivehints is missing the behaviourtype.php file.
line 287 of /question/engine/lib.php: call to debugging()
line 260 of /question/engine/lib.php: call to question_engine::load_behaviour_type_class()
line 317 of /question/engine/lib.php: call to question_engine::get_behaviour_type()
line 56 of /admin/qbehaviours.php: call to question_engine::is_behaviour_archetypal()
Warning: include_once(/var/www/moodle/question/behaviour/interactivehints/behaviourtype.php):
failed to open stream: No such file or directory in /var/www/moodle/question/engine/lib.php
on line 289 Warning: include_once(): Failed opening '/var/www/moodle/question/behaviour/interactivehints/behaviourtype.php'
for inclusion (include_path='/var/www/moodle/lib/zend:/var/www/moodle/lib/pear:.:/usr/share/php:/usr/share/pear')
in /var/www/moodle/question/engine/lib.php on line 289
Question behaviour interactivehints does not define the required class qbehaviour_interactivehints_type.
line 267 of /question/engine/lib.php: call to debugging()
line 317 of /question/engine/lib.php: call to question_engine::get_behaviour_type()
line 56 of /admin/qbehaviours.php: call to question_engine::is_behaviour_archetypal()
Reported by mamontov.dp
on 2013-11-22 16:51:11
Comments (13)
-
Account Deleted -
repo owner Я посмотрю поведения, там скорее всего в question/behaviour/upgrade.txt написано что надо сделать.... Это отдельные плагины и их - если не потребуется вмешательства в код вопроса - можно будет выпустить отдельными релизами....
Reported by
oasychev
on 2013-11-22 18:05:04 -
repo owner Обновите поведения из https://code.google.com/r/oasychev--preg-26/ - будут работать. У меня блок выдает предупреждение Notice: Undefined property: stdClass::$languageid in Z:\home\moodle\www\blocks\formal_langs\block_formal_langs.php on line 60
Reported by
oasychev
on 2013-11-23 21:57:31 - Labels added: Component-WritingCompetently - Labels removed: Component-HintingBehaviours -
Account Deleted Хорошо, в ближайшее время посмотрю в чем дело.
Reported by
mamontov.dp
on 2013-11-24 07:14:58 -
Account Deleted Пока нашел две проблемы, не приводящие к потере функциональности при настройках при умолчанию. После установки: Notice: stdClass::<имя настройки> - не установлен При редактировании и везде, где используется textlib: Do not include textlib.class.php directly, it is now using automatic class loading. line 28 of \lib\textlib.class.php: call to debugging() line 30 of \blocks\formal_langs\language_cpp_language.php: call to require_once() line 123 of \blocks\formal_langs\block_formal_langs.php: call to require_once() line 143 of \question\type\correctwriting\edit_correctwriting_form.php: call to block_formal_langs::lang_object() line 522 of \lib\formslib.php: call to qtype_correctwriting_edit_form->definition_after_data() line 622 of \lib\formslib.php: call to moodleform->is_validated() line 230 of \question\question.php: call to moodleform->get_data()
Reported by
mamontov.dp
on 2013-11-27 12:23:19 -
repo owner Notice: stdClass::<имя настройки> - не установлен Вот это не дает никаких вредных эффектов на доступность языков? Особенно проверить чтобы доступные не стали недоступными; если отмеченные недоступными стали доступными это не очень хорошо, но терпимо.....
Reported by
oasychev
on 2013-11-27 20:08:24 -
Account Deleted Не дает. Появляется только раз и только при чистой установке - перед стартовой установкой настроек.
Reported by
mamontov.dp
on 2013-11-28 08:26:29 -
Account Deleted Пофиксил проблемы с языками. Settings в новой версии закомментирован, поэтому не трогал
Reported by
mamontov.dp
on 2013-12-05 16:28:45 - Status changed:Fixed
-
repo owner Не совсем сюда, но мы не создавали отдельного issue по AJAX-контролю Вам может быть полезно глянуть на define в /question/type/preg/authoring_tools/preg_authoring_tools_loader.php (или аналогичном ajax-файле) и https://code.google.com/r/vostreltsov-preg-26/source/detail?r=60b536478a3caf1362453d8a757db280fb580e99 Это упрощает отладку, сделайте на будущее - требует всего несколько строк...
Reported by
oasychev
on 2013-12-08 23:20:48 -
Account Deleted Ок, в ближайшее время поставлю.
Reported by
mamontov.dp
on 2013-12-09 04:10:50 -
repo owner То, что я говорил комментарии 11 - сделано?
Reported by
oasychev
on 2014-01-17 15:25:30 -
Account Deleted Да, сделано.
Reported by
mamontov.dp
on 2014-01-18 06:44:33 -
repo owner Reported by
oasychev
on 2014-01-18 18:20:36 - Status changed:Done
- Log in to comment
Reported by
mamontov.dp
on 2013-11-22 16:54:06