HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Migrating from phpBB
awand
New
Hi!
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?
Thanks,
Andreas
0
Comments
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:
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)
Thanks,
Andreas
open up vanilla2export.php
change:
$connection = @mysql_connect($this->_host, $this->_username, $this->_password);
to
$connection = @mysqli_connect($this->_host, $this->_username, $this->_password);
also
if (!function_exists('mysql_connect')) {
to
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.
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,
Andreas
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!
Andreas