
rickard.andersson at gmail
Nov 19, 2006, 4:24 PM
Post #1 of 3
(3643 views)
Permalink
|
|
"HTML preview not available"
|
|
It appears my PHPHighlighter won't work and I have no idea why. Here's the DEBUG output from the log: 2006-11-20 00:01:12,473 Trac[browser] DEBUG: Rendering preview of node post.php [at] 15 with mime-type text/x-php; charset=iso-8859-15 2006-11-20 00:01:12,474 Trac[api] DEBUG: Trying to render HTML preview using PHPRenderer 2006-11-20 00:01:12,477 Trac[php] DEBUG: PHP command line: php -sn 2006-11-20 00:01:12,492 Trac[api] WARNING: HTML preview using <trac.mimeview.php.PHPRenderer object at 0x846086c> failed (Running (php -sn) failed: 127, php: not found .) Traceback (most recent call last): File "/usr/local/lib/python2.4/site-packages/trac/mimeview/api.py", line 456, in render return Markup(self._annotate(result, annotations)) File "/usr/local/lib/python2.4/site-packages/trac/mimeview/api.py", line 490, in _annotate for num, line in enumerate(_html_splitlines(lines)): File "/usr/local/lib/python2.4/site-packages/trac/mimeview/api.py", line 620, in _html_splitlines for line in lines: File "/usr/local/lib/python2.4/site-packages/trac/mimeview/php.py", line 89, in render raise Exception, err Exception: Running (php -sn) failed: 127, php: not found . 2006-11-20 00:01:12,495 Trac[api] DEBUG: Trying to render HTML preview using SilverCityRenderer 2006-11-20 00:01:12,511 Trac[api] DEBUG: Trying to render HTML preview using PlainTextRenderer 2006-11-20 00:01:12,511 Trac[api] DEBUG: Using default plain text mimeviewer I can run PHP from the command line without any problems. Cheers, Rickard --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to trac-users [at] googlegroups To unsubscribe from this group, send email to trac-users-unsubscribe [at] googlegroups For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~----------~----~----~----~------~----~------~--~---
|