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.
I can not run the vanilla2export on my server
ahmedeldeep
New
Hello,
I wanted to use the Vanilla Porter to convert my vbulletin forum to Vanilla, but when i am running the vanilla2export.php i always get a white page without anything. please help??
Tagged:
1
Comments
You need to see you cgi error logs from your server to get to the real error behind the blank page..
maybe this can help
https://vanillaforums.org/discussion/30665/vanilla-porter-2-2-export-fails-error-2-array-pop-expects-parameter-1-to-be-array-boolean-gi
https://vanillaforums.org/discussion/comment/236802#Comment_236802
Try to find out what php version you are using. Turn on debug mode.
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
Thank you for the help, the blank page was because the error display was not active. After this i got this error
Parse error: syntax error, unexpected '[' in XXX/vanilla2export.php on line 12238
Thanks i solved the problem and i can now run the script
I changed the line 12238
from
$corruptedRecords = [];
to
$corruptedRecords[] = 0;
@DaazKu You used some 5.4 array syntax, methinks.
also here
https://github.com/vanilla/porter/blob/6e3afc593f437793b2e843d3dc92475763db0528/packages/phpbb3.php#L548
Pragmatism is all I have to offer. Avoiding the sidelines and providing centerline pro-tips.
I think it should be
$corruptedRecords = array();
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌