https://bugzilla.wikimedia.org/show_bug.cgi?id=42441
--- Comment #12 from Platonides <[email protected]> 2012-12-02 18:05:00 UTC --- It was very long due to the reference to the CurlHttpRequest being expanded. In summary, it is failing at: curl_setopt_array( $curlHandle, array( CURLOPT_PROXY => NULL, CURLOPT_TIMEOUT => 25, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_0, CURLOPT_WRITEFUNCTION => CurlHttpRequest::read, CURLOPT_HEADERFUNCTION => CurlHttpRequest::readHeader, CURLOPT_MAXREDIRS => 5, CURLOPT_ENCODING => "", CURLOPT_REFERER => "http://wow.wikibase.nl/index.php/Template:Organization", CURLOPT_USERAGENT => "MediaWiki/1.20.0", CURLOPT_SSL_VERIFYHOST => true, CURLOPT_SSL_VERIFYPEER => true, CURLOPT_CUSTOMREQUEST => "GET", CURLOPT_HTTPHEADER => array( "Referer: http://wow.wikibase.nl/index.php/Template:Organization", "User-Agent: MediaWiki/1.20.0" ) ) ); I don't see anything obviously wrong. Is it possible that your php does not support SSL and is failing on the CURLOPT_SSL_* options? There is a small bug in doing sslVerifyHost => true, that was fixed after 1.20 (bce969). After a bit of testing that seems to return false without a notice on 5.3.x Change protected $sslVerifyHost = true; to protected $sslVerifyHost = 2; on the beginning of MWHttpRequest (around line 190). and see if it fixes. If it is still failing, can you create a file with these lines and check its output? <?php ini_set('display_errors',1); error_reporting(E_ALL | E_STRICT); $curlHandle=curl_init(); var_dump( curl_setopt_array( $curlHandle, array( CURLOPT_PROXY => NULL, CURLOPT_TIMEOUT => 25, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_0, CURLOPT_MAXREDIRS => 5, CURLOPT_ENCODING => "", CURLOPT_REFERER => "http://wow.wikibase.nl/index.php/Template:Organization", CURLOPT_USERAGENT => "MediaWiki/1.20.0", CURLOPT_SSL_VERIFYHOST => true, CURLOPT_SSL_VERIFYPEER => true, CURLOPT_CUSTOMREQUEST => "GET", CURLOPT_HTTPHEADER => array( "Referer: http://wow.wikibase.nl/index.php/Template:Organization", "User-Agent: MediaWiki/1.20.0" ) ) ) ); -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
