Closed (outdated)
Project:
Drupal core
Version:
7.x-dev
Component:
base system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 May 2011 at 13:34 UTC
Updated:
8 Oct 2011 at 11:35 UTC
Jump to comment: Most recent
Comments
Comment #1
hass commentedNever seen any issue myself and cannot repro. Sounds like a core bug or is there documentation that it is forbidden to have the same checks? I see no reason... If we have the same check it should only be done once like this check and the requirement check result should be used in all modules that use the same check.
Moving to core.
Comment #2
abaddon commentedits a bug in piwik, i dont want to dig through drupal api dogs, because you're right it might not be mentioned there, also see the linked issue and my comment - theres links to other modules that fixed this
to reproduce you need to make drupal's internal check for http requests checks fail, because you have that "if" in there:
something like putting the site behind a http auth password.. and then check the drupal status page, if the http request fails you will also have an entry on that page saying "Array()" and those error messages in the drupal recent errors log
Comment #3
hass commentedMarked #1271780: $requirements['http requests'] is already set, piwik creates it anew as dup
Comment #4
hass commentedWe need to see this in a bigger picture... e.g. 30 modules need to verify if they are able to issue HTTP requests with drupal_http_request(). This will timeout the page load. If the check is done only once, there is no problem. This may counts only for expensive checks, but as we do have them we need to solve this.
This was never a problem in D6 as I know. So it's a D7+ bug. Not sure why this was initially opened for D6.