如果你有很多像回溯
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 zope.browserresource.file, line 202, in GET
Module zope.component._api, line 109, in getMultiAdapter
ComponentLookupError: ((<Products.Five.metaclass.DirContainedFileResource17 object at 0xde678ec>,
<HTTPRequest, URL=http://127.0.0.1:8080/Plone/portal_css/Sunburst%20Theme/++resource++tinymce.stylesheets/tinymce.css>),
<InterfaceClass zope.browserresource.interfaces.IETag>, u'')
,並重新導入cssregistry.xml後,有一個破碎的佈局,並在前臺回溯看起來像:
2011-10-10 08:42:32 ERROR Zope.SiteErrorLog 1318210952.260.0813518537427 http://127.0.0.1:8080/spirulinea/portal_css/Sunburst%20Theme/member.css
Traceback (innermost last):
Module ZPublisher.Publish, line 115, in publish
Module ZPublisher.BaseRequest, line 516, in traverse
Module ZPublisher.HTTPResponse, line 727, in debugError
NotFound: Site Error
你可能落於同一比我差 ,因爲它是在http://tech.groups.yahoo.com/group/zms-developers/message/3674
(對我來說)降級到http://download.zope.org/Zope2/index/2.13.2是關鍵。
[諾塔:隨着時間的,我沒有遇到任何問題,一個全新的Plone Zope的的同一個實例,奇怪的是..所以畢竟,可能是你的自定義主題並沒有中斷]
爲什麼不只是進入portal_css並重新激活css? – vangheem
@vangeem正如我所說的,我擁有cssregistry.xml(與使用portal_css完全相同),但我想修復這個問題,而不僅僅是掩蓋它。 – Auspex
好的,好吧,如果您提供了用於您嘗試安裝的主題的cssregistry.xml文件,它會有所幫助。所以可以肯定的是,在你安裝主題之前,會包含member.css - 它只是在安裝之後纔會被刪除。這隻發生在舊網站上,而不是一個新鮮的plone網站。 – vangheem