trac-ticketlinks / templates / error.cs

<?cs include "header.cs"?>

<?cs if error.type == "internal" ?>

<h3>Oups...</h3>

<p>
Trac detected an internal error:
</p>
<pre>
<?cs var:error.message ?>
</pre>

<p>
If you think this really should work and you can reproduce it. Then you 
should consider to report this problem to the Trac team.
</p>
<p>
Go to
<a href="<?cs var:trac.href.homepage ?>"><?cs var:trac.href.homepage ?></a> 
and there you create a new ticket where you describe
the problem, how to reproduce it and don't forget to include the python
traceback found below.
</p>

<?cs elif error.type == "permission" ?>

<h3>Permission denied</h3>
<p>
This action requires <tt><?cs var:error.action ?></tt> permission.
</p>

<p>
The Trac administration program <tt>trac_admin.py</tt> can be used to grant 
permissions to users like this:

<pre>
  $ trac-admin /path/to/trac.db permission add <i>username</i> <?cs var:error.action ?>
</pre>
or to any authenticated users:
<pre>
  $ trac-admin /path/to/trac.db permission add authenticated <?cs var:error.action ?>
</pre>
or to everybody:
<pre>
  $ trac-admin /path/to/trac.db permission add anonymous <?cs var:error.action ?>
</pre>
</p>

<?cs /if ?>

<?cs if $error.traceback ?>
<h4>Python traceback</h4>
<pre>
<?cs var:error.traceback ?>
</pre>
<?cs /if ?>

<?cs include "footer.cs"?>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.