1、我在安装plone的ubuntu主机上用firefox访问plone站点,用http://127.0.0.1:8081/sy85ms访问正常,如果用http://10.2.2.251:8081/sy85ms则出现下列错误:
代码: 全选
Site Error
An error was encountered while publishing this resource.
AttributeError
Sorry, a site error occurred.
Traceback (innermost last):
* Module ZPublisher.Publish, line 187, in publish_module_standard
* Module Products.PlacelessTranslationService.PatchStringIO, line 51, in new_publish
* Module ZPublisher.Publish, line 144, in publish
* Module Zope2.App.startup, line 199, in zpublisher_exception_hook
* Module ZPublisher.Publish, line 113, in publish
* Module ZPublisher.mapply, line 88, in mapply
* Module ZPublisher.Publish, line 40, in call_object
* Module Shared.DC.Scripts.Bindings, line 311, in __call__
* Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
* Module Products.CMFCore.FSPageTemplate, line 188, in _exec
* Module Products.CMFCore.FSPageTemplate, line 127, in pt_render
* Module Products.PageTemplates.PageTemplate, line 102, in pt_render
<FSPageTemplate at /sy85ms/document_view used for /sy85ms/front-page>
* Module TAL.TALInterpreter, line 206, in __call__
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 709, in do_useMacro
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 426, in do_optTag_tal
* Module TAL.TALInterpreter, line 411, in do_optTag
* Module TAL.TALInterpreter, line 406, in no_tag
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 709, in do_useMacro
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 481, in do_setGlobal_tal
* Module Products.PageTemplates.TALES, line 221, in evaluate
URL: file:CMFPlone/skins/plone_templates/global_defines.pt
Line 3, Column 0
Expression: <PythonExpr portal.portal_actions.listFilteredActionsFor(here)>
Names:
{'container': <PloneSite at /sy85ms>,
'context': <ATDocument at /sy85ms/front-page>,
'default': <Products.PageTemplates.TALES.Default instance at 0xb7466dcc>,
'here': <ATDocument at /sy85ms/front-page>,
'loop': <Products.PageTemplates.TALES.SafeMapping object at 0xb3cf5e6c>,
'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0xb746692c>,
'nothing': None,
'options': {'args': ()},
'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0xb3cf5e6c>,
'request': <HTTPRequest, URL=http://10.2.2.251:8081/sy85ms/front-page/document_view>,
'root': <Application at >,
'template': <FSPageTemplate at /sy85ms/document_view used for /sy85ms/front-page>,
'traverse_subpath': [],
'user': cwnet}
* Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
__traceback_info__: portal.portal_actions.listFilteredActionsFor(here)
* Module Python expression "portal.portal_actions.listFilteredActionsFor(here)", line 1, in <expression>
* Module Products.CMFPlone.ActionsTool, line 50, in listFilteredActionsFor
* Module Products.CMFPlone.ActionsTool, line 38, in _getActions
* Module Products.CMFCore.ActionProviderBase, line 107, in listActionInfos
* Module Products.CMFCore.ActionInformation, line 87, in __getitem__
* Module Products.CMFCore.ActionInformation, line 116, in _checkCondition
* Module Products.CMFCore.ActionInformation, line 236, in testCondition
* Module Products.CMFCore.Expression, line 44, in __call__
* Module Products.PageTemplates.Expressions, line 183, in __call__
* Module Products.PageTemplates.Expressions, line 178, in _eval
* Module Products.PageTemplates.Expressions, line 77, in render
* Module Products.PageTemplates.ZRPythonExpr, line 73, in call_with_ns
* Module Products.CMFCore.FSPythonScript, line 103, in __render_with_namespace__
* Module Shared.DC.Scripts.Bindings, line 325, in __render_with_namespace__
* Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
* Module Products.CMFCore.FSPythonScript, line 163, in _exec
* Module None, line 26, in externalEditorEnabled
<FSPythonScript at /sy85ms/externalEditorEnabled used for /sy85ms/front-page>
Line 26
AttributeError: externalEditLink_ (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.
2、plone站点首页左上角的plone图片怎么修改成自己的图片,如果要对界面进行大幅度修改,需要编辑哪个文件?
3、如果将http://10.2.2.251:8081/sy85ms按照精华帖子的方法映射成http://10.2.2.251,那么我的其它服务的URL地址应该如何修改呢?例如原先的图片资料数据库http://10.2.2.251/gallery,流媒体服务器http://10.2.2.251:8888,应该如何修改呢?