Edgewall Software
Modify

Opened 15 years ago

Closed 14 years ago

#9242 closed defect (wontfix)

PHP Source with namespaces giving Error

Reported by: Fr33z3m4n@… Owned by:
Priority: normal Milestone:
Component: version control/browser Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Remy Blank)

We are using Trac 0.11.7. At browser we have an Error viewing by an PHP File with Namespaces.

Orig. Code:
namespace namespace\package\controller;

Browser:
namespace namespaceWarning: Unexpected character in input:  '\' (ASCII=92) state=1 in Unknown on line 0coreWarning: Unexpected character in input:  '\' (ASCII=92) state=1 in Unknown on line 0controller;
4	
5	/**

Attachments (2)

Unbenannt.png (10.4 KB ) - added by Fr33z3m4n@… 15 years ago.
Error
autoloader.png (41.7 KB ) - added by Fr33z3m4n@… 15 years ago.

Download all attachments as: .zip

Change History (10)

comment:1 by Remy Blank, 15 years ago

Description: modified (diff)

Could you please attach a file here that shows the problem?

by Fr33z3m4n@…, 15 years ago

Attachment: Unbenannt.png added

Error

comment:2 by anonymous, 15 years ago

certainly. Sorry for forgetten Wiki-Coke

comment:3 by Remy Blank, 15 years ago

Actually, I meant the content of the file that generates the error.

by Fr33z3m4n@…, 15 years ago

Attachment: autoloader.png added

comment:4 by Remy Blank, 15 years ago

Are you using php for syntax highlighting, or pygments?

comment:5 by Fr33z3m4n@…, 15 years ago

php

comment:6 by Remy Blank, 15 years ago

Milestone: next-minor-0.12.x

Ok, thanks. Let's fix that in 0.12-stable.

comment:7 by Fr33z3m4n@…, 15 years ago

ok,

big thx

Submission rejected as potential spam (SpamBayes determined spam probability of 72.43%)

:(

comment:8 by Christian Boos, 14 years ago

Milestone: next-minor-0.12.x
Resolution: wontfix
Status: newclosed

Please use Pygments.

If someone can provide a patch for fixing this problem, then please do so and reopen.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.