[Zope] Modifying Standard Error Pages
Phil Harris
phil.harris@zope.co.uk
Tue, 21 Mar 2000 16:10:02 -0000
Sorry to butt in on an ongoing conversation, but:
Is it possible to do a redirect if a NotFound error is reported.
I'm trying to do this right now and failing miserably.
Any insight?
TIA
Phil
phil.harris@zope.co.uk
----- Original Message -----
From: "Toby Dickenson" <mbel44@dial.pipex.net>
To: "Chris Withers" <chrisw@nipltd.com>
Cc: "Martijn Pieters" <mj@digicool.com>; "Zope Mailing List"
<zope@zope.org>; "John Chandler" <johnc@nipltd.com>
Sent: Tuesday, March 21, 2000 3:52 PM
Subject: Re: [Zope] Modifying Standard Error Pages
> On Tue, 21 Mar 2000 15:04:59 +0000, Chris Withers <chrisw@nipltd.com>
> wrote:
>
> >I think the problem is that any changes made to standard_error_message
> >don't appear to have any effect. I've tried just simply changing the
> >text, add ' - wibble' after 'Zope Error' and the old error message is
> >still displayed, even after restarting Zope...
> >
>
> This is what happens when an exception is raised while rendering
> standard_error_message (obtained through acquisition).
>
> ZPublisher renders the default standard_error_message, rather than let
> a problem go unreported.
>
>
>
>
> Toby Dickenson
> tdickenson@geminidataloggers.com
>
> _______________________________________________
> 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 )