Add-ons
  1. Add-ons
  2. CONTRIB-3239

ajax marking doesn't work with moodle 2.1.2+

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.2, 2.0.6, 2.1.1, 2.1.3
    • Fix Version/s: None
    • Component/s: Block: AJAX Marking
    • Labels:
      None
    • Environment:
      moodle 2.1.2+
    • Affected Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE
    • Rank:
      19515

      Description

      ajax marking doesn't work with moodle 2.1.2+ I don't seem to get assignments to configure. I have tried the latest release of ajax marking 2.1.1 released on Tuesday Oct. 25th. The block itself doesn't show up unless I have editing turned on. I have the debugging turned up to max.

      1. ajax marking window.PNG
        24 kB

        Activity

        Hide
        Matt Gibson added a comment -

        Hi Ken

        I've made a new version with some error-reporting code. If you install this version, turn debugging up to developer level and set 'display errors' to on, then you should see a red box with a load of code in it.

        Could you paste it here as a comment please?

        Sorry it's not working!

        Matt

        Show
        Matt Gibson added a comment - Hi Ken I've made a new version with some error-reporting code. If you install this version, turn debugging up to developer level and set 'display errors' to on, then you should see a red box with a load of code in it. Could you paste it here as a comment please? Sorry it's not working! Matt
        Hide
        Ken Stokowski added a comment -

        Here is some code that came up. I don't know if it is the code you are after.
        This is at the top of the main page. Thanks for all your help. Ken

        Invalid get_string() identifier: 'pluginname' or component 'theme_edumoodle'
        line 5914 of /lib/moodlelib.php: call to debugging()
        line 6504 of /lib/moodlelib.php: call to core_string_manager->get_string()
        line 30 of /admin/settings/appearance.php: call to get_string()
        line 5903 of /lib/adminlib.php: call to require()
        line 2978 of /lib/navigationlib.php: call to admin_get_root()
        line 2886 of /lib/navigationlib.php: call to settings_navigation->load_administration_settings()
        line 601 of /lib/pagelib.php: call to settings_navigation->initialise()
        line 617 of /lib/pagelib.php: call to moodle_page->magic_get_settingsnav()
        line 132 of /blocks/settings/block_settings.php: call to moodle_page->__get()
        line 280 of /blocks/moodleblock.class.php: call to block_settings->get_content()
        line 232 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
        line 924 of /lib/blocklib.php: call to block_base->get_content_for_output()
        line 976 of /lib/blocklib.php: call to block_manager->create_block_contents()
        line 349 of /lib/blocklib.php: call to block_manager->ensure_content_created()
        line 5 of /theme/aardvark_postit/layout/general.php: call to block_manager->region_has_content()
        line 654 of /lib/outputrenderers.php: call to include()
        line 612 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
        line ? of unknownfile: call to core_renderer->header()
        line 1291 of /lib/setuplib.php: call to call_user_func_array()
        line 91 of /index.php: call to bootstrap_renderer->__call()
        line 91 of /index.php: call to bootstrap_renderer->header()
        Did you remember to make the first column something unique in your call to get_records? Duplicate value '1' found in column 'id'.
        line 818 of /lib/dml/mysqli_native_moodle_database.php: call to debugging()
        line 1358 of /calendar/lib.php: call to mysqli_native_moodle_database->get_records_sql()
        line 36 of /blocks/calendar_month/block_calendar_month.php: call to calendar_get_default_courses()
        line 280 of /blocks/moodleblock.class.php: call to block_calendar_month->get_content()
        line 232 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
        line 924 of /lib/blocklib.php: call to block_base->get_content_for_output()
        line 976 of /lib/blocklib.php: call to block_manager->create_block_contents()
        line 349 of /lib/blocklib.php: call to block_manager->ensure_content_created()
        line 6 of /theme/aardvark_postit/layout/general.php: call to block_manager->region_has_content()
        line 654 of /lib/outputrenderers.php: call to include()
        line 612 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
        line ? of unknownfile: call to core_renderer->header()
        line 1291 of /lib/setuplib.php: call to call_user_func_array()
        line 91 of /index.php: call to bootstrap_renderer->__call()
        line 91 of /index.php: call to bootstrap_renderer->header()
        Did you remember to make the first column something unique in your call to get_records? Duplicate value '1' found in column 'id'.
        line 818 of /lib/dml/mysqli_native_moodle_database.php: call to debugging()
        line 1358 of /calendar/lib.php: call to mysqli_native_moodle_database->get_records_sql()
        line 36 of /blocks/calendar_month/block_calendar_month.php: call to calendar_get_default_courses()
        line 280 of /blocks/moodleblock.class.php: call to block_calendar_month->get_content()
        line 232 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
        line 924 of /lib/blocklib.php: call to block_base->get_content_for_output()
        line 976 of /lib/blocklib.php: call to block_manager->create_block_contents()
        line 349 of /lib/blocklib.php: call to block_manager->ensure_content_created()
        line 6 of /theme/aardvark_postit/layout/general.php: call to block_manager->region_has_content()
        line 654 of /lib/outputrenderers.php: call to include()
        line 612 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
        line ? of unknownfile: call to core_renderer->header()
        line 1291 of /lib/setuplib.php: call to call_user_func_array()
        line 91 of /index.php: call to bootstrap_renderer->__call()
        line 91 of /index.php: call to bootstrap_renderer->header()
        Did you remember to make the first column something unique in your call to get_records? Duplicate value '1' found in column 'id'.
        line 818 of /lib/dml/mysqli_native_moodle_database.php: call to debugging()
        line 1358 of /calendar/lib.php: call to mysqli_native_moodle_database->get_records_sql()
        line 36 of /blocks/calendar_month/block_calendar_month.php: call to calendar_get_default_courses()
        line 280 of /blocks/moodleblock.class.php: call to block_calendar_month->get_content()
        line 232 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
        line 924 of /lib/blocklib.php: call to block_base->get_content_for_output()
        line 976 of /lib/blocklib.php: call to block_manager->create_block_contents()
        line 349 of /lib/blocklib.php: call to block_manager->ensure_content_created()
        line 6 of /theme/aardvark_postit/layout/general.php: call to block_manager->region_has_content()
        line 654 of /lib/outputrenderers.php: call to include()
        line 612 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
        line ? of unknownfile: call to core_renderer->header()
        line 1291 of /lib/setuplib.php: call to call_user_func_array()
        line 91 of /index.php: call to bootstrap_renderer->__call()
        line 91 of /index.php: call to bootstrap_renderer->header()
        Did you remember to make the first column something unique in your call to get_records? Duplicate value '1' found in column 'id'.
        line 818 of /lib/dml/mysqli_native_moodle_database.php: call to debugging()
        line 1358 of /calendar/lib.php: call to mysqli_native_moodle_database->get_records_sql()
        line 36 of /blocks/calendar_month/block_calendar_month.php: call to calendar_get_default_courses()
        line 280 of /blocks/moodleblock.class.php: call to block_calendar_month->get_content()
        line 232 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
        line 924 of /lib/blocklib.php: call to block_base->get_content_for_output()
        line 976 of /lib/blocklib.php: call to block_manager->create_block_contents()
        line 349 of /lib/blocklib.php: call to block_manager->ensure_content_created()
        line 6 of /theme/aardvark_postit/layout/general.php: call to block_manager->region_has_content()
        line 654 of /lib/outputrenderers.php: call to include()
        line 612 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
        line ? of unknownfile: call to core_renderer->header()
        line 1291 of /lib/setuplib.php: call to call_user_func_array()
        line 91 of /index.php: call to bootstrap_renderer->__call()
        line 91 of /index.php: call to bootstrap_renderer->header()
        Did you remember to make the first column something unique in your call to get_records? Duplicate value '1' found in column 'id'.
        line 818 of /lib/dml/mysqli_native_moodle_database.php: call to debugging()
        line 1358 of /calendar/lib.php: call to mysqli_native_moodle_database->get_records_sql()
        line 36 of /blocks/calendar_month/block_calendar_month.php: call to calendar_get_default_courses()
        line 280 of /blocks/moodleblock.class.php: call to block_calendar_month->get_content()
        line 232 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
        line 924 of /lib/blocklib.php: call to block_base->get_content_for_output()
        line 976 of /lib/blocklib.php: call to block_manager->create_block_contents()
        line 349 of /lib/blocklib.php: call to block_manager->ensure_content_created()
        line 6 of /theme/aardvark_postit/layout/general.php: call to block_manager->region_has_content()
        line 654 of /lib/outputrenderers.php: call to include()
        line 612 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
        line ? of unknownfile: call to core_renderer->header()
        line 1291 of /lib/setuplib.php: call to call_user_func_array()
        line 91 of /index.php: call to bootstrap_renderer->__call()
        line 91 of /index.php: call to bootstrap_renderer->header()
        Did you remember to make the first column something unique in your call to get_records? Duplicate value '1' found in column 'id'.
        line 818 of /lib/dml/mysqli_native_moodle_database.php: call to debugging()
        line 1358 of /calendar/lib.php: call to mysqli_native_moodle_database->get_records_sql()
        line 36 of /blocks/calendar_month/block_calendar_month.php: call to calendar_get_default_courses()
        line 280 of /blocks/moodleblock.class.php: call to block_calendar_month->get_content()
        line 232 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
        line 924 of /lib/blocklib.php: call to block_base->get_content_for_output()
        line 976 of /lib/blocklib.php: call to block_manager->create_block_contents()
        line 349 of /lib/blocklib.php: call to block_manager->ensure_content_created()
        line 6 of /theme/aardvark_postit/layout/general.php: call to block_manager->region_has_content()
        line 654 of /lib/outputrenderers.php: call to include()
        line 612 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
        line ? of unknownfile: call to core_renderer->header()
        line 1291 of /lib/setuplib.php: call to call_user_func_array()
        line 91 of /index.php: call to bootstrap_renderer->__call()
        line 91 of /index.php: call to bootstrap_renderer->header()
        Did you remember to make the first column something unique in your call to get_records? Duplicate value '1' found in column 'id'.
        line 818 of /lib/dml/mysqli_native_moodle_database.php: call to debugging()
        line 1358 of /calendar/lib.php: call to mysqli_native_moodle_database->get_records_sql()
        line 36 of /blocks/calendar_month/block_calendar_month.php: call to calendar_get_default_courses()
        line 280 of /blocks/moodleblock.class.php: call to block_calendar_month->get_content()
        line 232 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
        line 924 of /lib/blocklib.php: call to block_base->get_content_for_output()
        line 976 of /lib/blocklib.php: call to block_manager->create_block_contents()
        line 349 of /lib/blocklib.php: call to block_manager->ensure_content_created()
        line 6 of /theme/aardvark_postit/layout/general.php: call to block_manager->region_has_content()
        line 654 of /lib/outputrenderers.php: call to include()
        line 612 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
        line ? of unknownfile: call to core_renderer->header()
        line 1291 of /lib/setuplib.php: call to call_user_func_array()
        line 91 of /index.php: call to bootstrap_renderer->__call()
        line 91 of /index.php: call to bootstrap_renderer->header()
        Did you remember to make the first column something unique in your call to get_records? Duplicate value '1' found in column 'id'.
        line 818 of /lib/dml/mysqli_native_moodle_database.php: call to debugging()
        line 1358 of /calendar/lib.php: call to mysqli_native_moodle_database->get_records_sql()
        line 36 of /blocks/calendar_month/block_calendar_month.php: call to calendar_get_default_courses()
        line 280 of /blocks/moodleblock.class.php: call to block_calendar_month->get_content()
        line 232 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
        line 924 of /lib/blocklib.php: call to block_base->get_content_for_output()
        line 976 of /lib/blocklib.php: call to block_manager->create_block_contents()
        line 349 of /lib/blocklib.php: call to block_manager->ensure_content_created()
        line 6 of /theme/aardvark_postit/layout/general.php: call to block_manager->region_has_content()
        line 654 of /lib/outputrenderers.php: call to include()
        line 612 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
        line ? of unknownfile: call to core_renderer->header()
        line 1291 of /lib/setuplib.php: call to call_user_func_array()
        line 91 of /index.php: call to bootstrap_renderer->__call()
        line 91 of /index.php: call to bootstrap_renderer->header()
        Did you remember to make the first column something unique in your call to get_records? Duplicate value '1' found in column 'id'.
        line 818 of /lib/dml/mysqli_native_moodle_database.php: call to debugging()
        line 1358 of /calendar/lib.php: call to mysqli_native_moodle_database->get_records_sql()
        line 36 of /blocks/calendar_month/block_calendar_month.php: call to calendar_get_default_courses()
        line 280 of /blocks/moodleblock.class.php: call to block_calendar_month->get_content()
        line 232 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
        line 924 of /lib/blocklib.php: call to block_base->get_content_for_output()
        line 976 of /lib/blocklib.php: call to block_manager->create_block_contents()
        line 349 of /lib/blocklib.php: call to block_manager->ensure_content_created()
        line 6 of /theme/aardvark_postit/layout/general.php: call to block_manager->region_has_content()
        line 654 of /lib/outputrenderers.php: call to include()
        line 612 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
        line ? of unknownfile: call to core_renderer->header()
        line 1291 of /lib/setuplib.php: call to call_user_func_array()
        line 91 of /index.php: call to bootstrap_renderer->__call()
        line 91 of /index.php: call to bootstrap_renderer->header()
        Did you remember to make the first column something unique in your call to get_records? Duplicate value '1' found in column 'id'.
        line 818 of /lib/dml/mysqli_native_moodle_database.php: call to debugging()
        line 1358 of /calendar/lib.php: call to mysqli_native_moodle_database->get_records_sql()
        line 36 of /blocks/calendar_month/block_calendar_month.php: call to calendar_get_default_courses()
        line 280 of /blocks/moodleblock.class.php: call to block_calendar_month->get_content()
        line 232 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
        line 924 of /lib/blocklib.php: call to block_base->get_content_for_output()
        line 976 of /lib/blocklib.php: call to block_manager->create_block_contents()
        line 349 of /lib/blocklib.php: call to block_manager->ensure_content_created()
        line 6 of /theme/aardvark_postit/layout/general.php: call to block_manager->region_has_content()
        line 654 of /lib/outputrenderers.php: call to include()
        line 612 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
        line ? of unknownfile: call to core_renderer->header()
        line 1291 of /lib/setuplib.php: call to call_user_func_array()
        line 91 of /index.php: call to bootstrap_renderer->__call()
        line 91 of /index.php: call to bootstrap_renderer->header()
        Did you remember to make the first column something unique in your call to get_records? Duplicate value '1' found in column 'id'.
        line 818 of /lib/dml/mysqli_native_moodle_database.php: call to debugging()
        line 1358 of /calendar/lib.php: call to mysqli_native_moodle_database->get_records_sql()
        line 36 of /blocks/calendar_month/block_calendar_month.php: call to calendar_get_default_courses()
        line 280 of /blocks/moodleblock.class.php: call to block_calendar_month->get_content()
        line 232 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
        line 924 of /lib/blocklib.php: call to block_base->get_content_for_output()
        line 976 of /lib/blocklib.php: call to block_manager->create_block_contents()
        line 349 of /lib/blocklib.php: call to block_manager->ensure_content_created()
        line 6 of /theme/aardvark_postit/layout/general.php: call to block_manager->region_has_content()
        line 654 of /lib/outputrenderers.php: call to include()
        line 612 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
        line ? of unknownfile: call to core_renderer->header()
        line 1291 of /lib/setuplib.php: call to call_user_func_array()
        line 91 of /index.php: call to bootstrap_renderer->__call()
        line 91 of /index.php: call to bootstrap_renderer->header()
        Did you remember to make the first column something unique in your call to get_records? Duplicate value '1' found in column 'id'.
        line 818 of /lib/dml/mysqli_native_moodle_database.php: call to debugging()
        line 1358 of /calendar/lib.php: call to mysqli_native_moodle_database->get_records_sql()
        line 36 of /blocks/calendar_month/block_calendar_month.php: call to calendar_get_default_courses()
        line 280 of /blocks/moodleblock.class.php: call to block_calendar_month->get_content()
        line 232 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
        line 924 of /lib/blocklib.php: call to block_base->get_content_for_output()
        line 976 of /lib/blocklib.php: call to block_manager->create_block_contents()
        line 349 of /lib/blocklib.php: call to block_manager->ensure_content_created()
        line 6 of /theme/aardvark_postit/layout/general.php: call to block_manager->region_has_content()
        line 654 of /lib/outputrenderers.php: call to include()
        line 612 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
        line ? of unknownfile: call to core_renderer->header()
        line 1291 of /lib/setuplib.php: call to call_user_func_array()
        line 91 of /index.php: call to bootstrap_renderer->__call()
        line 91 of /index.php: call to bootstrap_renderer->header()
        Did you remember to make the first column something unique in your call to get_records? Duplicate value '1' found in column 'id'.
        line 818 of /lib/dml/mysqli_native_moodle_database.php: call to debugging()
        line 1358 of /calendar/lib.php: call to mysqli_native_moodle_database->get_records_sql()
        line 36 of /blocks/calendar_month/block_calendar_month.php: call to calendar_get_default_courses()
        line 280 of /blocks/moodleblock.class.php: call to block_calendar_month->get_content()
        line 232 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
        line 924 of /lib/blocklib.php: call to block_base->get_content_for_output()
        line 976 of /lib/blocklib.php: call to block_manager->create_block_contents()
        line 349 of /lib/blocklib.php: call to block_manager->ensure_content_created()
        line 6 of /theme/aardvark_postit/layout/general.php: call to block_manager->region_has_content()
        line 654 of /lib/outputrenderers.php: call to include()
        line 612 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
        line ? of unknownfile: call to core_renderer->header()
        line 1291 of /lib/setuplib.php: call to call_user_func_array()
        line 91 of /index.php: call to bootstrap_renderer->__call()
        line 91 of /index.php: call to bootstrap_renderer->header()
        Did you remember to make the first column something unique in your call to get_records? Duplicate value '1' found in column 'id'.
        line 818 of /lib/dml/mysqli_native_moodle_database.php: call to debugging()
        line 1358 of /calendar/lib.php: call to mysqli_native_moodle_database->get_records_sql()
        line 36 of /blocks/calendar_month/block_calendar_month.php: call to calendar_get_default_courses()
        line 280 of /blocks/moodleblock.class.php: call to block_calendar_month->get_content()
        line 232 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
        line 924 of /lib/blocklib.php: call to block_base->get_content_for_output()
        line 976 of /lib/blocklib.php: call to block_manager->create_block_contents()
        line 349 of /lib/blocklib.php: call to block_manager->ensure_content_created()
        line 6 of /theme/aardvark_postit/layout/general.php: call to block_manager->region_has_content()
        line 654 of /lib/outputrenderers.php: call to include()
        line 612 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
        line ? of unknownfile: call to core_renderer->header()
        line 1291 of /lib/setuplib.php: call to call_user_func_array()
        line 91 of /index.php: call to bootstrap_renderer->__call()
        line 91 of /index.php: call to bootstrap_renderer->header()
        Did you remember to make the first column something unique in your call to get_records? Duplicate value '1' found in column 'id'.
        line 818 of /lib/dml/mysqli_native_moodle_database.php: call to debugging()
        line 1358 of /calendar/lib.php: call to mysqli_native_moodle_database->get_records_sql()
        line 36 of /blocks/calendar_month/block_calendar_month.php: call to calendar_get_default_courses()
        line 280 of /blocks/moodleblock.class.php: call to block_calendar_month->get_content()
        line 232 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
        line 924 of /lib/blocklib.php: call to block_base->get_content_for_output()
        line 976 of /lib/blocklib.php: call to block_manager->create_block_contents()
        line 349 of /lib/blocklib.php: call to block_manager->ensure_content_created()
        line 6 of /theme/aardvark_postit/layout/general.php: call to block_manager->region_has_content()
        line 654 of /lib/outputrenderers.php: call to include()
        line 612 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
        line ? of unknownfile: call to core_renderer->header()
        line 1291 of /lib/setuplib.php: call to call_user_func_array()
        line 91 of /index.php: call to bootstrap_renderer->__call()
        line 91 of /index.php: call to bootstrap_renderer->header()
        Did you remember to make the first column something unique in your call to get_records? Duplicate value '1' found in column 'id'.
        line 818 of /lib/dml/mysqli_native_moodle_database.php: call to debugging()
        line 1358 of /calendar/lib.php: call to mysqli_native_moodle_database->get_records_sql()
        line 36 of /blocks/calendar_month/block_calendar_month.php: call to calendar_get_default_courses()
        line 280 of /blocks/moodleblock.class.php: call to block_calendar_month->get_content()
        line 232 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
        line 924 of /lib/blocklib.php: call to block_base->get_content_for_output()
        line 976 of /lib/blocklib.php: call to block_manager->create_block_contents()
        line 349 of /lib/blocklib.php: call to block_manager->ensure_content_created()
        line 6 of /theme/aardvark_postit/layout/general.php: call to block_manager->region_has_content()
        line 654 of /lib/outputrenderers.php: call to include()
        line 612 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
        line ? of unknownfile: call to core_renderer->header()
        line 1291 of /lib/setuplib.php: call to call_user_func_array()
        line 91 of /index.php: call to bootstrap_renderer->__call()
        line 91 of /index.php: call to bootstrap_renderer->header()
        Did you remember to make the first column something unique in your call to get_records? Duplicate value '1' found in column 'id'.
        line 818 of /lib/dml/mysqli_native_moodle_database.php: call to debugging()
        line 1358 of /calendar/lib.php: call to mysqli_native_moodle_database->get_records_sql()
        line 36 of /blocks/calendar_month/block_calendar_month.php: call to calendar_get_default_courses()
        line 280 of /blocks/moodleblock.class.php: call to block_calendar_month->get_content()
        line 232 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
        line 924 of /lib/blocklib.php: call to block_base->get_content_for_output()
        line 976 of /lib/blocklib.php: call to block_manager->create_block_contents()
        line 349 of /lib/blocklib.php: call to block_manager->ensure_content_created()
        line 6 of /theme/aardvark_postit/layout/general.php: call to block_manager->region_has_content()
        line 654 of /lib/outputrenderers.php: call to include()
        line 612 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
        line ? of unknownfile: call to core_renderer->header()
        line 1291 of /lib/setuplib.php: call to call_user_func_array()
        line 91 of /index.php: call to bootstrap_renderer->__call()
        line 91 of /index.php: call to bootstrap_renderer->header()
        Did you remember to make the first column something unique in your call to get_records? Duplicate value '1' found in column 'id'.
        line 818 of /lib/dml/mysqli_native_moodle_database.php: call to debugging()
        line 1358 of /calendar/lib.php: call to mysqli_native_moodle_database->get_records_sql()
        line 36 of /blocks/calendar_month/block_calendar_month.php: call to calendar_get_default_courses()
        line 280 of /blocks/moodleblock.class.php: call to block_calendar_month->get_content()
        line 232 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
        line 924 of /lib/blocklib.php: call to block_base->get_content_for_output()
        line 976 of /lib/blocklib.php: call to block_manager->create_block_contents()
        line 349 of /lib/blocklib.php: call to block_manager->ensure_content_created()
        line 6 of /theme/aardvark_postit/layout/general.php: call to block_manager->region_has_content()
        line 654 of /lib/outputrenderers.php: call to include()
        line 612 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
        line ? of unknownfile: call to core_renderer->header()
        line 1291 of /lib/setuplib.php: call to call_user_func_array()
        line 91 of /index.php: call to bootstrap_renderer->__call()
        line 91 of /index.php: call to bootstrap_renderer->header()
        Did you remember to make the first column something unique in your call to get_records? Duplicate value '1' found in column 'id'.
        line 818 of /lib/dml/mysqli_native_moodle_database.php: call to debugging()
        line 1358 of /calendar/lib.php: call to mysqli_native_moodle_database->get_records_sql()
        line 36 of /blocks/calendar_month/block_calendar_month.php: call to calendar_get_default_courses()
        line 280 of /blocks/moodleblock.class.php: call to block_calendar_month->get_content()
        line 232 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
        line 924 of /lib/blocklib.php: call to block_base->get_content_for_output()
        line 976 of /lib/blocklib.php: call to block_manager->create_block_contents()
        line 349 of /lib/blocklib.php: call to block_manager->ensure_content_created()
        line 6 of /theme/aardvark_postit/layout/general.php: call to block_manager->region_has_content()
        line 654 of /lib/outputrenderers.php: call to include()
        line 612 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
        line ? of unknownfile: call to core_renderer->header()
        line 1291 of /lib/setuplib.php: call to call_user_func_array()
        line 91 of /index.php: call to bootstrap_renderer->__call()
        line 91 of /index.php: call to bootstrap_renderer->header()

        Show
        Ken Stokowski added a comment - Here is some code that came up. I don't know if it is the code you are after. This is at the top of the main page. Thanks for all your help. Ken Invalid get_string() identifier: 'pluginname' or component 'theme_edumoodle' line 5914 of /lib/moodlelib.php: call to debugging() line 6504 of /lib/moodlelib.php: call to core_string_manager->get_string() line 30 of /admin/settings/appearance.php: call to get_string() line 5903 of /lib/adminlib.php: call to require() line 2978 of /lib/navigationlib.php: call to admin_get_root() line 2886 of /lib/navigationlib.php: call to settings_navigation->load_administration_settings() line 601 of /lib/pagelib.php: call to settings_navigation->initialise() line 617 of /lib/pagelib.php: call to moodle_page->magic_get_settingsnav() line 132 of /blocks/settings/block_settings.php: call to moodle_page->__get() line 280 of /blocks/moodleblock.class.php: call to block_settings->get_content() line 232 of /blocks/moodleblock.class.php: call to block_base->formatted_contents() line 924 of /lib/blocklib.php: call to block_base->get_content_for_output() line 976 of /lib/blocklib.php: call to block_manager->create_block_contents() line 349 of /lib/blocklib.php: call to block_manager->ensure_content_created() line 5 of /theme/aardvark_postit/layout/general.php: call to block_manager->region_has_content() line 654 of /lib/outputrenderers.php: call to include() line 612 of /lib/outputrenderers.php: call to core_renderer->render_page_layout() line ? of unknownfile: call to core_renderer->header() line 1291 of /lib/setuplib.php: call to call_user_func_array() line 91 of /index.php: call to bootstrap_renderer->__call() line 91 of /index.php: call to bootstrap_renderer->header() Did you remember to make the first column something unique in your call to get_records? Duplicate value '1' found in column 'id'. line 818 of /lib/dml/mysqli_native_moodle_database.php: call to debugging() line 1358 of /calendar/lib.php: call to mysqli_native_moodle_database->get_records_sql() line 36 of /blocks/calendar_month/block_calendar_month.php: call to calendar_get_default_courses() line 280 of /blocks/moodleblock.class.php: call to block_calendar_month->get_content() line 232 of /blocks/moodleblock.class.php: call to block_base->formatted_contents() line 924 of /lib/blocklib.php: call to block_base->get_content_for_output() line 976 of /lib/blocklib.php: call to block_manager->create_block_contents() line 349 of /lib/blocklib.php: call to block_manager->ensure_content_created() line 6 of /theme/aardvark_postit/layout/general.php: call to block_manager->region_has_content() line 654 of /lib/outputrenderers.php: call to include() line 612 of /lib/outputrenderers.php: call to core_renderer->render_page_layout() line ? of unknownfile: call to core_renderer->header() line 1291 of /lib/setuplib.php: call to call_user_func_array() line 91 of /index.php: call to bootstrap_renderer->__call() line 91 of /index.php: call to bootstrap_renderer->header() Did you remember to make the first column something unique in your call to get_records? Duplicate value '1' found in column 'id'. line 818 of /lib/dml/mysqli_native_moodle_database.php: call to debugging() line 1358 of /calendar/lib.php: call to mysqli_native_moodle_database->get_records_sql() line 36 of /blocks/calendar_month/block_calendar_month.php: call to calendar_get_default_courses() line 280 of /blocks/moodleblock.class.php: call to block_calendar_month->get_content() line 232 of /blocks/moodleblock.class.php: call to block_base->formatted_contents() line 924 of /lib/blocklib.php: call to block_base->get_content_for_output() line 976 of /lib/blocklib.php: call to block_manager->create_block_contents() line 349 of /lib/blocklib.php: call to block_manager->ensure_content_created() line 6 of /theme/aardvark_postit/layout/general.php: call to block_manager->region_has_content() line 654 of /lib/outputrenderers.php: call to include() line 612 of /lib/outputrenderers.php: call to core_renderer->render_page_layout() line ? of unknownfile: call to core_renderer->header() line 1291 of /lib/setuplib.php: call to call_user_func_array() line 91 of /index.php: call to bootstrap_renderer->__call() line 91 of /index.php: call to bootstrap_renderer->header() Did you remember to make the first column something unique in your call to get_records? Duplicate value '1' found in column 'id'. line 818 of /lib/dml/mysqli_native_moodle_database.php: call to debugging() line 1358 of /calendar/lib.php: call to mysqli_native_moodle_database->get_records_sql() line 36 of /blocks/calendar_month/block_calendar_month.php: call to calendar_get_default_courses() line 280 of /blocks/moodleblock.class.php: call to block_calendar_month->get_content() line 232 of /blocks/moodleblock.class.php: call to block_base->formatted_contents() line 924 of /lib/blocklib.php: call to block_base->get_content_for_output() line 976 of /lib/blocklib.php: call to block_manager->create_block_contents() line 349 of /lib/blocklib.php: call to block_manager->ensure_content_created() line 6 of /theme/aardvark_postit/layout/general.php: call to block_manager->region_has_content() line 654 of /lib/outputrenderers.php: call to include() line 612 of /lib/outputrenderers.php: call to core_renderer->render_page_layout() line ? of unknownfile: call to core_renderer->header() line 1291 of /lib/setuplib.php: call to call_user_func_array() line 91 of /index.php: call to bootstrap_renderer->__call() line 91 of /index.php: call to bootstrap_renderer->header() Did you remember to make the first column something unique in your call to get_records? Duplicate value '1' found in column 'id'. line 818 of /lib/dml/mysqli_native_moodle_database.php: call to debugging() line 1358 of /calendar/lib.php: call to mysqli_native_moodle_database->get_records_sql() line 36 of /blocks/calendar_month/block_calendar_month.php: call to calendar_get_default_courses() line 280 of /blocks/moodleblock.class.php: call to block_calendar_month->get_content() line 232 of /blocks/moodleblock.class.php: call to block_base->formatted_contents() line 924 of /lib/blocklib.php: call to block_base->get_content_for_output() line 976 of /lib/blocklib.php: call to block_manager->create_block_contents() line 349 of /lib/blocklib.php: call to block_manager->ensure_content_created() line 6 of /theme/aardvark_postit/layout/general.php: call to block_manager->region_has_content() line 654 of /lib/outputrenderers.php: call to include() line 612 of /lib/outputrenderers.php: call to core_renderer->render_page_layout() line ? of unknownfile: call to core_renderer->header() line 1291 of /lib/setuplib.php: call to call_user_func_array() line 91 of /index.php: call to bootstrap_renderer->__call() line 91 of /index.php: call to bootstrap_renderer->header() Did you remember to make the first column something unique in your call to get_records? Duplicate value '1' found in column 'id'. line 818 of /lib/dml/mysqli_native_moodle_database.php: call to debugging() line 1358 of /calendar/lib.php: call to mysqli_native_moodle_database->get_records_sql() line 36 of /blocks/calendar_month/block_calendar_month.php: call to calendar_get_default_courses() line 280 of /blocks/moodleblock.class.php: call to block_calendar_month->get_content() line 232 of /blocks/moodleblock.class.php: call to block_base->formatted_contents() line 924 of /lib/blocklib.php: call to block_base->get_content_for_output() line 976 of /lib/blocklib.php: call to block_manager->create_block_contents() line 349 of /lib/blocklib.php: call to block_manager->ensure_content_created() line 6 of /theme/aardvark_postit/layout/general.php: call to block_manager->region_has_content() line 654 of /lib/outputrenderers.php: call to include() line 612 of /lib/outputrenderers.php: call to core_renderer->render_page_layout() line ? of unknownfile: call to core_renderer->header() line 1291 of /lib/setuplib.php: call to call_user_func_array() line 91 of /index.php: call to bootstrap_renderer->__call() line 91 of /index.php: call to bootstrap_renderer->header() Did you remember to make the first column something unique in your call to get_records? Duplicate value '1' found in column 'id'. line 818 of /lib/dml/mysqli_native_moodle_database.php: call to debugging() line 1358 of /calendar/lib.php: call to mysqli_native_moodle_database->get_records_sql() line 36 of /blocks/calendar_month/block_calendar_month.php: call to calendar_get_default_courses() line 280 of /blocks/moodleblock.class.php: call to block_calendar_month->get_content() line 232 of /blocks/moodleblock.class.php: call to block_base->formatted_contents() line 924 of /lib/blocklib.php: call to block_base->get_content_for_output() line 976 of /lib/blocklib.php: call to block_manager->create_block_contents() line 349 of /lib/blocklib.php: call to block_manager->ensure_content_created() line 6 of /theme/aardvark_postit/layout/general.php: call to block_manager->region_has_content() line 654 of /lib/outputrenderers.php: call to include() line 612 of /lib/outputrenderers.php: call to core_renderer->render_page_layout() line ? of unknownfile: call to core_renderer->header() line 1291 of /lib/setuplib.php: call to call_user_func_array() line 91 of /index.php: call to bootstrap_renderer->__call() line 91 of /index.php: call to bootstrap_renderer->header() Did you remember to make the first column something unique in your call to get_records? Duplicate value '1' found in column 'id'. line 818 of /lib/dml/mysqli_native_moodle_database.php: call to debugging() line 1358 of /calendar/lib.php: call to mysqli_native_moodle_database->get_records_sql() line 36 of /blocks/calendar_month/block_calendar_month.php: call to calendar_get_default_courses() line 280 of /blocks/moodleblock.class.php: call to block_calendar_month->get_content() line 232 of /blocks/moodleblock.class.php: call to block_base->formatted_contents() line 924 of /lib/blocklib.php: call to block_base->get_content_for_output() line 976 of /lib/blocklib.php: call to block_manager->create_block_contents() line 349 of /lib/blocklib.php: call to block_manager->ensure_content_created() line 6 of /theme/aardvark_postit/layout/general.php: call to block_manager->region_has_content() line 654 of /lib/outputrenderers.php: call to include() line 612 of /lib/outputrenderers.php: call to core_renderer->render_page_layout() line ? of unknownfile: call to core_renderer->header() line 1291 of /lib/setuplib.php: call to call_user_func_array() line 91 of /index.php: call to bootstrap_renderer->__call() line 91 of /index.php: call to bootstrap_renderer->header() Did you remember to make the first column something unique in your call to get_records? Duplicate value '1' found in column 'id'. line 818 of /lib/dml/mysqli_native_moodle_database.php: call to debugging() line 1358 of /calendar/lib.php: call to mysqli_native_moodle_database->get_records_sql() line 36 of /blocks/calendar_month/block_calendar_month.php: call to calendar_get_default_courses() line 280 of /blocks/moodleblock.class.php: call to block_calendar_month->get_content() line 232 of /blocks/moodleblock.class.php: call to block_base->formatted_contents() line 924 of /lib/blocklib.php: call to block_base->get_content_for_output() line 976 of /lib/blocklib.php: call to block_manager->create_block_contents() line 349 of /lib/blocklib.php: call to block_manager->ensure_content_created() line 6 of /theme/aardvark_postit/layout/general.php: call to block_manager->region_has_content() line 654 of /lib/outputrenderers.php: call to include() line 612 of /lib/outputrenderers.php: call to core_renderer->render_page_layout() line ? of unknownfile: call to core_renderer->header() line 1291 of /lib/setuplib.php: call to call_user_func_array() line 91 of /index.php: call to bootstrap_renderer->__call() line 91 of /index.php: call to bootstrap_renderer->header() Did you remember to make the first column something unique in your call to get_records? Duplicate value '1' found in column 'id'. line 818 of /lib/dml/mysqli_native_moodle_database.php: call to debugging() line 1358 of /calendar/lib.php: call to mysqli_native_moodle_database->get_records_sql() line 36 of /blocks/calendar_month/block_calendar_month.php: call to calendar_get_default_courses() line 280 of /blocks/moodleblock.class.php: call to block_calendar_month->get_content() line 232 of /blocks/moodleblock.class.php: call to block_base->formatted_contents() line 924 of /lib/blocklib.php: call to block_base->get_content_for_output() line 976 of /lib/blocklib.php: call to block_manager->create_block_contents() line 349 of /lib/blocklib.php: call to block_manager->ensure_content_created() line 6 of /theme/aardvark_postit/layout/general.php: call to block_manager->region_has_content() line 654 of /lib/outputrenderers.php: call to include() line 612 of /lib/outputrenderers.php: call to core_renderer->render_page_layout() line ? of unknownfile: call to core_renderer->header() line 1291 of /lib/setuplib.php: call to call_user_func_array() line 91 of /index.php: call to bootstrap_renderer->__call() line 91 of /index.php: call to bootstrap_renderer->header() Did you remember to make the first column something unique in your call to get_records? Duplicate value '1' found in column 'id'. line 818 of /lib/dml/mysqli_native_moodle_database.php: call to debugging() line 1358 of /calendar/lib.php: call to mysqli_native_moodle_database->get_records_sql() line 36 of /blocks/calendar_month/block_calendar_month.php: call to calendar_get_default_courses() line 280 of /blocks/moodleblock.class.php: call to block_calendar_month->get_content() line 232 of /blocks/moodleblock.class.php: call to block_base->formatted_contents() line 924 of /lib/blocklib.php: call to block_base->get_content_for_output() line 976 of /lib/blocklib.php: call to block_manager->create_block_contents() line 349 of /lib/blocklib.php: call to block_manager->ensure_content_created() line 6 of /theme/aardvark_postit/layout/general.php: call to block_manager->region_has_content() line 654 of /lib/outputrenderers.php: call to include() line 612 of /lib/outputrenderers.php: call to core_renderer->render_page_layout() line ? of unknownfile: call to core_renderer->header() line 1291 of /lib/setuplib.php: call to call_user_func_array() line 91 of /index.php: call to bootstrap_renderer->__call() line 91 of /index.php: call to bootstrap_renderer->header() Did you remember to make the first column something unique in your call to get_records? Duplicate value '1' found in column 'id'. line 818 of /lib/dml/mysqli_native_moodle_database.php: call to debugging() line 1358 of /calendar/lib.php: call to mysqli_native_moodle_database->get_records_sql() line 36 of /blocks/calendar_month/block_calendar_month.php: call to calendar_get_default_courses() line 280 of /blocks/moodleblock.class.php: call to block_calendar_month->get_content() line 232 of /blocks/moodleblock.class.php: call to block_base->formatted_contents() line 924 of /lib/blocklib.php: call to block_base->get_content_for_output() line 976 of /lib/blocklib.php: call to block_manager->create_block_contents() line 349 of /lib/blocklib.php: call to block_manager->ensure_content_created() line 6 of /theme/aardvark_postit/layout/general.php: call to block_manager->region_has_content() line 654 of /lib/outputrenderers.php: call to include() line 612 of /lib/outputrenderers.php: call to core_renderer->render_page_layout() line ? of unknownfile: call to core_renderer->header() line 1291 of /lib/setuplib.php: call to call_user_func_array() line 91 of /index.php: call to bootstrap_renderer->__call() line 91 of /index.php: call to bootstrap_renderer->header() Did you remember to make the first column something unique in your call to get_records? Duplicate value '1' found in column 'id'. line 818 of /lib/dml/mysqli_native_moodle_database.php: call to debugging() line 1358 of /calendar/lib.php: call to mysqli_native_moodle_database->get_records_sql() line 36 of /blocks/calendar_month/block_calendar_month.php: call to calendar_get_default_courses() line 280 of /blocks/moodleblock.class.php: call to block_calendar_month->get_content() line 232 of /blocks/moodleblock.class.php: call to block_base->formatted_contents() line 924 of /lib/blocklib.php: call to block_base->get_content_for_output() line 976 of /lib/blocklib.php: call to block_manager->create_block_contents() line 349 of /lib/blocklib.php: call to block_manager->ensure_content_created() line 6 of /theme/aardvark_postit/layout/general.php: call to block_manager->region_has_content() line 654 of /lib/outputrenderers.php: call to include() line 612 of /lib/outputrenderers.php: call to core_renderer->render_page_layout() line ? of unknownfile: call to core_renderer->header() line 1291 of /lib/setuplib.php: call to call_user_func_array() line 91 of /index.php: call to bootstrap_renderer->__call() line 91 of /index.php: call to bootstrap_renderer->header() Did you remember to make the first column something unique in your call to get_records? Duplicate value '1' found in column 'id'. line 818 of /lib/dml/mysqli_native_moodle_database.php: call to debugging() line 1358 of /calendar/lib.php: call to mysqli_native_moodle_database->get_records_sql() line 36 of /blocks/calendar_month/block_calendar_month.php: call to calendar_get_default_courses() line 280 of /blocks/moodleblock.class.php: call to block_calendar_month->get_content() line 232 of /blocks/moodleblock.class.php: call to block_base->formatted_contents() line 924 of /lib/blocklib.php: call to block_base->get_content_for_output() line 976 of /lib/blocklib.php: call to block_manager->create_block_contents() line 349 of /lib/blocklib.php: call to block_manager->ensure_content_created() line 6 of /theme/aardvark_postit/layout/general.php: call to block_manager->region_has_content() line 654 of /lib/outputrenderers.php: call to include() line 612 of /lib/outputrenderers.php: call to core_renderer->render_page_layout() line ? of unknownfile: call to core_renderer->header() line 1291 of /lib/setuplib.php: call to call_user_func_array() line 91 of /index.php: call to bootstrap_renderer->__call() line 91 of /index.php: call to bootstrap_renderer->header() Did you remember to make the first column something unique in your call to get_records? Duplicate value '1' found in column 'id'. line 818 of /lib/dml/mysqli_native_moodle_database.php: call to debugging() line 1358 of /calendar/lib.php: call to mysqli_native_moodle_database->get_records_sql() line 36 of /blocks/calendar_month/block_calendar_month.php: call to calendar_get_default_courses() line 280 of /blocks/moodleblock.class.php: call to block_calendar_month->get_content() line 232 of /blocks/moodleblock.class.php: call to block_base->formatted_contents() line 924 of /lib/blocklib.php: call to block_base->get_content_for_output() line 976 of /lib/blocklib.php: call to block_manager->create_block_contents() line 349 of /lib/blocklib.php: call to block_manager->ensure_content_created() line 6 of /theme/aardvark_postit/layout/general.php: call to block_manager->region_has_content() line 654 of /lib/outputrenderers.php: call to include() line 612 of /lib/outputrenderers.php: call to core_renderer->render_page_layout() line ? of unknownfile: call to core_renderer->header() line 1291 of /lib/setuplib.php: call to call_user_func_array() line 91 of /index.php: call to bootstrap_renderer->__call() line 91 of /index.php: call to bootstrap_renderer->header() Did you remember to make the first column something unique in your call to get_records? Duplicate value '1' found in column 'id'. line 818 of /lib/dml/mysqli_native_moodle_database.php: call to debugging() line 1358 of /calendar/lib.php: call to mysqli_native_moodle_database->get_records_sql() line 36 of /blocks/calendar_month/block_calendar_month.php: call to calendar_get_default_courses() line 280 of /blocks/moodleblock.class.php: call to block_calendar_month->get_content() line 232 of /blocks/moodleblock.class.php: call to block_base->formatted_contents() line 924 of /lib/blocklib.php: call to block_base->get_content_for_output() line 976 of /lib/blocklib.php: call to block_manager->create_block_contents() line 349 of /lib/blocklib.php: call to block_manager->ensure_content_created() line 6 of /theme/aardvark_postit/layout/general.php: call to block_manager->region_has_content() line 654 of /lib/outputrenderers.php: call to include() line 612 of /lib/outputrenderers.php: call to core_renderer->render_page_layout() line ? of unknownfile: call to core_renderer->header() line 1291 of /lib/setuplib.php: call to call_user_func_array() line 91 of /index.php: call to bootstrap_renderer->__call() line 91 of /index.php: call to bootstrap_renderer->header() Did you remember to make the first column something unique in your call to get_records? Duplicate value '1' found in column 'id'. line 818 of /lib/dml/mysqli_native_moodle_database.php: call to debugging() line 1358 of /calendar/lib.php: call to mysqli_native_moodle_database->get_records_sql() line 36 of /blocks/calendar_month/block_calendar_month.php: call to calendar_get_default_courses() line 280 of /blocks/moodleblock.class.php: call to block_calendar_month->get_content() line 232 of /blocks/moodleblock.class.php: call to block_base->formatted_contents() line 924 of /lib/blocklib.php: call to block_base->get_content_for_output() line 976 of /lib/blocklib.php: call to block_manager->create_block_contents() line 349 of /lib/blocklib.php: call to block_manager->ensure_content_created() line 6 of /theme/aardvark_postit/layout/general.php: call to block_manager->region_has_content() line 654 of /lib/outputrenderers.php: call to include() line 612 of /lib/outputrenderers.php: call to core_renderer->render_page_layout() line ? of unknownfile: call to core_renderer->header() line 1291 of /lib/setuplib.php: call to call_user_func_array() line 91 of /index.php: call to bootstrap_renderer->__call() line 91 of /index.php: call to bootstrap_renderer->header() Did you remember to make the first column something unique in your call to get_records? Duplicate value '1' found in column 'id'. line 818 of /lib/dml/mysqli_native_moodle_database.php: call to debugging() line 1358 of /calendar/lib.php: call to mysqli_native_moodle_database->get_records_sql() line 36 of /blocks/calendar_month/block_calendar_month.php: call to calendar_get_default_courses() line 280 of /blocks/moodleblock.class.php: call to block_calendar_month->get_content() line 232 of /blocks/moodleblock.class.php: call to block_base->formatted_contents() line 924 of /lib/blocklib.php: call to block_base->get_content_for_output() line 976 of /lib/blocklib.php: call to block_manager->create_block_contents() line 349 of /lib/blocklib.php: call to block_manager->ensure_content_created() line 6 of /theme/aardvark_postit/layout/general.php: call to block_manager->region_has_content() line 654 of /lib/outputrenderers.php: call to include() line 612 of /lib/outputrenderers.php: call to core_renderer->render_page_layout() line ? of unknownfile: call to core_renderer->header() line 1291 of /lib/setuplib.php: call to call_user_func_array() line 91 of /index.php: call to bootstrap_renderer->__call() line 91 of /index.php: call to bootstrap_renderer->header() Did you remember to make the first column something unique in your call to get_records? Duplicate value '1' found in column 'id'. line 818 of /lib/dml/mysqli_native_moodle_database.php: call to debugging() line 1358 of /calendar/lib.php: call to mysqli_native_moodle_database->get_records_sql() line 36 of /blocks/calendar_month/block_calendar_month.php: call to calendar_get_default_courses() line 280 of /blocks/moodleblock.class.php: call to block_calendar_month->get_content() line 232 of /blocks/moodleblock.class.php: call to block_base->formatted_contents() line 924 of /lib/blocklib.php: call to block_base->get_content_for_output() line 976 of /lib/blocklib.php: call to block_manager->create_block_contents() line 349 of /lib/blocklib.php: call to block_manager->ensure_content_created() line 6 of /theme/aardvark_postit/layout/general.php: call to block_manager->region_has_content() line 654 of /lib/outputrenderers.php: call to include() line 612 of /lib/outputrenderers.php: call to core_renderer->render_page_layout() line ? of unknownfile: call to core_renderer->header() line 1291 of /lib/setuplib.php: call to call_user_func_array() line 91 of /index.php: call to bootstrap_renderer->__call() line 91 of /index.php: call to bootstrap_renderer->header() Did you remember to make the first column something unique in your call to get_records? Duplicate value '1' found in column 'id'. line 818 of /lib/dml/mysqli_native_moodle_database.php: call to debugging() line 1358 of /calendar/lib.php: call to mysqli_native_moodle_database->get_records_sql() line 36 of /blocks/calendar_month/block_calendar_month.php: call to calendar_get_default_courses() line 280 of /blocks/moodleblock.class.php: call to block_calendar_month->get_content() line 232 of /blocks/moodleblock.class.php: call to block_base->formatted_contents() line 924 of /lib/blocklib.php: call to block_base->get_content_for_output() line 976 of /lib/blocklib.php: call to block_manager->create_block_contents() line 349 of /lib/blocklib.php: call to block_manager->ensure_content_created() line 6 of /theme/aardvark_postit/layout/general.php: call to block_manager->region_has_content() line 654 of /lib/outputrenderers.php: call to include() line 612 of /lib/outputrenderers.php: call to core_renderer->render_page_layout() line ? of unknownfile: call to core_renderer->header() line 1291 of /lib/setuplib.php: call to call_user_func_array() line 91 of /index.php: call to bootstrap_renderer->__call() line 91 of /index.php: call to bootstrap_renderer->header()
        Hide
        Matt Gibson added a comment -

        Hi Ken

        Sorry for the late reply - I forgot to click 'watch' on the issue and was expecting to get a copy of your comments, which didn't arrive.

        The errors you have there are from the calendar_month block, which seems to have some dodgy code in it. None of the stuff you've posted is from the AJAX marking block, so we need to look further. If you temporarily delete the instance of the calendar month block on that page, those should go away. What does the AJAX marking block look like - do you have any red box underneath it with code in it? A screenshot would be helpful.

        Thanks for taking the time to help me fix this!

        Matt

        Show
        Matt Gibson added a comment - Hi Ken Sorry for the late reply - I forgot to click 'watch' on the issue and was expecting to get a copy of your comments, which didn't arrive. The errors you have there are from the calendar_month block, which seems to have some dodgy code in it. None of the stuff you've posted is from the AJAX marking block, so we need to look further. If you temporarily delete the instance of the calendar month block on that page, those should go away. What does the AJAX marking block look like - do you have any red box underneath it with code in it? A screenshot would be helpful. Thanks for taking the time to help me fix this! Matt
        Hide
        Anthony Borrow added a comment -

        Matt - Thanks for letting me know about MDL-29971. I have moved it to CONTRIB-3239 and have assigned the issue to you. Do not hesitate to let me know if you need anything else. Peace - Anthony

        Show
        Anthony Borrow added a comment - Matt - Thanks for letting me know about MDL-29971 . I have moved it to CONTRIB-3239 and have assigned the issue to you. Do not hesitate to let me know if you need anything else. Peace - Anthony
        Hide
        Ken Stokowski added a comment -

        I did what you said with the calendar. I can't find a red box anywhere so I will attach a screenshot. Hope this helps and thanks for doing this, Ken

        Show
        Ken Stokowski added a comment - I did what you said with the calendar. I can't find a red box anywhere so I will attach a screenshot. Hope this helps and thanks for doing this, Ken
        Hide
        Matt Gibson added a comment -

        Think I've worked this out now, so a fix is on the way. One of the settings tables is missing a field on some installs, which I will get added via the upgrade code in the next version.

        Show
        Matt Gibson added a comment - Think I've worked this out now, so a fix is on the way. One of the settings tables is missing a field on some installs, which I will get added via the upgrade code in the next version.
        Hide
        Matt Gibson added a comment -

        Sorry for the delay on this. This version should put the database tables back into the state they ought to be in.

        Show
        Matt Gibson added a comment - Sorry for the delay on this. This version should put the database tables back into the state they ought to be in.
        Hide
        Ray Lawrence added a comment - - edited

        Hi Matt,

        I'm trying to install this block on a site without any success. The block is installed, it appears to the teacher if editing is turned on. No assignments appear in the block. I've created anew course, new teacher, new student, new submissions to test - no change.

        I've installed, deleted (block code and db) for all versions I can find (including the latest one on this issue), it still doesn't show and isn't populated. I've moved the site up from 2.0.2 > 2.0.6 > 2.1.3.

        The site was originally a 1.9 site if that has any bearing on this at all.

        Happy to provide any info you need to find a resolution.

        Cheers

        Ray

        Show
        Ray Lawrence added a comment - - edited Hi Matt, I'm trying to install this block on a site without any success. The block is installed, it appears to the teacher if editing is turned on. No assignments appear in the block. I've created anew course, new teacher, new student, new submissions to test - no change. I've installed, deleted (block code and db) for all versions I can find (including the latest one on this issue), it still doesn't show and isn't populated. I've moved the site up from 2.0.2 > 2.0.6 > 2.1.3. The site was originally a 1.9 site if that has any bearing on this at all. Happy to provide any info you need to find a resolution. Cheers Ray
        Hide
        Ray Lawrence added a comment -

        Ken is this fix working for you?

        Show
        Ray Lawrence added a comment - Ken is this fix working for you?
        Hide
        Steven Evans added a comment - - edited

        I am wondering if this is still being resolved? I installed the lastest plug in 2.1.4 (version 2011112505) on our latest upgraded site (Moodle 2.2.1 - 20120109) but the block is only viewable to the admin, with zero courses displayed (kind of expected this as the Admin doesn't mark any assignements) but for the Trainers the block will only display in edit mode, and will not display any of the assignments requiring marking. The courses use the Assignment Activity - upload single file, and are in simple direct grading mode. I tried running the debugging mode at developer level, but there were no bugs displayed. Just wondering if there is a bug, or if I have missed something basic in the set up? Thanks

        Show
        Steven Evans added a comment - - edited I am wondering if this is still being resolved? I installed the lastest plug in 2.1.4 (version 2011112505) on our latest upgraded site (Moodle 2.2.1 - 20120109) but the block is only viewable to the admin, with zero courses displayed (kind of expected this as the Admin doesn't mark any assignements) but for the Trainers the block will only display in edit mode, and will not display any of the assignments requiring marking. The courses use the Assignment Activity - upload single file, and are in simple direct grading mode. I tried running the debugging mode at developer level, but there were no bugs displayed. Just wondering if there is a bug, or if I have missed something basic in the set up? Thanks
        Hide
        Steven Evans added a comment -

        UPDATE on my previous message - I am happy (embarressed) to report that it was USER error preventing the block from displaying! just incase anyone else is having a similar issue, the trainers who could not see the block had the Enable AJAX settings turned off against thier individual profiles!! As soon as these were turned on the block appeared an works great! So even if you have AJAX turned on at a site level, it is worthwhile checking that the teachers have it enabled at their individual profile level. Sorry if this caused any confusion! Very much a moodle muddler here!

        Show
        Steven Evans added a comment - UPDATE on my previous message - I am happy (embarressed) to report that it was USER error preventing the block from displaying! just incase anyone else is having a similar issue, the trainers who could not see the block had the Enable AJAX settings turned off against thier individual profiles!! As soon as these were turned on the block appeared an works great! So even if you have AJAX turned on at a site level, it is worthwhile checking that the teachers have it enabled at their individual profile level. Sorry if this caused any confusion! Very much a moodle muddler here!
        Hide
        Ray Lawrence added a comment -

        Good catch! Will test out today and update Moodle docs if all is OK.

        Btw, user error is a bit harsh imo If it had been mentioned anywhere in the set up instructions it would have been handy.

        Show
        Ray Lawrence added a comment - Good catch! Will test out today and update Moodle docs if all is OK. Btw, user error is a bit harsh imo If it had been mentioned anywhere in the set up instructions it would have been handy.
        Hide
        Ken Stokowski added a comment -

        My issue was not with ajax but with the manager role I was using for my courses. Since I create all the course I kept my role as "manager". When I changed my role to "teacher" ajax marking worked fine. Thanks for all your help guys, Ken

        Show
        Ken Stokowski added a comment - My issue was not with ajax but with the manager role I was using for my courses. Since I create all the course I kept my role as "manager". When I changed my role to "teacher" ajax marking worked fine. Thanks for all your help guys, Ken
        Hide
        Gary Chan added a comment -

        Moodle 2.2
        One of our teachers could not view the tree of marking items. It turned out that his Profile settings had "Screen Reader" set to "Yes"
        Once it was set back to "No" he could view the tree of marking items again.

        Show
        Gary Chan added a comment - Moodle 2.2 One of our teachers could not view the tree of marking items. It turned out that his Profile settings had "Screen Reader" set to "Yes" Once it was set back to "No" he could view the tree of marking items again.
        Hide
        Matt Gibson added a comment -

        Hi all. Many apologies for not responding earlier - my ISP seems to have blacklisted the tracker and I no longer get emails when issues are raised or comments are posted :-/ I'll be getting on to them (angrily) later.

        The latest beta version of the block (2.1.5b5) is available for download and fixes all of these issues as well as introducing loads of new stuff. I've removed the check for users having AJAX enabled and screenreader disabled. It seemed sensible previously and I assumed people had these set by default, but I can't really see much point keeping them there if it's causing confusion, so they're gone now.

        The current permissions check is for roles with grading capabilities e.g. mod/assignment:grade, so managers who can't grade won't see anything. This might be unhelpful, so I'll look into a view-only mode. Any thoughts on what that ought to involve? I assume you'd still want to see a student's submission, even if you can't grade it.

        Show
        Matt Gibson added a comment - Hi all. Many apologies for not responding earlier - my ISP seems to have blacklisted the tracker and I no longer get emails when issues are raised or comments are posted :-/ I'll be getting on to them (angrily) later. The latest beta version of the block (2.1.5b5) is available for download and fixes all of these issues as well as introducing loads of new stuff. I've removed the check for users having AJAX enabled and screenreader disabled. It seemed sensible previously and I assumed people had these set by default, but I can't really see much point keeping them there if it's causing confusion, so they're gone now. The current permissions check is for roles with grading capabilities e.g. mod/assignment:grade, so managers who can't grade won't see anything. This might be unhelpful, so I'll look into a view-only mode. Any thoughts on what that ought to involve? I assume you'd still want to see a student's submission, even if you can't grade it.

          People

          • Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development