[Zope] Standard_error_message and 2.6.0

cyrille cyrilleml@kbuilder.net
Tue, 22 Oct 2002 16:29:21 +0200


Casey Duncan wrote:

>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>
>

but you need zope root Manager role to get access to that ressource ....
it is not accessible by users that are Manager in a sub folder, like a 
virtualhost or CMF site ...

cyrille


>
>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 )
>>    
>>
>
>_______________________________________________
>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 )
>
>
>  
>