[Zope] docLogin HOWTO for GUF

Lucas Vogel lucas7@home.com
Mon, 28 Feb 2000 20:04:19 +0700


I have done all of the steps in the How-To: How To: Use
GenericUserFolder with an SQL database document. However I feel that I
am stuck, and the place I am stuck is with the docLogin object. Whenever
I try to access this object I get this traceback below the form:

Traceback (innermost last):
  File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 214, in
publish_module
  File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 179, in
publish
  File /usr/local/zope/lib/python/Zope/__init__.py, line 202, in
zpublisher_exception_hook
    (Object: ElementWithAttributes)
  File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 151, in
publish
  File
/usr/local/zope/lib/python/Products/SiteAccess/ChangeBehaviors.py, line
224, in traverse
  File
/usr/local/zope/lib/python/Products/GenericUserFolder/GenericUserFolder.py,
line 530, in validate
    (Object: ElementWithAttributes)
  File
/usr/local/zope/lib/python/Products/GenericUserFolder/GenericUserFolder.py,
line 453, in _cookie_validate
    (Object: ElementWithAttributes)
  File
/usr/local/zope/lib/python/Products/GenericUserFolder/GenericUserFolder.py,
line 364, in _recurse_validate
    (Object: ElementWithAttributes)
  File lib/python/Products/UserDb/UserDb.py, line 289, in validate
    (Object: RoleManager)
  File lib/python/Products/UserDb/UserDb.py, line 284, in
cookie_validate
    (Object: RoleManager)
LoginRequired: (see above)

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

I think it has something to do with the _gufauth_dest variable in the
object that holds QUERY_NAME, PATH_INFO, and QUERY_STRING. Do I need to
have this page accessed as a result of input being passed to it first?


-- 
Lucas Vogel
lucas7@home.com
ICQ: 44697169