[Zope-CMF] global name 'ZopeTime' is not defined

Dave Lehman davelehman@loewen.com
Mon, 29 Oct 2001 09:55:08 -0600


I'm having a problem with several DTML methods in my CMF site. When a
person is authenticated as "Member" (and not "manager") there is a problem
displaying some methods. But it only seems to happen if i've created a
"custom" version of that form (ie. taken the method from the "generic"
folder in portal_skins and made a version of it in my "custom" folder).

For example, I had made a custom version of the "logged_in" method to
display an extra message to the user. When the "logged_in" method gets
called right after they login, is displays a "global name 'ZopeTime' is not
defined" error message.

However, if I remove the custom "logged_in" method and let it use the one
in the "generic" folder, it works fine.

So now I have the identical "logged_in" method in both folders, but when it
uses it from "generic" it's fine, and when it uses it from "custom" it's
broken.

Any ideas?

--dave