访问plone制作的站点出现错误,怎么处理呢?

Web、Mail、Ftp、DNS、Proxy、VPN、Samba、LDAP 等基础网络服务
回复
cwnet
帖子: 14
注册时间: 2005-10-26 13:25

访问plone制作的站点出现错误,怎么处理呢?

#1

帖子 cwnet »

关于plone的配置使用,有三个问题一直没有解决,希望知道的朋友能帮忙解决一下。

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. 
而在其它的windows机器访问则无此错误,在其它windows机器上使用admin用户权限时偶尔也会出现这个错误,怎么办呢?

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,应该如何修改呢?
头像
oneleaf
论坛管理员
帖子: 10454
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04

#2

帖子 oneleaf »

:D 你先摸索,等年后,我会写一些详细的指南来说明plone的配置。
cwnet
帖子: 14
注册时间: 2005-10-26 13:25

真是太感谢了!

#3

帖子 cwnet »

最好把phpbb2在plone下的配置方法同时写一下 :D
头像
oneleaf
论坛管理员
帖子: 10454
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04

#4

帖子 oneleaf »

ok,包括虚拟站点之类
ubuntu2
帖子: 13
注册时间: 2005-03-30 19:38

#5

帖子 ubuntu2 »

好呀好呀非常感谢!
wsyngj
帖子: 108
注册时间: 2005-08-10 20:19

#6

帖子 wsyngj »

过完年了,怎么还没有写出来啊,我可天天过来看的啊!!
图片

http://www.hyvv.org
我的UBUNTU7.10博客
zhou3345
帖子: 89
注册时间: 2005-09-30 11:08
来自: 零陵

#7

帖子 zhou3345 »

一直没找到好的plone入门教程,一叶兄加油啊,大伙儿都等着看呢!
头像
gnix_oag
帖子: 1994
注册时间: 2005-05-19 18:38
来自: 湖南永州
联系:

#8

帖子 gnix_oag »

楼主自己也应该摸出来了吧
头像
firehare
帖子: 2625
注册时间: 2005-04-10 16:54
来自: 温州大学
联系:

#9

帖子 firehare »

虚拟主机设置可以参照我写的文章: http://wiki.ubuntu.org.cn/Apache%E8%99% ... 7%E5%8D%97
我心无畏,源自于我心无知。
图片
回复