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.

Parse error

This discussion is related to the Vanilla Porter addon.
edited April 2011 in Vanilla 2.0 - 2.8
Hi,

Current version (1.4b) is broken:

Parse error: syntax error, unexpected '<' in /var/local/webroot/vanilla2export.php on line 2957

Just a <?php tag that shouldn't be there...

Comments

  • edited April 2011
    " } else if ($char < 0x80000) {
    return chr(0xc0 | (0x1f & ($char >> 6))) . chr(0x80 | (0x3f & $char));
    } else {
    return chr(0xe0 | (0x0f & ($char >> 12))) . chr(0x80 | (0x3f & ($char >> 6))). chr(0x80 | (0x3f & $char));
    }
    }
    }<?php"






    should be:



    " } else if ($char < 0x80000) {
    return chr(0xc0 | (0x1f & ($char >> 6))) . chr(0x80 | (0x3f & $char));
    } else {
    return chr(0xe0 | (0x0f & ($char >> 12))) . chr(0x80 | (0x3f & ($char >> 6))). chr(0x80 | (0x3f & $char));
    }
    }
    }"
  • ToddTodd Chief Product Officer Vanilla Staff
    This has been fixed and the most recent version of the porter is okay.
Sign In or Register to comment.