We have attempted to migrate a production Plone environment running on
version 2.0.5 to version 2.1.2. The installation and migration appeared
to work okay but when we attempt to access the site we get the following
error:
Site Error
An error was encountered while publishing this resource.
AttributeError
Sorry, a site error occurred.
Traceback (innermost last):
Module ZPublisher.Publish, line 175, in publish_module_standard
Module Products.PlacelessTranslationService.PatchStringIO, line 51, in
new_publish
Module ZPublisher.Publish, line 132, in publish
Module Zope.App.startup, line 204, in zpublisher_exception_hook
Module ZPublisher.Publish, line 101, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 39, in call_object
Module Products.CMFFormController.FSControllerPageTemplate, line 102, in
__call__
Module Products.CMFFormController.BaseControllerPageTemplate, line 46,
in _call
Module Shared.DC.Scripts.Bindings, line 306, in __call__
Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
Module Products.CMFCore.FSPageTemplate, line 195, in _exec
Module Products.CMFCore.FSPageTemplate, line 134, in pt_render
Module Products.PageTemplates.PageTemplate, line 96, in pt_render
<FSControllerPageTemplate at /reps/login_form>
Module TAL.TALInterpreter, line 190, in __call__
Module TAL.TALInterpreter, line 234, in interpret
Module TAL.TALInterpreter, line 671, in do_useMacro
Module TAL.TALInterpreter, line 234, in interpret
Module TAL.TALInterpreter, line 409, in do_optTag_tal
Module TAL.TALInterpreter, line 394, in do_optTag
Module TAL.TALInterpreter, line 389, in no_tag
Module TAL.TALInterpreter, line 234, in interpret
Module TAL.TALInterpreter, line 702, in do_defineSlot
Module TAL.TALInterpreter, line 234, in interpret
Module TAL.TALInterpreter, line 409, in do_optTag_tal
Module TAL.TALInterpreter, line 394, in do_optTag
Module TAL.TALInterpreter, line 389, in no_tag
Module TAL.TALInterpreter, line 234, in interpret
Module TAL.TALInterpreter, line 650, in do_defineMacro
Module TAL.TALInterpreter, line 234, in interpret
Module TAL.TALInterpreter, line 702, in do_defineSlot
Module TAL.TALInterpreter, line 234, in interpret
Module TAL.TALInterpreter, line 409, in do_optTag_tal
Module TAL.TALInterpreter, line 394, in do_optTag
Module TAL.TALInterpreter, line 389, in no_tag
Module TAL.TALInterpreter, line 234, in interpret
Module TAL.TALInterpreter, line 671, in do_useMacro
Module TAL.TALInterpreter, line 234, in interpret
Module TAL.TALInterpreter, line 460, in do_setLocal_tal
Module Products.PageTemplates.TALES, line 221, in evaluate
URL: file:CMFPlone/skins/plone_templates/viewThreadsAtBottom.pt
Line 156, Column 22
Expression: <PythonExpr portal_discussion.isDiscussionAllowedFor(here)>
Names:
{'container': <PloneSite instance at 129190B0>,
'context': <PloneSite instance at 129190B0>,
'default': <Products.PageTemplates.TALES.Default instance at
0x00FAFAD0>,
'here': <PloneSite instance at 129190B0>,
'loop': <SafeMapping instance at 13F90710>,
'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter
instance at 0x00FB5E68>,
'nothing': None,
'options': {'state': <ControllerState instance at 13F90650>, 'args':
()},
'repeat': <SafeMapping instance at 13F90710>,
'request': <HTTPRequest, URL=http://10.10.2.52/reps/login_form>,
'root': <Application instance at 138DB050>,
'template': <FSControllerPageTemplate at /reps/login_form>,
'traverse_subpath': [],
'user': Anonymous User}
Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
__traceback_info__: portal_discussion.isDiscussionAllowedFor(here)
Module Python expression
"portal_discussion.isDiscussionAllowedFor(here)", line 1, in
<expression>
AttributeError: isDiscussionAllowedFor (Also, an error occurred while
attempting to render the standard error message.)
This site is an extranet and requires a log-in to access. We use LDAP
authentication via Active Directory.
Best Regards,
Bill Etheredge
_______________________________________________
Setup mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/setup