Our development site has approx the following structure:
Top level folders: - About - Jobs - Beamlines - Machine etc
under the About section there is also subfolder GuidedTour with a Machine folder.
Inside each folder is a contents_html document. The index_html is at the root and displays this content under a generic banner with drop down menus (Javascript)with links to the top level folders and their subfolders.
Local navigation is generated via a treemenu in each top level folder with the name attribute as the id of the top level folder, and which generates absolute_urls.
However we get the follwing error when clicking a link in the treemenu, to http://mysite/About/GuidedTour ____________________________________________________________________
Zope Error
Zope has encountered an error while publishing this resource.
Error Type: KeyError Error Value: Parameters
Troubleshooting Suggestions
This resource may be trying to reference a nonexistent object or variable Parameters. 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.
Traceback (innermost last): File /zope/Zope-2.5.0-solaris-2.6- sparc/lib/python/ZPublisher/Publish.py, line 150, in publish_module File /zope/Zope-2.5.0-solaris-2.6- sparc/lib/python/ZPublisher/Publish.py, line 114, in publish File /zope/Zope-2.5.0-solaris-2.6- sparc/lib/python/Zope/__init__.py, line 158, in zpublisher_exception_hook (Object: GuidedTour) File /zope/Zope-2.5.0-solaris-2.6- sparc/lib/python/ZPublisher/Publish.py, line 98, in publish File /zope/Zope-2.5.0-solaris-2.6- sparc/lib/python/ZPublisher/mapply.py, line 88, in mapply (Object: index_html) File /zope/Zope-2.5.0-solaris-2.6- sparc/lib/python/ZPublisher/Publish.py, line 39, in call_object (Object: index_html) File /zope/Zope-2.5.0-solaris-2.6- sparc/lib/python/OFS/DTMLMethod.py, line 127, in __call__ (Object: index_html) File /zope/Zope-2.5.0-solaris-2.6- sparc/lib/python/DocumentTemplate/DT_String.py, line 473, in __call__ (Object: index_html) File /zope/Zope-2.5.0-solaris-2.6- sparc/lib/python/OFS/DTMLMethod.py, line 120, in __call__ (Object: javascript) File /zope/Zope-2.5.0-solaris-2.6- sparc/lib/python/DocumentTemplate/DT_String.py, line 473, in __call__ (Object: javascript) File /zope/Zope-2.5.0-solaris-2.6- sparc/lib/python/DocumentTemplate/DT_With.py, line 76, in render (Object: Machine) File /zope/Zope-2.5.0-solaris-2.6- sparc/lib/python/DocumentTemplate/DT_With.py, line 60, in render (Object: Parameters) KeyError: (see above)
____________________________________________________________________
NB The 'Parameters' folder is located under the top level folder 'Machine'.
Does this mean that in Zope no two folders can have the same id? This would cause problems when our contributors edit their parts of our site. Is there a way around this other than naming the folders differently?
TAI
Marie Robichon Web Task Force European Synchrotron Radiation Facility Grenoble
Tel 33 476 88 21 86 Fax 33 476 88 24 27