Greetings to zope. I have just installed zope that came with the mandriva2000le(mandrake 10.2) and tried the excercise in the ZopeBook. All has been well until the guestbook exercise wherein a particular python script was granted manager rights in the proxy tab. Upon trying out the page with the script as an anonymous user, I'm asked for a username and password. According to the book, this was not suppose to happen since I already gave the script manager rights. Please refer to the error below. Site Error An error was encountered while publishing this resource. Error Type: Unauthorized Error Value: You are not allowed to access 'manage_addDTMLDocument' in this context 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 error log. If the error persists please contact the site maintainer. Thank you for your patience. Can anybody please give suggestions on how to change access rights for the error value above? Many thanks in advance, Noel S.
Emmanuel V. Salvador wrote at 2005-7-8 10:51 +0800:
... Upon trying out the page with the script as an anonymous user, I'm asked for a username and password. According to the book, this was not suppose to happen since I already gave the script manager rights. Please refer to the error below.
Site Error
An error was encountered while publishing this resource.
Error Type: Unauthorized Error Value: You are not allowed to access 'manage_addDTMLDocument' in this context
Whenever you get an "Error" (as the above one), you *ALWAYS* should look at the traceback. You find it in the "error_log" object (ZMI --> "Root Folder" --> "error_log"). "Unauthorized" are usually discarded. You must reconfigure "error_log" to keep them. Difficult "Unauthorized" problems are best analysed with the "VerboseSecurity" product. -- Dieter
Thanks for the tip. On Saturday 09 July 2005 1:58 am, you wrote:
Emmanuel V. Salvador wrote at 2005-7-8 10:51 +0800:
... Upon trying out the page with the script as an anonymous user, I'm asked for a username and password. According to the book, this was not suppose to happen since I already gave the script manager rights. Please refer to the error below.
Site Error
An error was encountered while publishing this resource.
Error Type: Unauthorized Error Value: You are not allowed to access 'manage_addDTMLDocument' in this context
Whenever you get an "Error" (as the above one), you *ALWAYS* should look at the traceback. You find it in the "error_log" object (ZMI --> "Root Folder" --> "error_log").
"Unauthorized" are usually discarded. You must reconfigure "error_log" to keep them.
Difficult "Unauthorized" problems are best analysed with the "VerboseSecurity" product.
participants (2)
-
Dieter Maurer -
Emmanuel V. Salvador