Skip to:
Content
Pages
Categories
Search
Top
Bottom

Group forums working yet not working

  • @burtadsit

    Participant

    Yes, I have been able to get the group forums component to work and yet it doesn’t work. It works really slick on my dev box but I can’t get it to work on my live server. Go figure. Well, I’m not alone I guess. It isn’t working on testbp.org either. I tried creating a new group, enabling the forum for it and can’t post there either.

    Anybody succeed in getting this to work yet? I’ve been beating my head against it for the past 6 hrs without luck.

Viewing 25 replies - 26 through 50 (of 102 total)
  • @burtadsit

    Participant

    Hi Andy, here ya go:

    bool(false) object(IXR_Error)#292 (2) { [“code”]=> int(-32300) [“message”]=> string(114) “transport error – could not open socket: 0 php_network_getaddresses: getaddrinfo failed: Name or service not known” }

    @burtadsit

    Participant

    And also $this->options

    array(4) { [“target_uri”]=> string(37) “http://ourcommoninterest.org/bbpress/” [“username”]=> string(4) “bpbb” [“password”]=> string(6) “xxx” [“always_use_auth”]=> bool(false) }

    no the password is not ‘xxx’ and yes it is correct.

    @burtadsit

    Participant

    When bbpress_Live_Fetch obj’s constructor is called it calls $this->set_endpoint(). If it can’t get a valid endpoint then query is gonna always fail. set_endpoint() calls discover_pingback_server_uri() and it fails inside there with 404.

    @burtadsit

    Participant

    This is why I’m looking at the environment the code is running in and not the code anymore. Same code on windows dev server as live server. Same .htaccess files. Essentially the same httpd.conf files for apache.

    Gonna go look for small animals to hurt soon.

    @burtadsit

    Participant

    Things go south at wp_remote_get() inside /wp-includes/comment.php discover_pingback_uri()

    @burtadsit

    Participant

    wp_remote_get() is a new function to 2.7 it lives in wp-includes/http.php

    Looks like the http.php file is new to 2.7. Problems there in some instances?

    @burtadsit

    Participant

    This is the var_dump of $response in discover_pingback_uri()

    at pingback discover : array(3) { [“headers”]=> array(5) { [“date”]=> string(29) “Sat, 13 Dec 2008 21:35:35 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” } }

    @zenseeker

    Participant

    You gurus seem to be on top of this, but just thought I’d add what I got. Probably time for me to grab some popcorn and just sit back. Good luck. I know you’ll figure it out. Please don’t hurt any small animals in the process!

    bool(false) object(IXR_Error)#15 (2) { [“code”]=> int(-32300) [“message”]=> string(114) “transport error – could not open socket: 0 php_network_getaddresses: getaddrinfo failed: Name or service not known” }

    @burtadsit

    Participant

    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. :)

    @konoha

    Member

    I can post topics in group forums, but in the group forums and bbpress forums, when I post a group topic, the content cannot correctly display(the title is OK), I’m using Chinese.

    @meerblickzimmer

    Participant

    i get the same like zenseeker:

    bool(false) object(IXR_Error)#4989 (2) { [“code”]=> int(-32300) [“message”]=> string(114) “transport error – could not open socket: 0 php_network_getaddresses: getaddrinfo failed: Name or service not known” }

    on the same server inside another bbpress, buddypress og wpmu installation all works fine. but in another i get this.

    thanks! m

    @burtadsit

    Participant

    @meerblickzimmer What is the difference between the two installs on the same server?

    Is one wpmu/bbpress using user integration and the other not? What’s the difference?

    If we know the diff then maybe we can narrow down the problem.

    ASIDE: Yes, curl is turned on on my live server. (is that english?)

    @mikepratt

    Participant

    I’m gonna dumb down this forum a tad (apologies guys) but

    1. id bbPress a requirement for any forum functionality in BP?

    if so

    2. Why would I NOT have a wp-config in my WPMU install directory (only the sample file) (and thus no SECRET_KEY value even set to assist in bbPress install)

    Thanks. Back to our regularly schedule high-level discussion

    @burtadsit

    Participant

    Howdy mike,

    1. Yup. bp relies on bbpress for it’s forums.

    2. ahhh… you can’t not have one. It’s the only way that mu knows where to go for your database and other such things. You looking in the correct dir?

    3. Torturing animals is high-level?

    :)

    Until somebody chimes in with a magic solution to all this, I’m gonna go work on a theme. So there.

    @mikepratt

    Participant

    Hey burtadsit – funny – I figured I’d do theme work as well until someone chimed! I’ll admit to you that this is my 1st MU install, all the others were vanilla WP jobs. Wierd. I use hostgator and they are a little off in the way they store your files. Just found it via another route. Disregard. Will give the bbPress install a go. Thanks. You’ll likely be hearing form me again.

    Mike

    @burtadsit

    Participant

    I’m glad you found what you were looking for Mike. I’ve never worked with mu either. Matter of fact I’ve been out of the biz for 8 yrs. Just got back to the fun about 4/5 months ago.

    You’ll likely be hearing form me again.

    Ha. Speak up then. I’m usually too busy being loud to hear what others are saying. :)

    @bebopcool

    Participant

    here is what i have with line 462 uncommmented :

    object(IXR_Message)#64 (15) { [“message”]=> string(245) “faultCode400faultStringThe forum id is invalid.” [“messageType”]=> string(5) “fault” [“faultCode”]=> int(400) [“faultString”]=> string(24) “The forum id is invalid.” [“methodName”]=> NULL [“params”]=> array(1) { [0]=> array(2) { [“faultCode”]=> int(400) [“faultString”]=> string(24) “The forum id is invalid.” } } [“_arraystructs”]=> array(0) { } [“_arraystructstypes”]=> array(0) { } [“_currentStructName”]=> array(0) { } [“_param”]=> NULL [“_value”]=> NULL [“_currentTag”]=> NULL [“_currentTagContents”]=> string(0) “” [“_parser”]=> resource(192) of type (Unknown) [“currentTag”]=> string(6) “string” } object(IXR_Error)#65 (2) { [“code”]=> int(400) [“message”]=> string(24) “The forum id is invalid.” }

    @mikepratt

    Participant

    for the record, I have bbPress properly installed (I assume) and all appears fine except Postng Topics. No time to debug so I will await a solution as it seems to be a common issue

    @gogoplata

    Participant

    A new version of bbPress, 1.0-Alpha-4, was just released on bbPress.org which “Should fix issues that people had with integrated cookies with WordPress in 1.0-alpha-3 without reverting any new features in it.”

    Not sure if this is related to any of our problems but it’d be advisable to upgrade and see if it helps.

    Along with the cookie fixes mentioned above, this new release will also assign users a role in bbPress as soon as they visit the forums with WordPress cookies. Previously they needed to log in to be assigned a role.

    @gogoplata

    Participant

    This plugin may also be required with the new bbPress version:

    https://wordpress.org/extend/plugins/bbpress-integration/

    @wardeh

    Participant

    I’ve upgraded to the Alpha-4 of bbPress and the latest trunk of BP. Attempted to post a topic.

    There is no error returned (such as “topic can’t be posted”), yet the topic doesn’t get posted.

    @wardeh

    Participant

    Wondering… the bbPress WP integration asks one to look up auth_salt in the options. However, I don’t have an auth_salt #. I have a nonce_salt. So that’s the value I’m using. Can anyone comment on this? The other cookie values match up, just not that one.

    @wardeh

    Participant

    Hey, thanks for pointing out the plugin. I’m giving that a try now…

    @wardeh

    Participant

    I’m not having any luck with the integration plugin. :(

    @wardeh

    Participant

    Looks to me like we don’t need the plugin?

    “This functionality is now handled automatically by bbPress since bbPress 1.0-alpha-4” on the plugin “Other Notes” page.

Viewing 25 replies - 26 through 50 (of 102 total)
  • The topic ‘Group forums working yet not working’ is closed to new replies.
Skip to toolbar