[Zope-CMF] Registration/Login problems on freshly installed CMF1.2 on Zope2.4/Win2000

Ross Balmer ross@i2dm.co.uk
Thu, 7 Feb 2002 17:57:13 -0000


Hello,

I have recently installed CMF 1.2 on Zope 2.4 running on Windows 2000.

I created a standard dogbowl-style CMF Portal, I haven't yet modified
anything within the site, and when I created it I opted to create my own
user folder.

Everything went well until I tried to register and log on. The site seems to
work with the guest and administrator users but after I registered username
"ross" and password "pass", clicking the "log on now" link or logging in
through the logon form caused everything to go wrong. All pages now give me
an AttributeError.

Here's the error report and traceback I get from the front page (I get a
similar error for every page when I'm logged in as ross)

Site Error
An error was encountered while publishing this resource.
AttributeError
Sorry, a site error occurred.

Traceback (innermost last):
  File D:\Zope\lib\python\ZPublisher\Publish.py, line 223, in publish_module
  File D:\Zope\lib\python\ZPublisher\Publish.py, line 187, in publish
  File D:\Zope\lib\python\Zope\__init__.py, line 226, in
zpublisher_exception_hook
    (Object: TestPortal1)
  File D:\Zope\lib\python\ZPublisher\Publish.py, line 171, in publish
  File D:\Zope\lib\python\ZPublisher\mapply.py, line 160, in mapply
    (Object: index_html)
  File D:\Zope\lib\python\ZPublisher\Publish.py, line 112, in call_object
    (Object: index_html)
  File D:\Zope\lib\python\Products\CMFCore\FSDTMLMethod.py, line 110, in
__call__
    (Object: index_html)
  File D:\Zope\lib\python\DocumentTemplate\DT_String.py, line 546, in
__call__
    (Object: index_html)
  File D:\Zope\lib\python\Products\CMFCore\FSDTMLMethod.py, line 105, in
__call__
    (Object: standard_html_header)
  File D:\Zope\lib\python\DocumentTemplate\DT_String.py, line 546, in
__call__
    (Object: standard_html_header)
  File D:\Zope\lib\python\Products\CMFCore\FSDTMLMethod.py, line 105, in
__call__
    (Object: actions_box)
  File D:\Zope\lib\python\DocumentTemplate\DT_String.py, line 546, in
__call__
    (Object: actions_box)
  File D:\Zope\lib\python\DocumentTemplate\DT_Let.py, line 147, in render
    (Object: isAnon="portal_membership.isAnonymousUser()"
          AuthClass="isAnon and 'GuestActions' or 'MemberActions'"
          uname="isAnon and 'Guest'
                 or
portal_membership.getAuthenticatedMember().getUserName()"
          obj="this()"
          actions="portal_actions.listFilteredActionsFor(obj)"
          user_actions="actions['user']"
          folder_actions="actions['folder']"
          object_actions="actions['object'] + actions['workflow']"
          global_actions="actions['global']")
  File D:\Zope\lib\python\DocumentTemplate\DT_Util.py, line 231, in eval
    (Object: portal_actions.listFilteredActionsFor(obj))
    (Info: obj)
  File <string>, line 2, in f
    (Object: guarded_getattr)
  File D:\Zope\lib\python\Products\CMFCore\ActionsTool.py, line 170, in
listFilteredActionsFor
    (Object: portal_actions)
  File D:\Zope\lib\python\Products\CMFCore\WorkflowTool.py, line 403, in
listActions
    (Object: portal_workflow)
  File D:\Zope\lib\python\Products\CMFDefault\DefaultWorkflow.py, line 143,
in listGlobalActions
    (Object: default_workflow)
  File D:\Zope\lib\python\Products\CMFCore\CatalogTool.py, line 193, in
searchResults
    (Object: portal_catalog)
  File D:\Zope\lib\python\Products\ZCatalog\ZCatalog.py, line 653, in
searchResults
    (Object: portal_catalog)
  File D:\Zope\lib\python\Products\ZCatalog\Catalog.py, line 650, in
searchResults
  File D:\Zope\lib\python\Products\ZCatalog\Catalog.py, line 538, in
_indexedSearch
  File D:\Zope\lib\python\Products\PluginIndexes\common\UnIndex.py, line
402, in _apply_index
    (Object: expires)
AttributeError: find

Is this a known issue, or does anybody recognize it? Is there an easy fix,
perhaps by installing a different version of Zope or CMF?

I'm only a Zope novice, though I'm an experienced programmer, so with some
effort I may be able to get to the source of the problem on my own, but if
anyone has seen this before and has any ideas I'd be extremely grateful to
know.

thanks
Ross
ross@i2dm.co.uk