Skip to:
Content
Pages
Categories
Search
Top
Bottom

bbp_new_converter cant connect to db

  • @capsx

    Participant

    hi all!

    i have strange bug

    1. i converted phpBB to bbpress with users – all was fine

    2. but – users cant log in with old phpBB passwords

    3. sou i found, that:

    $converter = bbp_new_converter( $row->meta_value );
    var_dump($converter);

    says, that it can’t connect to database;

    var_dump($wpdb) shows correct passwords

    but bbp_new_converter object cant connect to database …

    [“error”]=> object(WP_Error)#1764 (2) { [“errors”]=> array(1) { [“db_connect_fail”]

    anyone can help ???

Viewing 3 replies - 1 through 3 (of 3 total)
  • @capsx

    Participant

    bb-converter.php

    this is wrong, it only works from admin, cause when user log in, $_POST array will not have information about DB:

    $this->opdb = new wpdb( $_POST[‘_bbp_converter_db_user’], $_POST[‘_bbp_converter_db_pass’], $_POST[‘_bbp_converter_db_name’], $_POST[‘_bbp_converter_db_server’] );
    $this->opdb->prefix = $_POST[‘_bbp_converter_db_prefix’];

    @netweb

    Keymaster

    Thanks, this has now been fixed for the next release 2.1.3

    @capsx

    Participant

    it must be fixed, but it seems it was not the problem, why old phpBB users cant log in with old passwords

    with FRESH install all was fine …

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