Hello
Your trac.ini probably contains something like:
[components]
tracopt.mimeview.php.* = enabled
or
tracopt.mimeview.php.PHPRenderer = enabled
and
[mimeviewer]
php_path=/some/path/to/php
to configure Trac for PHP syntax highlighting using an old PHP 5.2.
If so, Trac calls "/some/path/to/php -sn PH7Tpl.class.php" to generate
the syntax highlighting. I just tested this with your file and PHP
5.2.17, getting the same errors.
Either point that php_path to a newer version of PHP or disable the
tracopt.mimeview.php,PHPRenderer component and let
trac.mimeview.pygments.PygmentsRenderer handle PHP files.
-- Peter
> Le samedi 20 octobre 2012 14:53:44 UTC-4, bygord a �crit :
>
> Hello,
>
> I have this error message:
> *Warning: Unexpected character in input: '\' (ASCII=92) state=1 in
> Unknown on line 0*
> on all source files in the browser Trac.
>
> Do you know how it is due, and can you help me solve this error?
> Thank you!
>
> --
> You received this message because you are subscribed to the Google
> Groups "Trac Users" group.
> To view this discussion on the web visit
>
https://groups.google.com/d/msg/trac-users/-/PNBWjq0n4OIJ.
> To post to this group, send email to
trac-...@googlegroups.com.
> To unsubscribe from this group, send email to
>
trac-users+...@googlegroups.com.
> For more options, visit this group at
>
http://groups.google.com/group/trac-users?hl=en.