Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-3710

Registration with private hub throw error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • 2.2.3
    • Local: Hub
    • None

      While registering a site to my local hub, I am getting following error:

      Debug info:
      Error code: <div>Passwords must be at least 8 characters long.</div><div>Passwords must have at least 1 digit(s).</div><div>Passwords must have at least 1 lower case letter(s).</div><div>Passwords must have at least 1 upper case letter(s).</div><div>Passwords must have at least 1 non-alphanumeric character(s).</div>
      $a contents:
      Stack trace:
       
          line 56 of /user/lib.php: moodle_exception thrown
          line 1365 of /local/hub/lib.php: call to user_create_user()
          line 1182 of /local/hub/lib.php: call to local_hub->create_hub_token()
          line 341 of /local/hub/siteregistration.php: call to local_hub->register_site()
          line 295 of /local/hub/siteregistration.php: call to process_registration()
       
      Output buffer: Strict standards: Creating default object from empty value in /var/www/hub/local/hub/lib.php on line 1356 Call Stack: 0.0008 854480 1. {main}() /var/www/hub/local/hub/siteregistration.php:0 0.4280 36909856 2. process_registration() /var/www/hub/local/hub/siteregistration.php:295 0.4281 36910368 3. local_hub->register_site() /var/www/hub/local/hub/siteregistration.php:341 0.4809 37117088 4. local_hub->create_hub_token() /var/www/hub/local/hub/lib.php:1182 

      Steps to reproduce:

      1. Create a local hub site, by downloading local hub plugin from https://github.com/moodlehq/moodle-local_hub
      2. Configure hub (Site administration -> Hub -> Settings) and set it as "Don't publish this hub or courses (Private hub)"
      3. From test site go to Hubs page (Site administration -> server -> hubs)
      4. Enter Private hub url and password (for the hub site you configured in step 2) and press "Select hub"
      5. Then click on "Register with {HUB_URL}

        "

      6. if captcha is on the enter captcha and press "confirm registration"
      7. You will see above error.

      FYI:
      http://moodle.org/plugins/pluginversions.php?plugin=local_hub is out-of-date and should be updated as well.

            jerome Jérôme Mouneyrac
            rajeshtaneja Rajesh Taneja
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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