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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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
Just realized how old this post was. Ooops. Hopefully someone will benefit though.