Not Solved MyBB Merge Still requiring php7.4?
#1
Not Solved
So I've got the familiar error when trying to merge a phpbb 3.3.15 forum with myBB 1.8.39 and I get:

Fatal error: Declaration of debugErrorHandler::error($type, $message, $file = null, $line = 0) must be compatible with errorHandler::error($type, $message, $file = null, $line = 0, $allow_output = true) in /home/mgfred1/public_html/_forums/merge/resources/class_error.php on line 34

which I understand from searching is due to running php 8.x 

However, I have a Joomla website running on php 8 on the same domain and it will not run on php 7.4 so changing the php version is not an option as I don't want to take the site down.

Is there any way to get a merge to happen with php 8 or is the system still stuck with 7.4?
Reply
#2
Not Solved
do you use the merge-system you can download here or this one:

https://github.com/Sama34/merge-system
Support ended!
Reply
#3
Not Solved
I was using the one from this website, will try that one

OK, that seemed to work for the most part (except the avatars wouldn't merge across, but that's not a biggie).

However, the forums don't seem to have imported properly:

phpbb3:

[Image: image.png]

myBB:

[Image: image.png]

Uh, I figured it out, the permissions were set so that my usergroup (admin of all things) was unable to view the sub-forums.
Reply
#4
Not Solved
Hello, I also tried to merge a phpBB 3.3 to MyBB 1.8.3.

I am using the latest package available here: https://github.com/Sama34/merge-system, but I am receiving the following error:
Requirements Check

Fatal error: Uncaught TypeError: stream_set_timeout(): Argument #1 ($stream) must be of type resource, false given in /var/www/MyBB/merge/resources/functions.php:718 Stack trace: #0 /var/www/MyBB/merge/resources/functions.php(718): stream_set_timeout() #1 /var/www/MyBB/merge/index.php(666): merge_fetch_remote_file() #2 {main} thrown in /var/www/MyBB/merge/resources/functions.php on line 718

Can someone help me out or give me a hint?

Regards Joe
Reply
#5
Not Solved
Try again from my repository :
https://github.com/Sama34/merge-system/c...3R718-R722

If you are still having issues running the merge, feel free to send me your database through Discord so I can check it myself.

Regards.
Send me a DM or PM if you want to sponsor any update or addition to my plugins.

[Image: signature.png]

Discord omar.gonzalez (Omar G.#6117); Telegram at @omarugc;
Reply
#6
Not Solved
Thx for your fast help. 
I've made a bit of progress. My current "phpBB" setup runs on MariaDB, but I'm looking to migrate to PostgreSQL. Is this feasible?
I attempted a MariaDB-to-MariaDB migration, but I am encountering a connection error with the phpBB database.( The credentials are definitely correct.)
Fatal error: Uncaught mysqli_sql_exception: Connection refused in /var/www/html/forum/inc/db_mysqli.php:235 Stack trace: #0 /var/www/html/forum/inc/db_mysqli.php(235): mysqli_connect() #1 /var/www/html/forum/merge/resources/class_converter.php(242): DB_MySQLi->connect() #2 /var/www/html/forum/merge/index.php(941): Converter->db_configuration() #3 {main} thrown in /var/www/html/forum/inc/db_mysqli.php on line 235

Can a database dump be used instead?

Unfortunately, I can't send you the database, as it contains too much private information, including some details from my workplace.
I'm heading abroad for a few days off. We won't be able to resume things until the new year.
I'll keep you updated, though.
Thanks again for your assistance—I'm sure I'll need more!

Regards Joe
Reply
#7
Not Solved
I would first try to migrate from MariaDB→MariaDB and then meddle with a PostgreSQL conversion.

The error seems a bit straightforward, try to search for some possibilities :
https://stackoverflow.com/q/27905049
https://www.reddit.com/r/mysql/comments/...eption_no/

Regards.
Send me a DM or PM if you want to sponsor any update or addition to my plugins.

[Image: signature.png]

Discord omar.gonzalez (Omar G.#6117); Telegram at @omarugc;
Reply
#8
Not Solved
I have tried migrating from SMF 2.1.x to MyBB 1.8 through migrator in this site.
That required php 7.4
Migration somehow went through but post numbers are jumbled up in few topics, though their order in topic appears same as SMF.
for example : in SMF a topic has 20 posts, 1st post is numbered 2100, then 2nd post must be 2100+ in database.. 5th post must be further up of 2100+
But when migrated to MyBB, 2nd post gets 400+ number in database.
They appear in same order as they look in SMF but how come a post made at later date get earlier number ?

Saw your migrator on Github but SMF 2.1 but most of the stuff is 11 years old.
Only one users.php is 2 years old..
does it work with php 8+
Reply
#9
Not Solved
When you migrate to MyBB from any script, the primary keys are reset, so what you describe is of no importance.

(2026-01-03, 04:15 AM)DVK Wrote: They appear in same order as they look in SMF

This is what matters.

Regards.
Send me a DM or PM if you want to sponsor any update or addition to my plugins.

[Image: signature.png]

Discord omar.gonzalez (Omar G.#6117); Telegram at @omarugc;
Reply
#10
Not Solved
(2026-01-03, 04:35 PM)Omar G. Wrote: When you migrate to MyBB from any script, the primary keys are reset, so what you describe is of no importance.

(2026-01-03, 04:15 AM)DVK Wrote: They appear in same order as they look in SMF

This is what matters.

Regards.


what is the purpose of resetting primary keys ?
why cant posts be migrated in same order (acc to dateline)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)