[Zope] Standard_error_message and 2.6.0
Casey Duncan
casey@zope.com
Tue, 22 Oct 2002 10:16:12 -0400
Try adding the following to your standard_error_message:
<div tal:condition="options/error_log_url | nothing">
<hr noshade />
<a href="error_log_url" tal:attributes="href options/error_log_url">
Show Error Log Entry
</a>
</div>
or
<dtml-if error_log_url>
<hr noshade />
<a href="&dtml-error_log_url;">Show Error Log Entry</a>
</dtml-if>
This made it into the CMF, but not stock Zope. I'll try and get this in for 2.6.1.
-Casey
On Tue, 22 Oct 2002 14:54:51 +0100
Tony McDonald <tony.mcdonald@ncl.ac.uk> wrote:
> Hi all,
> You might have noticed that when you get errors in your DTML/ZPT etc that
> the tracebacks in the HTML page are no longer there.
>
> You have two choices (as I see it);
> 1) edit lib/python/ZPublisher/HTTPResponse.py, look for APPEND_TRACEBACKS
> and set it to 1
> Or
> 2) add the following to the end of your standard_error_message
>
> ....
> <dtml-var standard_html_footer>
> <!--
> <dtml-var error_tb>
> -->
>
> Your choice - I opted for the second.
>
> Tone
> --
> Dr Tony McDonald, Assistant Director, FMCC, http://www.fmcc.org.uk/
> The Medical School, Newcastle University Tel: +44 191 243 6140
> A Zope list for UK HE/FE http://www.fmcc.org.uk/mailman/listinfo/zope
>
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )