Note: You are currently viewing documentation for Moodle 2.0. Up-to-date documentation for the latest stable version is available here: Blocked site secret.

Blocked site secret: Difference between revisions

From MoodleDocs
No edit summary
Line 10: Line 10:
# you can follow the link indicated on the page where the warning is displayed. Your secret will be regenerated and you will be able to register.
# you can follow the link indicated on the page where the warning is displayed. Your secret will be regenerated and you will be able to register.
# you can not update your site to the required version, the only solution is to edit your database, then start a new registration
# you can not update your site to the required version, the only solution is to edit your database, then start a new registration
## Trying to register on Mooch:
* Trying to register on Mooch:
mdl_config table: delete the row named siteidentifier.
mdl_config table: delete the row named siteidentifier.
mdl_registered_hubs: delete the row referencing Mooch
mdl_registered_hubs: delete the row referencing Mooch
## Trying to register on another hub:
* Trying to register on another hub:
mdl_registered_hubs: delete the row referencing this hub
mdl_registered_hubs: delete the row referencing this hub

Revision as of 04:19, 28 February 2011

Note: a secret is sometimes called siteidentifier.

If during your site registration you see the message "your site secret is blocked", it means that the hub administrator blocked any registration from a site having your site secret. There are multiple reasons for the hub administrator to block a secret:

  • you were using a buggy third party custom script installing Moodle for you. Some scripts install many Moodle sites with the same secret. In this case these sites would be able to update each other registration and they would be able to spam under name of the other site using the same secret. A hub administrator will detect the problem easily and will most likely blocked the secret.
  • buggy version of the Mac Moodle package. There were were an issue with the official Mac Moodle package that create the same siteidenfier (http://tracker.moodle.org/browse/MDL-26619). Mooch blocked this secret.
  • someone stole your secret, the hub administrator detected it (weird behaviour on the hub or you alerted him), and he blocked the secret.

Resolving the issue

  1. you can follow the link indicated on the page where the warning is displayed. Your secret will be regenerated and you will be able to register.
  2. you can not update your site to the required version, the only solution is to edit your database, then start a new registration
  • Trying to register on Mooch:

mdl_config table: delete the row named siteidentifier. mdl_registered_hubs: delete the row referencing Mooch

  • Trying to register on another hub:

mdl_registered_hubs: delete the row referencing this hub