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.

vanilla2export parse error?

Parse error: syntax error, unexpected $end in vanilla2export. php on line 1132

line 1132 is blank?

uploaded vanilla2export.php to root directory where phpbb3 forum install is i want to export to vanilla 2 pointed browser to address & error message received above

any help/direction would be appreciated

Comments

  • Welcome to the community!

    Did you modify the file in any way?

    Could you download a fresh copy and try again?

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • edited June 2013

    thanks.
    no i did not modify in any way
    i uploaded a fresh copy

    edit:
    re-upped file I'm now able to enter the export tool page asking for all details ect

  • seems my edit windows expired so i'll just post again that we seem to be imported and running somewhat.

    side note:we have a lot of photos on our forum and it's a different tag to phpbb3 is there anyway to change this apart from individual post edits?

  • What are the tag differences?

    What version of Vanilla are you running?

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • phpbb3 uses the [IMG] tag
    any posts with an image URL just show up as the image address and if viewing the source for a post its enclosed in the IMG tags

    any smilies in posts show up as broken images in the image tags.not so much an issue though.

    can i link to an example thread? http://dirtyoldguitars.com/vanillatest/discussion/73/temptation#Item_15

    running Version 2.0.18.8

    thanks for your help

  • That link asks me to login. I tried to make an account, but you need to set up your reCaptcha key.

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • my bad i've changed it to approve for the moment while we test this out
    thanks again for bothering to try

  • Alright. From what I gathered, you have two issues:

    1. Your default input formatter is set to HTML. This is why new [img] won't work.
    2. Your old posts have the url encoded and escaped so the BBCode parser isn't working correctly.

    The first one is easy to fix, put $Configuration['Garden']['InputFormatter'] = 'BBCode'; in your /conf/config.php file.

    The second issue will require you to do some regex/parsing on the db (or on the import files). The example of http:\/\/auctions.c.yimg.jp\/img239.auctions.yahoo.co.jp\/users\/1\/7\/5\/6\/moondistortion-img600x563-1369633470r4cmql80700.jpg should come out to http://auctions.c.yimg.jp/img239.auctions.yahoo.co.jp/users/1/7/5/6/moondistortion-img600x563-1369633470r4cmql80700.jpg.

    I am not entirely sure of an easy way to do this. Maybe someone else here can come up with a more intelligent way.

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • edited June 2013

    ok so i did step 1 that seemed simple enough.
    if i click edit on a post then save it made the image appear.
    the one in your last post didn't.
    edit:same as in some other posts elsewhere.I think i understand what you're referring to in issue 2 now a bit

    and i have no idea what you mean in step 2 honestly I think I should maybe leave that alone ... for now anyway

Sign In or Register to comment.