Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When d.o. is down, some code (update.module ?) fails at accessing it, causing drupal_http_request
to record fail by setting drupal_http_request_fails
to TRUE
.
In turn, this causes system.module
to reports a hook_requirements()
failure claiming that the site doesn't have access to the web and will be missing functionality, and suggesting a check bypass in settings.php
.
This is however an erroneous interpretation of the actual situation, and system.module does not have any information available at that point to known what is really happening.
Comments
Comment #1
apadernoI understand that reporting the site doesn't have access to to Drupal.org can be helpful (the administrator users are advised that their sites cannot get informed when a security update is available); still, the message should be changed, and the code should try to better diagnose the problem.
Comment #2
yoroy CreditAttribution: yoroy commentedSilly system module
Comment #3
valthebaldno mention of drupal_http_request_fails variable in the latest 8.x
Is this issue still relevant
Comment #4
swentel CreditAttribution: swentel commentedYeah, that variable is gone in D8 - might still be relevant for D7.