I'm reading up on the TTW and FS stuff. Any articles/pages you particulary recommend?
you probably need to know the concepts of Zope Through-the-web (TTW) and Filesystem (FS) Product Coding.
Some templates, scripts are in the ZODB and editable via ZMI - the recommended style for a not so recent Zope version is using FS Zope Products. Please identify the zope version by using the ZMI-ControlPanel.
Please compare the way you start the zope instance with the way your former colleague did it.
Identify if you are using a custom developed Zope Product with templates and a 'main_template' and optionally a 'folder_listing' Zope Page Template or similar. Find them by searching in the filesystem ('Products' Folder is one option) and in the ZMI and tell us the location if you find them.I don't think it's custom, I've put a list of the Products directory on pastebin:
How can I check that?
It could be that the Filesystem Directory Views need to be created manually - if the product code is not doing that properly.
Please check this stuff and come back. And the way with pastebin is right - the more (proper) information we have the better. At the moment the bits and pieces of your application are not complete to me - help me. Now its your turn.
Sascha
Am 02.02.2012 11:27, schrieb Matthew Moore:On 02/02/12 10:19, Niels Dettenbach wrote:The output from zopectl fg is on the pastebin link:Am Donnerstag, 2. Februar 2012, 10:15:44 schrieb Matthew Moore:For more detailed information about the error, please refer to the error log.It highly makes sense to do that (and i.e. post the details here) ;)
http://pastebin.com/bhBp7AXfIt's quite a lot of output, so I didn't really want to post it to the list. But here's a selection:
2012-02-01 16:02:16 ERROR root Exception while rendering an error message Traceback (most recent call last): File "/usr/local/zope/lib/python/OFS/SimpleItem.py", line 223, in raise_standardErrorMessage v = s(**kwargs) File "/usr/local/instances/zope-voyager2/Products/CMFCore/FSPythonScript.py", line 108, in __call__ return Script.__call__(self, *args, **kw) File "/usr/local/zope/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__ return self._bindAndExec(args, kw, None) File "/usr/local/zope/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec return self._exec(bound_data, args, kw) File "/usr/local/instances/zope-voyager2/Products/CMFCore/FSPythonScript.py", line 164, in _exec result = f(*args, **kw) File "Script (Python)", line 16, in standard_error_message File "/usr/local/zope/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__ return self._bindAndExec(args, kw, None) File "/usr/local/zope/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec return self._exec(bound_data, args, kw) File "/usr/local/instances/zope-voyager2/Products/CMFCore/FSPageTemplate.py", line 195, in _exec result = self.pt_render(extra_context=bound_names) File "/usr/local/instances/zope-voyager2/Products/CMFCore/FSPageTemplate.py", line 134, in pt_render result = FSPageTemplate.inheritedAttribute('pt_render')( File "/usr/local/zope/lib/python/Products/PageTemplates/PageTemplate.py", line 104, in pt_render tal=not source, strictinsert=0)() File "/usr/local/zope/lib/python/TAL/TALInterpreter.py", line 238, in __call__ self.interpret(self.program) File "/usr/local/zope/lib/python/TAL/TALInterpreter.py", line 281, in interpret handlers[opcode](self, args) File "/usr/local/zope/lib/python/TAL/TALInterpreter.py", line 735, in do_useMacro macro = self.engine.evaluateMacro(macroExpr) File "/usr/local/zope/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate return expression(self) File "/usr/local/zope/lib/python/Products/PageTemplates/Expressions.py", line 185, in __call__ return self._eval(econtext) File "/usr/local/zope/lib/python/Products/PageTemplates/Expressions.py", line 173, in _eval ob = self._subexprs[-1](econtext) File "/usr/local/zope/lib/python/Products/PageTemplates/Expressions.py", line 127, in _eval ob = restrictedTraverse(ob, path, getSecurityManager()) File "/usr/local/zope/lib/python/Products/PageTemplates/Expressions.py", line 286, in restrictedTraverse o=t(REQUEST, name) File "/usr/local/zope/lib/python/Products/Five/traversable.py", line 115, in __bobo_traverse__ raise AttributeError(name) AttributeError: main_template
The error_log that you can access through the management page is blank. There's nothing in the syslogs/messages/apache logs.
Cheers,
-- Matthew Moore Surgical Materials Testing Laboratory System Administrator Telephone: +44 (0)1656 752165 Email: matt@smtl.co.uk
_______________________________________________ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope-dev )
-- Matthew Moore Surgical Materials Testing Laboratory System Administrator Telephone: +44 (0)1656 752165 Email: matt@smtl.co.uk