Skip to:
Content
Pages
Categories
Search
Top
Bottom

Cannot redeclare bb_int_set_current_user()…

  • I’ve already posted this to the list, and I’ve also checked that disabling the one in the blog, stops this from happening. ;) :) However though, the plugin won’t work and do what’s it supposed too! Anyway.. on with the B.S…

    Fatal error: Cannot redeclare bb_int_set_current_user() (previously declared in /home/mypath/myuser/public_html/wp-content/plugins/bbpress-integration.2.php:14) in /home/mypath/myuser/public_html/forums/my-plugins/bbpress-integration.2.php on line 13

    I got this error after uploading, and activating the newest bbpress-integration.2.php plugin.

    I uploaded the two too:

    my-plugins/ directory

    wp-content/plugins/ directory

    Please note though: I’m using the full path to my wp-blog-header.php file, in the forum’s config.php file.

    I also have the following for near footer of the config.php if it make’s a difference:

    $bb->wp_table_prefix = ‘wp_'; // WordPress table prefix. Example: ‘wp_';

    $bb->wp_home = ‘false'; // WordPress – Options->General: Blog address (URL) // No trailing slash. Example: ‘http://example.com’

    $bb->wp_siteurl = ‘false'; // WordPress – Options->General: WordPress address (URL) // No trailing slash. Example: ‘http://example.com’

    // Use the following line *only* if you will be loading WordPress everytime you load bbPress.

    define(‘WP_BB’, true);

    I’m doing this, to be able to use some of my blog’s wp functions, for wrapping the blog’s theme around my forums..

    Is there a way to work around this, or..? Thanks in advanced! ;)

    spencerp

Viewing 5 replies - 1 through 5 (of 5 total)
  • Nevermind, I took out the path to the wp-blog-header.php file now, and adjusted my theme accordingly. :) :) If someone wants to try and figure it out though, feel free.. Might be useful later on sometime.. ;) :)

    spencerp

    That’s a WordPress Plugin, not a bbPress plugin. It should only be installed in your WordPress plugins dir.

    Oh! Okay, the way I heard it, from Trent I believe it was.. that it went in both locations. =/ Alrighty then, then this changes my whole plan of doing things. YAY!

    Well, the theme I made up for the forums now, doesn’t include any WP functional calls, or whatever. But, I’ll release the theme as a normal bbPress theme first. Then, I’ll go back to customizing it like I wanted too!

    http://spencerp.net/forums/

    Thanks a million mdawaffe (Michael), for clarifying this! ;) :)

    spencerp

    Nope….bbpress-integration goes in WP and wordpress-integration goes in bbPress! ;)

    Trent

    Hahaha.. Ah!! That’s right!! Thanks Trent.. ;) :) Usually when we talked on GTalk, I was half asleep, and millions of things going on at same time lol..

    Thanks again for clarifying this guys.. ;) :)

    spencerp

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

You must be logged in to reply to this topic.