Skip to:
Content
Pages
Categories
Search
Top
Bottom

wpmu bbpress wp bbpress orgy

  • Ok here come the explanation. I have wpmu bbpress install all integrated. Styling is still a little screwy in IE but thats not the main problem.

    I have installed a copy of WP on a subdirectory. In that subdirectory I created another subdirectory for bbpress. I have been trying to install bbpress but it says it cannot access the db. I know the its not the database name, username or password it must be the path?

    here is the path structure

    mainwpmuinstall/wpinstall/bbpressinstall

    $bb->domain = ‘http://mysoberlife.com’;

    $bb->path = ‘/democlinical/forums’;

    $bb->wp_table_prefix = ‘wp_’;

    $bb->wp_home = ‘http://mysoberlife.com/democlinical’;

    $bb->wp_siteurl = ‘http://mysoberlife.com/democlinical’;

    $bb->usercookie = ‘wordpressuser’;

    $bb->passcookie = ‘wordpresspass’;

    Been trying different options and can’t get it to work. Was hoping I made some silly simple error that someone more experienced could pick up.

    I can’t think up a reason why bbpress couldn’t work on a subdirectory set up like this.

Viewing 5 replies - 1 through 5 (of 5 total)
  • I think it is a problem with the databases. Looking at bb-includes/db.php, the error “Cannot select DB” occurs when mysql_select_db() fails (search the file for “cannot” to get to the right bit). Since there’s no error about not enough parameters, I assume that mysql_connect() was successful but I’m not sure about that. It’s one of the two IMO.

    you the man!! thanks. I’ll let you know how it goes.

    Ok so i went over my config file. Figure it must not be looking at the right place. I keep getting “Cannot select DB.” Can anyone spot where I went wrong? I know the other stuff is set up correctly. Bbpress is installed in mysoberlife/democlinical/forum/. Any help would be much appreciated! Tried install bbpress inside a subdirectory on another domain and had the same problem.

    $bb_table_prefix = ‘bb_’;

    $bb->domain = ‘http://mysoberlife.com’;

    $bb->path = ‘/democlinical/forum/’;

    $bb->wp_table_prefix = ‘wp_’;

    $bb->wp_home = ‘http://mysoberlife.com/democlinical’;

    $bb->wp_siteurl = ‘http://mysoberlife.com/democlinical’;

    I’m trying to track down the same problem with “Cannot select DB.” The problem is actually upstream in a call to mysql_connect. The mysql_connect is fails, but without any separate error handing in db.php. But I don’t know why the mysql_connect is failing. The params look right, and the bbpress database has been added via my Plesk control panel.

    – Mark


    chrishajer
    Participant

    @chrishajer

    Looks like your blog is fine, but bbPress is not. Assuming you’re using the same database for both, then the connection details should be the same, other than the name of the constants (BBDB_ for bbPress instead of DB_ for WordPress – if you copied the whole section over, the constant names would be wrong.)

    It’s hard to troubleshoot these things remotely since someone needs to be able to log into your control panel to see the actual connection details, then view and edit your config.php to make sure the settings are the same. Without trusting someone with that info, you’re going to have a hard time finding help for the problem.

    P.S. please don’t post the connection details here.

    P.P.S. you can contact me directly using any email found on the site linked in my profile, or just google my name (screen name or real name, matters not). I will be glad to help off-list.

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

You must be logged in to reply to this topic.