Products.Carousel 停止工作 - 似乎与 plone.app.registry 有关
我在我的 Plone 4.0.2 站点中安装了 Products.Carousel 2.1b3。直到一两天前它还工作得很好。
第一个症状是,当单击文件夹的“轮播”选项卡时,它不会显示选项卡(仅显示选项卡上方的消息 - 该消息表示我应该转到“内容”选项卡来编辑现有横幅)。
我在 Plone 控制面板中停用并重新激活了该产品。它似乎已经纠正了选项卡不出现的问题。在那之后,然而,其他一些奇怪的症状:
- 一些轮播拒绝出现(看起来但我不确定唯一出现的轮播是 Plone 站点的轮播)
- 宽度和高度配置不被尊重
- 对于确实出现的轮播,没有过渡,滑块仅显示第一个横幅
最后,在 event.log 中,有一个关于 plone.app.registry 的警告:
2011-04-07T17:45:55 WARNING OFS.Uninstalled Could not import class 'Registry' from module 'plone.app.registry.registry'
但我不知道这是在轮播问题之前还是之后开始显示的。
关于如何修复它有什么想法吗?
编辑——
经过一些实验,它似乎通过删除collective.carousel来修复。
有谁知道 Products.Carousel 和 Collective.carousel 之间存在不兼容性吗?不应在同一站点同时安装两者吗?
I have Products.Carousel 2.1b3 installed in my Plone 4.0.2 site. It worked alright up until a day or two ago.
First symptom was that when clicking on the Carousel tab for a folder, it wouldn't show the tabs (only the message above the tabs - the one which says that I should go to Contents tab to edit existing banners).
I deactivated and then reactivated the product in the Plone Control Panel. It seems to have corrected the tabs not appearing problem. After that, however some other strange symptons:
- Some Carousels refuse to appear (it seems but I am not sure that the only Carousel appearing is the one for the Plone Site)
- The width and height configuration are not respected
- For the Carousel that does appear, there is no transition and the slider shows only the first banner
Finally, in the event.log, there is a Warning about plone.app.registry:
2011-04-07T17:45:55 WARNING OFS.Uninstalled Could not import class 'Registry' from module 'plone.app.registry.registry'
But I have no idea whether this started showing before or after the Carousel problems.
Any ideas on how I can fix it?
EDIT --
After some experimentation, it seems to be fixed by removing collective.carousel.
Does anyone know about any incompatibility between Products.Carousel and collective.carousel? Should one NOT install both at the same time in the same site?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
bin/instance debug
此处报告的错误在正常日志中看不到,这种情况并不罕见。bin/instance debug
It's not uncommon to see errors reported there that you don't see in your normal log.