Help, I am running Zope2, and using Zope securityon certain areas of my site. My problem is, after 3 unsuccessfull login attempts, Zope display the ugly error message :- How / Where do I customise this? Please Help, Michael. Zope Error Zope has encountered an error while publishing this resource. Unauthorized You are not authorized to access this resource. _____ Troubleshooting Suggestions * The URL may be incorrect. * The parameters passed to this resource may be incorrect. * A resource that this resource relies on may be encountering an error. For more detailed information about the error, please refer to the HTML source for this page. If the error persists please contact the site maintainer. Thank you for your patience.
On Mon, 13 Sep 1999, Michael Fox wrote:
Help, I am running Zope2, and using Zope securityon certain areas of my site. My problem is, after 3 unsuccessfull login attempts, Zope display the ugly error message :- How / Where do I customise this? You do not ;) Well, you can hack the ZOPE code, at the moment, ZOPE uses just the error template that is embedded in ZPublisher.
Andreas -- Andreas Kostyrka | andreas@mtg.co.at phone: +43/1/7070750 | phone: +43/676/4091256 MTG Handelsges.m.b.H. | fax: +43/1/7065299 Raiffeisenstr. 16/9 | 2320 Zwoelfaxing AUSTRIA
Michael Fox wrote:
I am running Zope2, and using Zope securityon certain areas of my site.
My problem is, after 3 unsuccessfull login attempts, Zope display the ugly error message :-
How / Where do I customise this?
At least if you use UseDb you can change it in the object properties. I'm using a somewhat hacked version of it to do all athentication. I've also changed my standard_error_message DTML method to: <!--#if "error_type=='LoginRequired'" --><!--#var error_message --><!--#else--><!-- #var standard_html_header --><HTML><TITLE>ERRO</Title><body bgcolor="#FFFFFF"> <h2>ERRO</h2> <!--#if error_message--> <!--#var error_message--> <!--#else--> <B> Error type:</B> <!--#var error_type--><BR> <B> Error value:</B> <!--#var error_value--><BR> <!--#/if--> <!--#var standard_html_footer--> When users can't login they are presented with a screen to register at the site. regards, Paulo
Please Help,
Michael.
Zope Error
Zope has encountered an error while publishing this resource.
Unauthorized
You are not authorized to access this resource. ----------------------------------------------------------------------
Troubleshooting Suggestions
* The URL may be incorrect. * The parameters passed to this resource may be incorrect. * A resource that this resource relies on may be encountering an error.
For more detailed information about the error, please refer to the HTML source for this page.
If the error persists please contact the site maintainer. Thank you for your patience.
-- Paulo Eduardo Neves maito:neves@email.com Rio de Janeiro - Brasil
participants (3)
-
Andreas Kostyrka -
Michael Fox -
Paulo Eduardo Neves