Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Porter 1.80 - phpbb 3 to Vanilla 2 syntax error :-/

edited October 2013 in Vanilla 2.0 - 2.8

Hello.

I am attempting to migrate my forums from phpbb 3.012 (with MySQL 5.5.34) to Vanilla 2.08.18.8. I installed the Vanilla Porter 1.8.0 (vanilla2export.php) to the home directory of my current forum. The Porter is not loading on my browser, and my server error log is showing the following error:

PHP Parse error: syntax error, unexpected T_FUNCTION in [...]/vanilla2export.php on line 3497

Looking at the file with Sublime Text 2 reveals this line reads as:

'level' => array('Column' => 'Level', 'Filter' => function($Value) {

Any idea about what the problem is? I apologize, but I'm still a bit of a newb. :-/

Thanks in advance for any help. :-)

Comments

  • ShadowdareShadowdare r_j MVP
    edited October 2013

    Welcome to the community!

    That error is caused when using PHP 5.2 or earlier because Vanilla Porter uses closures, which requires PHP 5.3 or newer, so you'll need to upgrade PHP.

    Add Pages to Vanilla with the Basic Pages app

Sign In or Register to comment.