I ran the reparser from the CLI so I know for sure that it completed its work.
I ran the reparser from the CLI so I know for sure that it completed its work.
This seems to have resolved my problemJoshyPHP wrote: ↑Tue Jan 23, 2018 9:18 pm If you're using the reparser from CLI, you may try applying this change to your install before reparsing.
This is the first issue. The convertor I used as a base was intended for phpBB 3.0.12. So you need to install 3.0.12 and then convert and afterwards update your board to 3.2
And the phpbb_users only have 780 converted from IPB 3.4.6 ibf_members that have 1724.Installation error
functions_ipb34.php [ 1007 ]:
Post ID: Message parser error:
You may only use fonts up to size 200.
Step 15 of 29
Code: Select all
$size = ($size > 200) ? 200 : $size;
utf8_encode
and replace that with phpbb_set_encoding
, I think that would solve some issues.After add the code , it fixed the size error.Ger wrote: ↑Wed Oct 10, 2018 11:50 am To fix the size error, you should add the following code after this line:About the Chinese characters: IIRC I've hardcoded the convertor to migrate from ISO-8859 to UTF-8 since that way I could skip a lot of sniffing, gaining performance for my board. You can search the convertor code to look forCode: Select all
$size = ($size > 200) ? 200 : $size;
utf8_encode
and replace that withphpbb_set_encoding
, I think that would solve some issues.
Please note: I've only shared my code as an inspiration to others. It's tailored to my specific situation to convert a very big Dutch board with some specific issues. I've cut several corners to speed up the process. No one should expect it to work without proper investigation to their specific situation.
That's probably due to the function
remove_invalid_users()
in ./includes/functions_convert.php
that's called after the users have been converted. username_clean
. That value is generated after encoding the original IPB username to UTF8, stripping any special characters, lowercasing them, etc. It might be that with Chinese characters, a problem arises.I'm hoping to give the same script a go. IBP 3.4.4 to phpBB3. However the board is vanilla. Should I use prototech's script or yours?Ger wrote: ↑Mon Jan 09, 2017 12:47 pm I'm currently preparing to convert a large (± 1 million posts, ±55.000 users) from IPB 3.4 to phpBB 3.2. I've done some research, and I use the convertor from Prototech to convert from IPB 3.4 to phpBB 3.0.12. For the main part it works pretty fine after I have done some tweaking here and there. Afterwards I update to 3.1.10 and than to 3.2.latest (whichever version that will be when we're ready)
However, there is an issue with text parsing I'm trying to sort out. For some reason, many BBcodes don't seem to get parsed properly when going from IPB to phpBB 3.0.12.
It seems to me the problem resides in messages that are being changed with the functionphpbb_prepare_message($message)
, residing infunctions_ipb34.php
. BBcodes created that way display unparsed. Now I thought to be the clever kid and use the reparse BBcode function from the Support Toolkit, but than I run into the Emoji SQL error.
Perhaps there is a way to either correct the BBcode parsing during the conversion or solve the emoji issue for 3.0.12? Or simply a good regex to remove the unsupported characters?
PS: I know 3.0.12 isn't supported anymore, but for me it's a just a step between IPB and phpBB since there's only a convertor available for 3.0.12.
Luckily my host allows me to downgrade to 5.6 if I need to!