MyBB Community Forums

Full Version: PHPBB To MyBB Users problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
A user at mybb-plugins.com reported this problem, he's getting this error:
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /membri/pathtofile/class_converter_module.php on line 20

And I believe the problem is in this part of the code:
class Converter_Module
{
    public $board = null;
    
    public function __construct($board)
    }
        global $import_session;
The bracket before global $import_session; should be { not }
Right?
Looks like the user had edited the file as the original file has { and not }
>.>
You can close this thread or just delete it