Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Syntax Hight Lighter is not working

Help
ranga
2011-07-21
2013-06-03
  • ranga
    ranga
    2011-07-21

    Hi,

    I had configured codestriker on windowsXP. everything is working fine. But, Syntax Hightlighter is not working when i open the files.   Please help me how to fix this issue.

    -Ranga.

     
  • ez2cwhy
    ez2cwhy
    2012-08-13

    Ranga,

    If you check your apache logs, you'll probably notice an error where it calls the highlighter program executable and errors out.  This is due to an incorrect switch being passed to the executable, and configured in the HighlightLineFilter.pm library (…/lib/Codestriker/Http/HighlightLineFilter.pm).  Open that library and search for "xhtml" (line 50 in mine) and you'll see that the old switch to the executable was "-xhtml".  Change this to the new format:  "-O=xhtml" and it should start behaving.

    -ez

     
  • ez2cwhy
    ez2cwhy
    2012-08-13

    Just realized how old this post was.  Ooops.  Hopefully someone will benefit though.