[ZCM] [ZC] 773/ 3 Comment "Also, an error occurred while attempting to render the standard error message."

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin at zope.org
Mon Aug 2 00:25:17 EDT 2004


Issue #773 Update (Comment) "Also, an error occurred while attempting to render the standard error message."
 Status Pending, Zope/bug medium
To followup, visit:
  http://collector.zope.org/Zope/773

==============================================================
= Comment - Entry #3 by gsudha on Aug 2, 2004 12:25 am

Is there a fix to this issue? I am using Plone 2.0.3 on Zope 2.7.1 and get the same problem using mysqlUserFolder for User Management Error page content shown below:

------------------------------------------
Site Error
An error was encountered while publishing this resource. 

Forbidden

Sorry, a site error occurred.

Traceback (innermost last): 

Module ZPublisher.Publish, line 163, in publish_module_standard 
Module Products.PlacelessTranslationService.PatchStringIO, line 51, in new_publish 
Module ZPublisher.Publish, line 127, in publish 
Module Zope.App.startup, line 203, in zpublisher_exception_hook 
Module ZPublisher.Publish, line 91, in publish 
Module ZPublisher.BaseRequest, line 423, in traverse 
Module Products.mysqlUserFolder.mysqlUserFolder, line 745, in validate 
Forbidden: You are not authorized to access this document. (Also, an error occurred while attempting to render the standard error message.) 


--------------------------------------------------------------------------------

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 error log. 

If the error persists please contact the site maintainer. Thank you for your patience. 
----------------------------------------------
________________________________________
= Comment - Entry #2 by KuznetV on May 11, 2004 10:46 am

I have the same issue with Zope 2.7.0 on W2k
________________________________________
= Request - Entry #1 by Anonymous User on Jan 17, 2003 1:25 am

Having a password protected section of a site, with the
 usual acl_users entry, role and permission 
 settings, when  hitting CANCEL at the HTTP 
 authentication pop up window (where 
 username/password get keyed in), the  following error 
 comes from Zope:
 
   You are not authorized to access this resouce
   Username and password are not correct
 
  (Also, an error occurred while attempting to render
  the standard error message.)

The "Also..." part seems to be related to secondary error exceptions, that is, an error triggered by a bug or typo in the actual standard_error_message that is supposed to be rendered (traversal taken into account already, so we are dealing with the correct standard_error_message object).

The standard_error_message is left with nothing but the minimum HTML tags to print out something and still the above error message gets rendered in the browser (including the irrelevant not authorized part, of course). So there are no bugs or even code in the standard_error_message

While logged as manage and editing the standard_error_message, hitting the VIEW management tab 
renders and correctly displays the standard_error_message.

This behavior started happening on 2.6.0, the application used to run and render the application's customized standard_error_messages perfectly in 2.5.1. When migrated to the new 2.6.0 the above described scenario started happening. 

==============================================================



More information about the Zope-Collector-Monitor mailing list