Skip to:
Content
Pages
Categories
Search
Top
Bottom

Import Failure


  • citizenkeith
    Participant

    @citizenkeith

    I’m trying to import one of my standalone forums to the plugin. I use bbpress 1.1 and latest bbpress plugin. I ran the importer and got this error:

    Fatal error: Cannot redeclare class BPDB in /home/forum/bb-includes/backpress/class.bpdb.php on line 39

    I found this thread:

    http://bbpress.org/forums/topic/where-is-the-importer

    Following scribu’s lead, I added this to my bb-config:

    define('BB_DATABASE_CLASS', 'BPDB');

    define('BB_DATABASE_CLASS_INCLUDE', false);

    I got the same errors that he did:

    Warning: Missing argument 2 for BPDB::__construct(), called in .../forum-svn/bb-settings.php on line 197 and defined in .../plugins/bbpress/bbp-admin/importers/bbpress.php on line 29

    Warning: Missing argument 3 for BPDB::__construct(), called in …/forum-svn/bb-settings.php on line 197 and defined in …/plugins/bbpress/bbp-admin/importers/bbpress.php on line 29

    Warning: Missing argument 4 for BPDB::__construct(), called in …/forum-svn/bb-settings.php on line 197 and defined in …/plugins/bbpress/bbp-admin/importers/bbpress.php on line 29

    Fatal error: Cannot redeclare bb_cache_users() (previously declared in …/plugins/bbpress/bbp-admin/importers/bbpress.php:103) in …/forum-svn/bb-includes/functions.bb-users.php on line 39

    When I went back to the importer I see “It looks like you attempted to convert your bbPress standalone previously and got interrupted.” I chose “Continue Previous Import” and still get the error. I went back to bb-config and removed the items that I had added. Now I get this error:

    Fatal error: Cannot redeclare class BPDB in /forums/bb-includes/backpress/class.bpdb.php on line 39

    I believe I tried deep integration at one point and abandoned it. I was running the bbPress Integration plugin, not sure if that has anything to do with it:

    http://wordpress.org/extend/plugins/bbpress-integration/

    Any ideas? I’d be happy to let a developer (JJJ) take a look at things if they’d like to troubleshoot it.

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

  • Vili
    Participant

    @vilimaunula

    Have you found a solution to this? There seem to be a number of people with the same issue, and no solution that I can find.

    I have the issue, running a bbPress 1.x installation integrated with WordPress. I’d like to switch to the 2.x version, but the importer gives a fatal error.


    Vili
    Participant

    @vilimaunula

    To answer myself and help anyone else looking for a solution, it seems that the bbConverter plugin is able to do the job: http://wordpress.org/extend/plugins/bbconverter/

    I still have some issues with the conversion, like the first post of every topic showing html code, but at least I’ve made progress.

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

You must be logged in to reply to this topic.