Skip to:
Content
Pages
Categories
Search
Top
Bottom

intallation error and question

  • @kblog

    Member

    I just installed bbPress into the same database as my wordpress blog. Now I get an error when trying to use it.

    test blog: http://www.kidoinfo.com/stage/

    forum: http://www.kidoinfo.com/stage/bulletinboard/

    Maybe it’s because I don’t understand the difference in one of the setup parameters:

    “If you’ve installed bbPress into a subdirectory of your WordPress installation, define $bb->wp_home and $bb->wp_siteurl as your WordPress blog address and WordPress address”

    -I think they have the same address: http://www.kidoinfo.com/stage/

    (not this is a test version of the site that is password protected) NOTE: if it’s not possible to troubleshoot this error because the test site is behind a password, let me know and I’ll go ahead and put it in the public site, but I’d rather not until it’s all set up.

    Here’s the error I’m getting:

    You can check the settings in wp-config.php and see if they’re the same.

    Warning: Cannot modify header information – headers already sent by (output started at /home/kidoinfo/public_html/stage/bulletinboard/config.php:1) in /home/kidoinfo/public_html/stage/bulletinboard/bb-includes/pluggable.php on line 37

    Warning: Cannot modify header information – headers already sent by (output started at /home/kidoinfo/public_html/stage/bulletinboard/config.php:1) in /home/kidoinfo/public_html/stage/bulletinboard/bb-includes/pluggable.php on line 37

    Warning: Cannot modify header information – headers already sent by (output started at /home/kidoinfo/public_html/stage/bulletinboard/config.php:1) in /home/kidoinfo/public_html/stage/bulletinboard/bb-includes/pluggable.php on line 164

    and here’s the config info for WordPress blog and for bbpress:

    WordPress:

    wp-config.php

    <?php

    // ** MySQL settings ** //

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

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

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

    define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value

    // define(‘DB_CHARSET’, ‘utf8’);

    // define(‘DB_COLLATE’, ”);

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

    $table_prefix = ‘wp_’; // 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’, ”);

    bbPress:

    config.php

    You can check the settings in wp-config.php and see if they’re the same.<?php

    // ** MySQL settings ** //

    define(‘BBDB_NAME’, ‘kidoinfo_wrdp3’); // The name of the database

    define(‘BBDB_USER’, ‘kidoinfo_wrdp3’); // Your MySQL username

    define(‘BBDB_PASSWORD’, ‘xxxxxxxxxxxx’); // …and password

    define(‘BBDB_HOST’, ‘localhost’); // 99% chance you won’t need to change these last few

    define(‘BBDB_CHARSET’, ‘utf8’); // If you are *upgrading*, and your old config.php does

    define(‘BBDB_COLLATE’, ”); // not have these two contstants in them, DO NOT define them

    // If you are installing for the first time, leave them here

    // 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://www.kidoinfo.com/stage/bulletinboard/&#8217;;

    // What are you going to call me?

    $bb->name = ‘Kidoinfo Bulletin Board’;

    // This must be set before you run the install script.

    $bb->admin_email = ‘douglas.itkin@gmail.com’;

    // Set to true if you want pretty permalinks, set to ‘slugs’ if you want to use slug based pretty permalinks.

    $bb->mod_rewrite = ‘slugs’;

    // 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 = ‘xxxxxxxxxxxx’; // 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://www.kidoinfo.com/stage/&#8217;; // WordPress – Options->General: Blog address (URL) // Example: ‘http://example.com&#8217;

    $bb->wp_siteurl = ‘http://www.kidoinfo.com/stage/&#8217;; // WordPress – Options->General: WordPress address (URL) // Example: ‘http://example.com&#8217;

    /* Stop editing */

    if ( !defined(‘BBPATH’) )

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

    require_once( BBPATH . ‘bb-settings.php’ );

    Thanks in advance for any assistance people can provide.

Viewing 2 replies - 1 through 2 (of 2 total)
  • @fel64

    Member

    Please copy huuuuuge swathes of code to http://pastebin.ca and link to them instead of filling the forum.

    wp_home and wp_siteurl are different in the same way that “WordPress address” and “blog address” in your Options in WP-Admin are different. Check if you need to change that.

    @chrishajer

    Participant

    Did you add anything related to cookies in your config.php or wp-config.php? Line 37 of pluggable.php deals with cookiedomain so I am just wondering if you are doing anything with cookies at all, for that to error out like that. The “cannot modify header” errors are coming because something printed an error that was unexpected.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar