Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Group forums working yet not working


Burt Adsit
Participant

@burtadsit

Andy, this is the results from WP_Http obj in http.php. It’s using cURL to go get the info from bbpress. Below are var dumps from line 261 in http.php

‘http obj url param:’ = $url

‘http obj request param:’ = $r

… you get the idea …

http obj url param: string(37) “http://ourcommoninterest.org/bbpress/”

http obj request param: array(8) { [“method”]=> string(3) “GET” [“timeout”]=> int(2) [“redirection”]=> int(5) [“httpversion”]=> string(3) “1.1” [“user-agent”]=> string(13) “WordPress/2.7” [“blocking”]=> bool(true) [“headers”]=> array(0) { } [“body”]=> NULL }

http obj transport: object(WP_Http_Curl)#324 (0) { }

http obj response: array(3) { [“headers”]=> array(5) { [“date”]=> string(29) “Sun, 14 Dec 2008 01:52:04 GMT” [“server”]=> string(21) “Apache/2.2.3 (CentOS)” [“content-length”]=> string(3) “292” [“connection”]=> string(5) “close” [“content-type”]=> string(29) “text/html; charset=iso-8859-1” } [“body”]=> string(292) “

Not Found

The requested URL /bbpress/ was not found on this server.

Apache/2.2.3 (CentOS) Server at ourcommoninterest.org Port 80

” [“response”]=> array(2) { [“code”]=> int(404) [“message”]=> string(9) “Not Found” } }

I know that curl is fired up on my windows server. Can’t imagine it isn’t on my linux server. Besides, the http obj tests all ‘transports’ for their existence before sticking ’em in the list of those to try at that spot where the dump is. Gonna go look anyway.

Since this code is new in mu 2.7 I don’t trust it. :)

Skip to toolbar