Skip to:

Import forums from localhost

  • fabiii


    Hi there,
    I’d like to import punBB forums to BBpress from localhost.
    I am running MAMP localy with punBB forums and I want to import them to an online BBpress installation.
    When I am typing in ‘localhost’ and credentials in the import form the script cannot find topics, messages, users and so to convert though I don’t get any DB connexion error message.

    Any advice on how to achieve this? Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Does it import anything at all? Do see any messages such as ‘Conversion Complete’?

    I think most likely it will be you have an incorrect table prefix, my PunBB dtatabase tables are all prefixed with punbb_ so you should check what yours is via phpMyAdmin. Also double check your MySQL username and password.

    If neither of the above work let me know the punBB version you are importing from and I will take a closer look for anything that may have changed recently.



    Thank you for your answer.
    This is what I have when trying to import:

    I am using punBB 1.4

    Are you sure you selected “PunBB” from the select platform list?

    Do any of the forums and categories get imported? What about users?

    I also haven’t tested punBB 1.4, I have done all my testing using 1.4.2

    These are the settings I just used testing this:

    And the results are working as expected for me (This screenshot includes a few enhancements coming in the next release of bbPress)



    I am also using punBB 1.4.2 and all the settings are just like yours but nothing is imported, no posts, no users, nothing.. 🙁

    Open up your punBB config.php file, it should be located in the root folder of your punBB install and should contain something similar to this:

    $db_host = 'localhost';
    $db_name = 'import_punbb';
    $db_username = 'root';
    $db_password = 'root';
    $db_prefix = 'punbb_';

    That table prefix punbb_ is what I suspect is incorrect.



    I know this post comes late but this can help.
    I had the same issue and could not import as nothing was found in the PunnBB database.
    Finally, I could do the import locally:
    – export punBB database from distant host
    – import to MAMP database1
    – export WordPress database from distant host
    – import to MAMP database2
    – install WordPress localy
    – run the importer
    It worked great
    Thank you for this tool!

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