robalan (@robalan)

Forum Replies Created

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

  • robalan
    Member

    @robalan

    Awesome. Thanks anyway guys.


    robalan
    Member

    @robalan

    Version 2.9.2, and yes all keys are defined in both files, with BB_ prepending the bb-config items.

    @gerikg – thanks, I have updated wp-config.

    Still no shared cookie, still no users showing up in bbPress.


    robalan
    Member

    @robalan

    Yep.


    robalan
    Member

    @robalan

    zaerl,

    Apparently I need the second pair of eyes for when I post things here. ;o) I copied/pasted the redacted code, but didn’t add the BB_.

    On the actual config file, they are:

    define(‘BB_AUTH_KEY’, ‘same as wordpress’);

    define(‘BB_SECURE_AUTH_KEY’, ‘same as wordpress’);

    define(‘BB_LOGGED_IN_KEY’, ‘same as wordpress’);

    define(‘BB_NONCE_KEY’, ‘same as wordpress’);


    robalan
    Member

    @robalan

    Here are my config files, for reference:

    wp-config:

    <?php

    // ** MySQL settings ** //

    define(‘COOKIEPATH’, ‘/’);

    define(‘DB_NAME’, ‘###’); // The name of the database

    define(‘DB_USER’, ‘###’); // Your MySQL username

    define(‘DB_PASSWORD’, ‘###’); // …and password

    define(‘DB_HOST’, ‘internal-db.###.gridserver.com’); // 99% chance you won’t need to change this value

    define(‘DB_CHARSET’, ‘utf8’);

    define(‘DB_COLLATE’, ”);

    define(‘WP_CACHE’, true);

    define(‘SECRET_KEY’, ‘###’);

    define(‘AUTH_KEY’, ‘###’);

    define(‘SECURE_AUTH_KEY’, ‘###’);

    define(‘LOGGED_IN_KEY’, ‘###’);

    define(‘NONCE_KEY’, ‘###’);

    define(‘AUTH_SALT’, ‘###’);

    define(‘SECURE_AUTH_SALT’, ‘###’);

    define(‘LOGGED_IN_SALT’, ‘###’);

    define(‘NONCE_SALT’, ‘###’);

    // You can have multiple installations in one database if you give each a unique prefix

    $table_prefix = ”; // Only numbers, letters, and underscores please!

    // Change this to localize WordPress. A corresponding MO file for the

    // chosen language must be installed to wp-content/languages.

    // For example, install de.mo to wp-content/languages and set WPLANG to ‘de’

    // to enable German language support.

    define (‘WPLANG’, ”);

    /* That’s all, stop editing! Happy blogging. */

    define(‘ABSPATH’, dirname(__FILE__).’/’);

    require_once(ABSPATH.’wp-settings.php’);

    ?>

    bb-config:

    <?php

    /**

    * The base configurations of bbPress.

    *

    * This file has the following configurations: MySQL settings, Table Prefix,

    * Secret Keys and bbPress Language. You can get the MySQL settings from your

    * web host.

    *

    * This file is used by the installer during installation.

    *

    * @package bbPress

    */

    // ** MySQL settings – You can get this info from your web host ** //

    /** The name of the database for bbPress */

    define( ‘BBDB_NAME’, ‘###’ );

    /** MySQL database username */

    define( ‘BBDB_USER’, ‘###’ );

    /** MySQL database password */

    define( ‘BBDB_PASSWORD’, ‘###’ );

    /** MySQL hostname */

    define( ‘BBDB_HOST’, ‘internal-db.###.gridserver.com’ );

    /** Database Charset to use in creating database tables. */

    define( ‘BBDB_CHARSET’, ‘utf8’ );

    /** The Database Collate type. Don’t change this if in doubt. */

    define( ‘BBDB_COLLATE’, ” );

    define(‘COOKIEPATH’, ‘/’);

    /**#@+

    * Authentication Unique Keys.

    *

    * Change these to different unique phrases!

    * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/bbpress/ WordPress.org secret-key service}

    *

    * @since 1.0

    */

    define(‘AUTH_KEY’, ‘###’);

    define(‘SECURE_AUTH_KEY’, ‘###’);

    define(‘LOGGED_IN_KEY’, ‘###’);

    define(‘NONCE_KEY’, ‘###’);

    define(‘AUTH_SALT’, ‘###’);

    define(‘SECURE_AUTH_SALT’, ‘###’);

    define(‘LOGGED_IN_SALT’, ‘###’);

    define(‘NONCE_SALT’, ‘###’);/**#@-*/

    /**

    * bbPress Database Table prefix.

    *

    * You can have multiple installations in one database if you give each a unique

    * prefix. Only numbers, letters, and underscores please!

    */

    $bb_table_prefix = ‘bb_’;

    /**

    * bbPress Localized Language, defaults to English.

    *

    * Change this to localize bbPress. A corresponding MO file for the chosen

    * language must be installed to a directory called “my-languages” in the root

    * directory of bbPress. For example, install de.mo to “my-languages” and set

    * BB_LANG to ‘de’ to enable German language support.

    */

    define( ‘BB_LANG’, ” );

    ?>


    robalan
    Member

    @robalan

    Also found this in bb-settings.php:

    /**

    * Should be exactly the same as the default value of the KEYS in bb-config-sample.php

    * @since 1.0

    */

    $bb_default_secret_key = 'put your unique phrase here';

    Do I need to also define the keys here manually??


    robalan
    Member

    @robalan

    Hmm, just noticed I have “SECRET KEY” in addition to the other keys (auth, secure_auth, logged_in, nonce). What’s up with that?


    robalan
    Member

    @robalan

    Thanks guys—I’m going to have a more competent db admin switch over the WordPress database so that the tables have the wp_ prefix. Everything else seems to be default, so hopefully that fixes it (though if that’s what fixes it, I’m going to be pissed). ;o)

    I’ll keep you posted.


    robalan
    Member

    @robalan

    Is it even supposed to show the WordPress users inside bbPress? I don’t even know—that’s how incomplete and fragmented the frigging instructions are. What a waste of time.


    robalan
    Member

    @robalan

    I will try having a second person at it, but I assure you there’s nothing obvious that I’m missing… if I’m skipping something simple, it has to be simple and very obscure.


    robalan
    Member

    @robalan

    zaerl,

    Yes all the defines match, and I have specified that path on both config files (though I’m not sure it’s the right path, just what the plugin told me to put).

    Still no luck.


    robalan
    Member

    @robalan

    Yes. Installed, copied the “define” code into wp-config… I’ve tried everything you’d find on other forum entries on the topic. I wouldn’t have started my own thread unless I had tried the default “have you…” options and still couldn’t get it to work…

    Any other ideas?


    robalan
    Member

    @robalan

    Just tried that again—it saved and doesn’t give any errors, but still doesn’t display any of the WordPress users. Doesn’t explain the cookie issue either.


    robalan
    Member

    @robalan

    gerikg:

    I tried installing without checking the boxes and setting it up via the admin area and got it to pass through: http://cl.ly/Gip

    However, it’s still not showing my WordPress users in bbPress: http://cl.ly/HI9 and I’m still having cookie sharing issues where it logs me out of whichever app I switch to from the other.


    robalan
    Member

    @robalan

    Yes—I’ve tried it both ways, but this time they are sharing the same db.


    robalan
    Member

    @robalan

    So… is there any way to fix it? Anyone have any other ideas? Or thoughts on why it has allowed me past that point before but now it won’t?


    robalan
    Member

    @robalan

    Already tried that tut, but trying it again isn’t getting me anywhere either—I’m getting stuck at “Step 2 check the boxes Add integration settings, Add cookie integration settings, and User integration database settings.”

    I do this, follow the next steps, and it ends up telling me: http://cl.ly/Hm1

    The only user db settings I’ve touched: http://cl.ly/GLo because my WordPress user table doesn’t have a prefix.

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