Не работают тесты

Не работают тесты

от Ivan Korneev -
Количество ответов: 3

Добрый день уважаемые форумчане.

Не работают тесты. Точнее не могу добавить вопросы в тест.

что делаю по шагам:

1)добавляю элемент тест в курс

2) в настройках даю название "пробное"

3) больше никаких изменений не делаю, жму "сохранить и показать"  

4) получаю следующее содержимое


5) как понимаю должна быть кнопка добавления вопросов ,но ее нет

P.S.

захожу от администратора сайта


вот логи сервера

[19-Jun-2020 01:06:20 Europe/Samara] Debugging: Capability "mod/quiz:manageoverrides" was not found! This has to be fixed in code. in 
* line 453 of /lib/accesslib.php: call to debugging()
* line 1715 of /mod/quiz/lib.php: call to has_capability()
* line 4684 of /lib/navigationlib.php: call to quiz_extend_settings_navigation()
* line 4161 of /lib/navigationlib.php: call to settings_navigation->load_module_settings()
* line 769 of /lib/pagelib.php: call to settings_navigation->initialise()
* line 830 of /lib/pagelib.php: call to moodle_page->magic_get_settingsnav()
* line 4021 of /lib/navigationlib.php: call to moodle_page->__get()
* line 781 of /lib/pagelib.php: call to flat_navigation->initialise()
* line 830 of /lib/pagelib.php: call to moodle_page->magic_get_flatnav()
* line 56 of /theme/boost/layout/columns2.php: call to moodle_page->__get()
* line 1374 of /lib/outputrenderers.php: call to include()
* line 1304 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
* line 1941 of /lib/setuplib.php: call to core_renderer->header()
* line 418 of /lib/external/externallib.php: call to bootstrap_renderer->__call()
* line 244 of /lib/externallib.php: call to core_external::get_fragment()
* line 79 of /lib/ajax/service.php: call to external_api::call_external_function()

[19-Jun-2020 01:06:20 Europe/Samara] Debugging: Capability "mod/quiz:manage" was not found! This has to be fixed in code. in 
* line 453 of /lib/accesslib.php: call to debugging()
* line 1728 of /mod/quiz/lib.php: call to has_capability()
* line 4684 of /lib/navigationlib.php: call to quiz_extend_settings_navigation()
* line 4161 of /lib/navigationlib.php: call to settings_navigation->load_module_settings()
* line 769 of /lib/pagelib.php: call to settings_navigation->initialise()
* line 830 of /lib/pagelib.php: call to moodle_page->magic_get_settingsnav()
* line 4021 of /lib/navigationlib.php: call to moodle_page->__get()
* line 781 of /lib/pagelib.php: call to flat_navigation->initialise()
* line 830 of /lib/pagelib.php: call to moodle_page->magic_get_flatnav()
* line 56 of /theme/boost/layout/columns2.php: call to moodle_page->__get()
* line 1374 of /lib/outputrenderers.php: call to include()
* line 1304 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
* line 1941 of /lib/setuplib.php: call to core_renderer->header()
* line 418 of /lib/external/externallib.php: call to bootstrap_renderer->__call()
* line 244 of /lib/externallib.php: call to core_external::get_fragment()
* line 79 of /lib/ajax/service.php: call to external_api::call_external_function()

[19-Jun-2020 01:06:20 Europe/Samara] Debugging: Capability "mod/quiz:preview" was not found! This has to be fixed in code. in 
* line 453 of /lib/accesslib.php: call to debugging()
* line 1736 of /mod/quiz/lib.php: call to has_capability()
* line 4684 of /lib/navigationlib.php: call to quiz_extend_settings_navigation()
* line 4161 of /lib/navigationlib.php: call to settings_navigation->load_module_settings()
* line 769 of /lib/pagelib.php: call to settings_navigation->initialise()
* line 830 of /lib/pagelib.php: call to moodle_page->magic_get_settingsnav()
* line 4021 of /lib/navigationlib.php: call to moodle_page->__get()
* line 781 of /lib/pagelib.php: call to flat_navigation->initialise()
* line 830 of /lib/pagelib.php: call to moodle_page->magic_get_flatnav()
* line 56 of /theme/boost/layout/columns2.php: call to moodle_page->__get()
* line 1374 of /lib/outputrenderers.php: call to include()
* line 1304 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
* line 1941 of /lib/setuplib.php: call to core_renderer->header()
* line 418 of /lib/external/externallib.php: call to bootstrap_renderer->__call()
* line 244 of /lib/externallib.php: call to core_external::get_fragment()
* line 79 of /lib/ajax/service.php: call to external_api::call_external_function()

[19-Jun-2020 01:06:20 Europe/Samara] Debugging: Capability "mod/quiz:viewreports" was not found! This has to be fixed in code. in 
* line 453 of /lib/accesslib.php: call to debugging()
* line 588 of /lib/accesslib.php: call to has_capability()
* line 1745 of /mod/quiz/lib.php: call to has_any_capability()
* line 4684 of /lib/navigationlib.php: call to quiz_extend_settings_navigation()
* line 4161 of /lib/navigationlib.php: call to settings_navigation->load_module_settings()
* line 769 of /lib/pagelib.php: call to settings_navigation->initialise()
* line 830 of /lib/pagelib.php: call to moodle_page->magic_get_settingsnav()
* line 4021 of /lib/navigationlib.php: call to moodle_page->__get()
* line 781 of /lib/pagelib.php: call to flat_navigation->initialise()
* line 830 of /lib/pagelib.php: call to moodle_page->magic_get_flatnav()
* line 56 of /theme/boost/layout/columns2.php: call to moodle_page->__get()
* line 1374 of /lib/outputrenderers.php: call to include()
* line 1304 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
* line 1941 of /lib/setuplib.php: call to core_renderer->header()
* line 418 of /lib/external/externallib.php: call to bootstrap_renderer->__call()
* line 244 of /lib/externallib.php: call to core_external::get_fragment()
* line 79 of /lib/ajax/service.php: call to external_api::call_external_function()

[19-Jun-2020 01:06:20 Europe/Samara] Debugging: Capability "mod/quiz:grade" was not found! This has to be fixed in code. in 
* line 453 of /lib/accesslib.php: call to debugging()
* line 588 of /lib/accesslib.php: call to has_capability()
* line 1745 of /mod/quiz/lib.php: call to has_any_capability()
* line 4684 of /lib/navigationlib.php: call to quiz_extend_settings_navigation()
* line 4161 of /lib/navigationlib.php: call to settings_navigation->load_module_settings()
* line 769 of /lib/pagelib.php: call to settings_navigation->initialise()
* line 830 of /lib/pagelib.php: call to moodle_page->magic_get_settingsnav()
* line 4021 of /lib/navigationlib.php: call to moodle_page->__get()
* line 781 of /lib/pagelib.php: call to flat_navigation->initialise()
* line 830 of /lib/pagelib.php: call to moodle_page->magic_get_flatnav()
* line 56 of /theme/boost/layout/columns2.php: call to moodle_page->__get()
* line 1374 of /lib/outputrenderers.php: call to include()
* line 1304 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
* line 1941 of /lib/setuplib.php: call to core_renderer->header()
* line 418 of /lib/external/externallib.php: call to bootstrap_renderer->__call()
* line 244 of /lib/externallib.php: call to core_external::get_fragment()
* line 79 of /lib/ajax/service.php: call to external_api::call_external_function()

В ответ на Ivan Korneev

Re: Не работают тесты

от Сергей Егоров -

Там слева должна быть надпись "Редактировать тест" - при её нажатии откроется страница добавления вопросов в тест.

В ответ на Сергей Егоров

Re: Не работают тесты

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

Нет никакого «слева», все настройки в шестеренке и ссылки на редактирование теста в этом меню тоже нет.

Проблема в том, что испорчена таблица БД mdl_capabilities, в ней отсутствуют нужные записи. Проверяйте структуру базы данных, восстанавливайте из рез. копии.