Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-26376

Saving Shibboleth setting gets invalid get_string() identifier error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.0.2
    • 2.0.1
    • Authentication
    • Fresh Moodle 2.0.1 install; enabled Shibboleth plugin; never set auth_instructions field.
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE
    • Easy

      I am getting this error message when I configure the Shibboleth plugin the first time on my test server.

      Invalid get_string() identifier: 'shibboleth_instructions' or component 'auth'
       
          * line 6058 of /lib/moodlelib.php: call to debugging()
          * line 6613 of /lib/moodlelib.php: call to core_string_manager->get_string()
          * line 245 of /auth/shibboleth/auth.php: call to get_string()
          * line 27 of /admin/auth_config.php: call to auth_plugin_shibboleth->process_config()}}

      Workaround: But once I added the following to this file, 'lang/en/auth.php', the error goes away.

      $string['shibboleth_instructions'] = 'Some text here.';

      To reproduce this issue after you tried the workaround, make sure you

      • clear the cache by calling 'admin/purgecaches.php';
      • reset the value of auth_instructions in table mdl_config_plugins to [[shibboleth_instructions]].
      • remove this line $string['shibboleth_instructions'] = 'Some text here.'; from lang/en/auth.php.
        It took me a while to figure this out.

            skodak Petr Skoda
            carsontam Carson Tam
            Helen Foster Helen Foster
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.