bbPress

Simple, Fast, Elegant

bbPress support forums » Installation

Need Help With Install - Is this config filled out correctly?

(7 posts)
  • Started 11 months ago by ronaldp423
  • Latest reply from Trent
  • This topic is resolved
  1. I have spent three hours trying to figure out what I'm doing - can someone tell me if this config.php is correct?

    I have placed xxx's in place of password, etc..

    <?php
    $bb->WP_BB = true;
    require_once( 'public_html/wp-blog-header.php' );
    // ** MySQL settings ** //
    define('BBDB_NAME', 'xqyevao_wrdp1'); // The name of the database
    define('BBDB_USER', 'xqyevao_wrdp1'); // Your MySQL username
    define('BBDB_PASSWORD', 'xxxxxxxx'); // ...and password
    define('BBDB_HOST', 'localhost'); // 99% chance you won't need to change this value

    // Change the prefix if you want to have multiple forums in a single database.
    $bb_table_prefix = 'bb_'; // Only letters, numbers and underscores please!

    // The full URL of your bbPress install
    $bb->uri = 'http://teachtheboss.com/forums/';

    // What are you going to call me?
    $bb->name = 'Teach The Boss Forums';

    // This must be set before you run the install script.
    $bb->admin_email = 'ronaldp423xxxxx.com';

    // Set to true if you want pretty permalinks, set to 'slugs' if you want to use slug based pretty permalinks.
    $bb->mod_rewrite = true;

    // The number of topics that show on each page.
    $bb->page_topics = 30;

    // A user can edit a post for this many minutes after submitting.
    $bb->edit_lock = 60;

    // Your timezone offset. Example: -7 for Pacific Daylight Time.
    $bb->gmt_offset = -5;

    // Change this to localize bbPress. A corresponding MO file for the
    // chosen language must be installed to bb-includes/languages.
    // For example, install de.mo to bb-includes/languages and set BBLANG to 'de'
    // to enable German language support.
    define('BBLANG', '');

    // Your Akismet Key. You do not need a key to run bbPress, but if you want to take advantage
    // of Akismet's powerful spam blocking, you'll need one. You can get an Akismet key at
    // http://wordpress.com/api-keys/
    $bb->akismet_key = 'xxxxxxxx'; // Example: '0123456789ab'

    // The rest is only useful if you are integrating bbPress with WordPress.
    // If you're not, just leave it as it is.

    $bb->wp_table_prefix = 'wp_'; // WordPress table prefix. Example: 'wp_';
    $bb->wp_home = 'http://teachtheboss.com'; // WordPress - Options->General: Blog address (URL) // Example: 'http://example.com'
    $bb->wp_siteurl = 'http://teachtheboss.com'; // WordPress - Options->General: WordPress address (URL) // Example: 'http://example.com'

    /* Stop editing */

    if ( !defined('BBPATH') )
    define('BBPATH', dirname(__FILE__) . '/' );
    require_once( BBPATH . 'bb-settings.php' );
    ?>

    Posted 11 months ago #
  2. Right off the cuff, I would do the following until you have it installed correctly:

    1) Remove:

    $bb->WP_BB = true;
    require_once( 'public_html/wp-blog-header.php' );

    2) Change to false:

    $bb->mod_rewrite = false;

    Once you have bbPress installed and integrated with wordpress (logins), then play around with the permalinks and the including bbPRess functions with WP.

    Trent

    Posted 11 months ago #
  3. Hi Trent,

    I did as you instructed, and it now says;

    Cannot select DB.

    Could you give me another clue on this?

    thanks

    Posted 11 months ago #
  4. It is purely in the Database information. Double check that you have the right username, password and database name. That error just means that it is the wrong info. Double check you have the right password and stuff from your WP wp-config.php

    Trent

    Posted 11 months ago #
  5. Yes. Your database info is wrong. Maybe you're the supposedly 1% that needs to change the db host - does your hosting provider give any info on connecting to databases?

    [Edit] Trent totally beat me to it, and better, too.

    Posted 11 months ago #
  6. Thanks Trent, it worked. I didn't know I could duplicate the needed entries from wp-config.

    Thanks again.

    Posted 11 months ago #
  7. Glad to hear it ronald. Marking this one as resolved. Make a new topic if you find another issue for us!

    Trent

    Posted 11 months ago #

RSS feed for this topic

Reply

You must log in to post.

Code is Poetry.