Having a nightmare with mybb conversion

Converting from other board software? Good decision! Need help? Have a question about a convertor? Wish to offer a convertor package? Post here.
atreestump
Registered User
Posts: 2
Joined: Thu May 08, 2025 7:24 pm

Having a nightmare with mybb conversion

Post by atreestump »

Hi all,

I recently decided to try and install a backup from a mybb forum I was running back in 2017. I have phpbb and mybb installed in my htdocs folder in xaamp on Linux Mint just to see how I could hopefully recover the forum to then convert it to phpBB.

I installed the converter from this forum but it just keeps kicking out errors.

The first one I encountered before attempting to tinker with the converter script was this:

Code: Select all

Fatal error: Uncaught Error: Class "phpbb\db\tools" not found in /opt/lampp/htdocs/indieagora/install/convertors/convert_mybb18.php:186 Stack trace: #0 /opt/lampp/htdocs/indieagora/install/convert/convertor.php(200): include() #1 /opt/lampp/htdocs/indieagora/install/convert/controller/convertor.php(370): phpbb\convert\convertor->convert_data('mybb18') #2 /opt/lampp/htdocs/indieagora/vendor/symfony/http-kernel/HttpKernel.php(151): phpbb\convert\controller\convertor->convert('mybb18') #3 /opt/lampp/htdocs/indieagora/vendor/symfony/http-kernel/HttpKernel.php(68): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(phpbb\symfony_request), 1) #4 /opt/lampp/htdocs/indieagora/install/app.php(61): Symfony\Component\HttpKernel\HttpKernel->handle(Object(phpbb\symfony_request)) #5 {main} thrown in /opt/lampp/htdocs/indieagora/install/convertors/convert_mybb18.php on line 186
It was looking for tools.php in a different folder so I copied the file from an extraction of phpBB, leaving the tools/tool.php file where it was and still got more errors.

Code: Select all

Fatal error: Uncaught TypeError: prototech\mybb18_phpbb31_convertor\helper::__construct(): Argument #1 ($convert) must be of type convert, phpbb\convert\convert given, called in /opt/lampp/htdocs/indieagora/install/convertors/convert_mybb18.php on line 50 and defined in /opt/lampp/htdocs/indieagora/install/convertors/functions_mybb18.php:74 Stack trace: #0 /opt/lampp/htdocs/indieagora/install/convertors/convert_mybb18.php(50): prototech\mybb18_phpbb31_convertor\helper->__construct(Object(phpbb\convert\convert), Object(phpbb\config\db), Object(phpbb\db\driver\mysqli), Object(phpbb\db\driver\mysqli), Object(phpbb\db\tools\tools), Object(phpbb\user), Object(phpbb\passwords\manager), 'mybb_ontic', 'phpbb_', false, '../', 'php') #1 /opt/lampp/htdocs/indieagora/install/convert/convertor.php(200): include('/opt/lampp/htdo...') #2 /opt/lampp/htdocs/indieagora/install/convert/controller/convertor.php(370): phpbb\convert\convertor->convert_data('mybb18') #3 /opt/lampp/htdocs/indieagora/vendor/symfony/http-kernel/HttpKernel.php(151): phpbb\convert\controller\convertor->convert('mybb18') #4 /opt/lampp/htdocs/indieagora/vendor/symfony/http-kernel/HttpKernel.php(68): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(phpbb\symfony_request), 1) #5 /opt/lampp/htdocs/indieagora/install/app.php(61): Symfony\Component\HttpKernel\HttpKernel->handle(Object(phpbb\symfony_request)) #6 {main} thrown in /opt/lampp/htdocs/indieagora/install/convertors/functions_mybb18.php on line 74
So my question isn't how to wrestle with this converter as it seems like many people have issues with it, but how I can recover just the users and posts for my mybb sql backup and get them in phpBB without using this converter.
User avatar
thecoalman
Community Team Member
Community Team Member
Posts: 6836
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.

Re: Having a nightmare with mybb conversion

Post by thecoalman »

Which converter are you using? Link?

That said if you are trying to convert something from 2017 your best option will likely be finding converter from that time and convert to phpBB 3.0.14 or 3.1.0 also from that time. Download older version of XAMPP with php version from that time. Once it's any version of phpBB you can easily upgrade to latest phpBB version.
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”

Attributed - Thomas Edison
atreestump
Registered User
Posts: 2
Joined: Thu May 08, 2025 7:24 pm

Re: Having a nightmare with mybb conversion

Post by atreestump »

Hi, apologies here is the link to the converter I am using:

viewtopic.php?f=486&t=2278541

Which version of xaamp do you recommend? I was using mybb 1.8.12 when the final back up was completed.
User avatar
thecoalman
Community Team Member
Community Team Member
Posts: 6836
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.

Re: Having a nightmare with mybb conversion

Post by thecoalman »

That post is from 2014, that's a pretty lengthy topic. I'd read through it for any issues, note it's user contribution and not an official converter. The phpBB version and XAMPP version should be from that same time frame or a little earlier.

Looks like it would be phpBB 3.0.12 and XAMPP version 1.8.0.

Older versions of phpBB can be found here: https://download.phpbb.com/pub/release/

Older versions of XAMPP here: https://sourceforge.net/projects/xampp/files/

Once you get it converted to phpBB 3.0.12 change to latest XAMPP version and upgrade to latest release of phpBB.
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”

Attributed - Thomas Edison

Return to “[3.3.x] Convertors”