SEO widget is not showing domain age with the following settings: 1. piwik is installed with a sub-domain, (eg. abc.xxx.com) 2. curl is used 3. open_basedir is set
It seems that sendHttpRequestBy in core/Http.php is not handling the redirection header when open_basedir is set and curl is used.
Yes, as the commented code states, when open_basedir is set, curl_setopt(CURLOPT_FOLLOWLOCATION) fails with php 5.2+.
Per Matt's comment in r7010, let's refactor core/Http.php into smaller subclasses (e.g., Stream, Socket, Curl). There would need to be some rework to detect the "best" method at runtime.
I definitely still think it should be refactored, but for simplicity let's close the ticket, as there would be more refactor tickets to create. Refactoring rocks! https://en.wikipedia.org/wiki/Code_refactoring