2012-05-03 108 views
0

我正在嘗試將我們的Plone站點從Windows Server 2003遷移到Windows Server 2008盒子上運行。我在2008服務器上安裝了Plone 4.1,然後從Plone 3.0複製data.fs文件。我還發現我需要將CMFPLONE擴展目錄從3.0複製到新版本。一旦我做了網站,但沒有任何圖形。當我試圖登錄看看我是否能糾正我收到以下錯誤網站風格:移植Plone 3.0到4.1問題

很抱歉,但似乎是一個錯誤...... 以下是完整的錯誤消息:

Traceback (innermost last): 
    Module ZPublisher.Publish, line 126, in publish 
    Module ZPublisher.mapply, line 77, in mapply 
    Module ZPublisher.Publish, line 46, in call_object 
    Module Products.CMFFormController.FSControllerPageTemplate, line 91, in __call__ 
    Module Products.CMFFormController.BaseControllerPageTemplate, line 28, in _call 
    Module Products.CMFFormController.ControllerBase, line 231, in getNext 
    Module Products.CMFFormController.Actions.TraverseTo, line 38, in __call__ 
    Module ZPublisher.mapply, line 77, in mapply 
    Module ZPublisher.Publish, line 46, in call_object 
    Module Products.CMFFormController.FSControllerPythonScript, line 105, in __call__ 
    Module Products.CMFFormController.Script, line 145, in __call__ 
    Module Products.CMFCore.FSPythonScript, line 130, in __call__ 
    Module Shared.DC.Scripts.Bindings, line 322, in __call__ 
    Module Shared.DC.Scripts.Bindings, line 359, in _bindAndExec 
    Module Products.PythonScripts.PythonScript, line 344, in _exec 
    Module script, line 29, in logged_in <FSControllerPythonScript at /Plone/logged_in> Line 29 
    Module Products.PlonePAS.tools.membership, line 635, in loginUser 
    Module Products.PlonePAS.plugins.cookie_handler, line 91, in login 
    Module Products.PluggableAuthService.PluggableAuthService, line 1109, in  updateCredentials 
    Module plone.session.plugins.session, line 220, in updateCredentials 
    Module plone.session.plugins.session, line 136, in _setupSession 
    Module plone.session.plugins.session, line 130, in _getSigningSecret 
    Module zope.component._api, line 169, in getUtility 
ComponentLookupError: (<InterfaceClass plone.keyring.interfaces.IKeyManager>, '') 

有關如何糾正錯誤以及可能導致網站無法正確顯示的問題的任何建議?

回答

1

來源:https://dev.plone.org/ticket/8579

Reinstall all steps from the "plone.keyring KeyManager Registration" to fix ComponentLookupError: (, '') errors when working in Site Setup

一般來說,升級時,也有一些升級步驟運行。作爲登錄錯誤,在Web界面中運行它們可能會造成問題。所以我同意最好升級到最新的3.X,然後升級到4.X

0

我只是做了類似的事情,只從3.1.5.1到4.1.4。首先遷移到3.3.5(最後一個受支持的3x版本),然後遷移到4x是非常明智的。