Migrating from phpBB

awandawand New
edited July 2019 in Vanilla 3.x Help


This is my first post as I'm planning om migrating a phpBB forum to Vanilla.

Just wanted to check before I go ahead with this large operation (250k posts forum). Any thing I should be careful about, aware of or known issues when migrating?




  • awandawand New
    edited July 2019

    So I use the latest Porter (https://open.vanillaforums.com/addon/porter-core) , php7.1 and 7.3 (I can choose), stumbled upon a problem right away, probably related to my host not supporting the old mysql database driver anymore:

    • mysql_connect is an undefined function. Verify MySQL extension is installed and enabled.

    So I checked my host's documentation and they state that I can connect to my database by using this:

    $con=mysqli_connect("example.com.mysql", "username", "password", "database");

    Anyone who can help me get past this obstacle?

    (I also see others have the same issue: https://open.vanillaforums.com/discussion/36921/vanilla-porter-version-2-4-with-php-7-x#latest)



  • open up vanilla2export.php


        $connection = @mysql_connect($this->_host, $this->_username, $this->_password);


        $connection = @mysqli_connect($this->_host, $this->_username, $this->_password);


        if (!function_exists('mysql_connect')) {


        if (!function_exists('mysqli_connect')) {

    basically change mysql connect to mysqli connect note I'm not a programmer so may be worth waiting for someone with a touch more knowledge than myself - tho I'm fairly certain if it was my forum at that size I would be bringing things down to a local environment with a repository involved to ensure things went smoothly.

  • LincLinc Former Staff Detroit Admin

    There's an issue with how the database extension is set in Porter currently. I've detailed them in a bug ticket for our migrations team: https://github.com/vanilla/porter/issues/184

  • Thanks Linc!

    Your reply and creation of the bug ticket is much appreciated. Hopefully the issue can be looked into soon.

    Best regards,


  • Just had a look at the Porter Github repo. I see the latest commit is from october 2018...

    In regards to the problem I reported above, is it likely there will be a fix soon? Hope so. Got a few thousand members waiting for an update.

    @Linc let me know. Cheers!


Sign In or Register to comment.