I've followed the install instructions exactly (a few times) and have all of the right versions of the prerequisites. Every time I try to view the site (Plone Version, but happens on both the same) I get the error below. Thanks in advance. - Tom Site Error An error was encountered while publishing this resource. KeyError Sorry, a site error occurred. Traceback (innermost last): Module ZPublisher.Publish, line 150, in publish_module Module ZPublisher.Publish, line 114, in publish Module Zope.App.startup, line 182, in zpublisher_exception_hook Module ZPublisher.Publish, line 98, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 39, in call_object Module Shared.DC.Scripts.Bindings, line 252, in __call__ Module Shared.DC.Scripts.Bindings, line 283, in _bindAndExec Module Products.PageTemplates.ZopePageTemplate, line 228, in _exec Module Products.PageTemplates.PageTemplate, line 95, in pt_render <ZopePageTemplate at /site/blogindex_html used for /site/blog/2003/08> Module TAL.TALInterpreter, line 200, in __call__ Module TAL.TALInterpreter, line 244, in interpret Module TAL.TALInterpreter, line 703, in do_useMacro Module TAL.TALInterpreter, line 244, in interpret Module TAL.TALInterpreter, line 295, in do_startTag Module TAL.TALInterpreter, line 363, in attrAction_tal Module Products.PageTemplates.TALES, line 223, in evaluateText Module Products.PageTemplates.TALES, line 217, in evaluate URL: blogindex_html Line 27, Column 1 Expression: standard:'here/zpt_stylesheet.css/absolute_url' Names: {'container': <PloneSite instance at 90b7f38>, 'default': <Products.PageTemplates.TALES.Default instance at 0x86afd54>, 'here': <PortalFolder instance at 9215538>, 'loop': <SafeMapping instance at 8f8ebf0>, 'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0x86b8e4c>, 'nothing': None, 'options': {'args': ()}, 'repeat': <SafeMapping instance at 8f8ebf0>, 'request': <HTTPRequest, URL=http://www.modscape.com/site/blog/2003/08/blogindex_html>, 'root': <Application instance at 8eee058>, 'template': <ZopePageTemplate at /site/blogindex_html used for /site/blog/2003/08>, 'traverse_subpath': [], 'user': Anonymous User} Module Products.PageTemplates.Expressions, line 206, in __call__ Module Products.PageTemplates.Expressions, line 194, in _eval Module Products.PageTemplates.Expressions, line 150, in _eval __traceback_info__: here Module Products.PageTemplates.Expressions, line 353, in restrictedTraverse __traceback_info__: {'path': ['zpt_stylesheet.css', 'absolute_url'], 'TraversalRequestNameStack': ['absolute_url']} Module OFS.ObjectManager, line 652, in __getitem__ KeyError: zpt_stylesheet.css (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 the HTML source for this page. If the error persists please contact the site maintainer. Thank you for your patience. ---------------------------- Tom Scheidt tscheidt@nyc.rr.com ----------------------------
An error was encountered while publishing this resource.
KeyError Sorry, a site error occurred.
... URL: blogindex_html Line 27, Column 1 Expression: standard:'here/zpt_stylesheet.css/absolute_url' ... KeyError: zpt_stylesheet.css (Also, an error occurred while attempting to render the standard error message.)
It couldn't find anything named 'zpt_stylesheet.css'. This should come from CMFDefault's skins/zpt_generic/zpt_stylesheet.css. However, newer versions of Plone seem to not have this: the CMFDefault skins have been removed. I don't know anything about PABlog (I'm assuming it's CMF-based, for instance), so I can't guarantee I'm not shooting in the dark, but it seems to me you have the following remedies: 1. create a custom skin with a file called zpt_stylesheet.css This is as easy as making a File in portal_skins/custom with such a name. Various display elements may break. 2. edit blogindex_html to remove the call to 'here/zpt_stylesheet.css/absolute_url' on line 27 (or thereabouts.) This may or may not break things. This is done by finding it in the product's skin folder and cutomizing and then editing the offending page. 3. appeal to the author to fix the product such that it doesn't depend on CMFDefault. It probably need not depend on that stylesheet. 4. install it under a 'CMF Site' rather than a 'Plone Site'. --jcc -- "My point and period will be throughly wrought, Or well or ill, as this day's battle's fought."
participants (2)
-
J Cameron Cooper -
Tom Scheidt