Skip to:
Content
Pages
Categories
Search
Top
Bottom

buddypress problem with bbpress: preg match error


  • 3474163
    Inactive

    hi,

    i installed wpmu (2.8.1), buddypress (1.0.2) and bbpress (1.0.1) on xampp with subdirectories (in a subdir). everything seems to work fine, but in the wp admin > buddypress > forums setup i get the following message:

    Warning: preg_match() expects parameter 2 to be string, array given in C:\xampp\htdocs\wordpress-mu\wp-includes\comment.php on line 1270

    when i look in the file, i find this, and don’t understand anything (yea, im a noob):

    if ( isset( $response['headers']['content-type'] ) && preg_match('#(image|audio|video|model)/#is', $response['headers'][

    so, could you please help me, i tried with google and searched several boards without any success…

    thanks a lot

    loligco

Viewing 3 replies - 1 through 3 (of 3 total)

  • John James Jacoby
    Keymaster

    @johnjamesjacoby

    When do you get this error message? Like, what exactly are you trying to do when this happens? I’m not really sure what this could possibly be, other than maybe a PHP memory limit error? Or maybe the comment.php file is corrupt?

    Are you using deep integration by chance?


    Brian Neil Katz
    Participant

    @briankatz

    I completed installation of the following

    WPMU 2.8.1, (trunk 1867)

    BuddyPress 1.1

    bbpress 1.01, (trunk 2311)

    BuddyBar 1.0.3

    Site:

    http://www.wpmeetups.com

    http://www.wpmeetups.com/forums/

    Integration has been successfully set-up between Forums and BuddyPress Group Forums.

    Problem: Insertion of the following in bb-config.php: (generates a white screen)

    <php

    if ( !defined( ‘ABSPATH’ ) & !defined( ‘XMLRPC_REQUEST’ )) {

    define( ‘WP_USE_THEMES’, false );

    include_once( ‘/var/www/vhosts/wpmeetups.com/httpdocs/wp-blog-header.php’ );

    header( “HTTP/1.1 200 OK” );

    header( “Status: 200 All rosy” );

    }

    Question: Will the following correction to 2 core files correct this problem:

    You’ll actually need to patch two CORE files, to make this work now.

    wp-includes/wpmu-functions.php on line 317 and line 352

    Change _init to __constuct

    And then in wp-includes/capabilites.php on line 84 and 99

    Change _init to __constuct

    Ugh… I hope this is fixed soon.


    3474163
    Inactive

    …other than maybe a PHP memory limit error? Or maybe the comment.php file is corrupt?

    Are you using deep integration by chance?

    hey,

    thanks for your quick answer, i don’t do anything special, the message appears at the top, when i click on the forum setup.

    i downloaded the wpmu package again and inserted the comment.php in the wp.includes folder, to see if the file is corrupt, but the error message is still there…

    what is a php memory limit error and how do i fix it?

    what do you mean with deep integration?

    i installed wpmu, than added buddypress vía the plugin page, than installed bbpress manually (in a wpmu subfolder called “forums”) and added some other plugins…

    ah, and wpmu and bbpress share the database…

    but, so far i haven’t used any special integration plugin.

    greets

    loligco

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘buddypress problem with bbpress: preg match error’ is closed to new replies.
Skip to toolbar