Simple Machines Community Forum

SMF Support => Converting to SMF => phpBB => Topic started by: postpar on February 19, 2021, 01:14:30 PM

Title: New and different errors
Post by: postpar on February 19, 2021, 01:14:30 PM
From phpBB 3.3 with the latest sql script, php 7.4, is this due to the php version?

[19-Feb-2021 18:11:36 UTC] PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in /home//public_html/forums/convert.php on line 2813
[19-Feb-2021 18:11:36 UTC] PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in /home//public_html/forums/convert.php on line 2816
[19-Feb-2021 18:11:36 UTC] PHP Notice:  Undefined index: convert_script in /home//public_html/forums/convert.php on line 987
[19-Feb-2021 18:11:36 UTC] PHP Notice:  Trying to access array offset on value of type null in /home//public_html/forums/convert.php on line 990
[19-Feb-2021 18:11:36 UTC] PHP Warning:  Invalid argument supplied for foreach() in /home//public_html/forums/convert.php on line 990
[19-Feb-2021 18:11:36 UTC] PHP Notice:  Undefined index: convert_script in /home//public_html/forums/convert.php on line 1002
[19-Feb-2021 18:11:36 UTC] PHP Notice:  file(): read of 8192 bytes failed with errno=21 Is a directory in /home//public_html/forums/convert.php on line 1002
[19-Feb-2021 18:11:36 UTC] PHP Deprecated:  strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in /home//public_html/forums/convert.php on line 2449
[19-Feb-2021 18:11:36 UTC] PHP Notice:  Undefined variable: result in /home//public_html/forums/convert.php on line 2510
[19-Feb-2021 18:11:36 UTC] PHP Notice:  Undefined variable: result in /home//public_html/forums/convert.php on line 2511
[19-Feb-2021 18:11:36 UTC] PHP Notice:  Undefined index: db_fetch_assoc in /home//public_html/forums/convert.php on line 1401
[19-Feb-2021 18:11:36 UTC] PHP Fatal error:  Uncaught Error: Function name must be a string in /home//public_html/forums/convert.php:1401
Stack trace:
#0 /home//public_html/forums/convert.php(1341): doStep2()
#1 /home//public_html/forums/convert.php(51): doStep1()
#2 {main}
  thrown in /home//public_html/forums/convert.php on line 1401
Title: Re: New and different errors
Post by: vbgamer45 on February 19, 2021, 01:25:44 PM
Try grabbing the 7.4 version here
https://github.com/SimpleMachines/converters/tree/master/SMF2.0
Title: Re: New and different errors
Post by: shadav on February 19, 2021, 01:26:51 PM
PHP Deprecated is due to the php version

which version of smf are you trying to convert to?
smf 2.0.18 works with php7.4 but anything lower will not

try lowering your php to 7.2 until after the conversion.
Title: Re: New and different errors
Post by: Antechinus on March 01, 2021, 02:15:17 AM
Is the phpBB conversion script still chock full of weird errors with post content, etc? Or have they been fixed?