[ZWeb] ZopeTime() Error
Mike Tran
mtran@shufflemasterrd.com
Tue, 7 May 2002 14:32:17 -0600
Hi Everyone,
I can call the <dtml-var ZopeTime()> variable from Zope's root folder, but
i cannot access this variable from anyother sub folders. Zope's traceback is
telling me that the 'ZopeTime' variable is not defined globally. Can anyone
show me how to fix this please? thanx.
Here's the Traceback:
Traceback (innermost last):
File /var/zope/lib/python/ZPublisher/Publish.py, line 150, in publish_module
File /var/zope/lib/python/ZPublisher/Publish.py, line 114, in publish
File /var/zope/lib/python/Zope/__init__.py, line 158, in
zpublisher_exception_hook
(Object: signature_req)
File /var/zope/lib/python/ZPublisher/Publish.py, line 98, in publish
File /var/zope/lib/python/ZPublisher/mapply.py, line 88, in mapply
(Object: zopeTime)
File /var/zope/lib/python/ZPublisher/Publish.py, line 39, in call_object
(Object: zopeTime)
File /var/zope/lib/python/OFS/DTMLMethod.py, line 127, in __call__
(Object: zopeTime)
File /var/zope/lib/python/DocumentTemplate/DT_String.py, line 473, in
__call__
(Object: zopeTime)
File /var/zope/lib/python/OFS/DTMLMethod.py, line 120, in __call__
(Object: zopeDate)
File /var/zope/lib/python/DocumentTemplate/DT_String.py, line 473, in
__call__
(Object: zopeDate)
File /var/zope/lib/python/DocumentTemplate/DT_Var.py, line 213, in render
(Object: ZopeTime())
File /var/zope/lib/python/DocumentTemplate/DT_Util.py, line 159, in eval
(Object: ZopeTime())
(Info: ZopeTime)
File <string>, line 2, in f
NameError: (see above)
--
Mike Tran