Hi, I have a Zope 2.5.1 on a Linux. If I rename the 'dtml' dir in 'OFS', my Zope has no problem working (after restarting or running in debug mode, of course). My problem started when I changed a dtml file in 'OFS/dtml' directory an the changes could not been seen. So this directory is not needed, where are those files keeped, what's happening?! Any ideea?! Thanks in advance, Best regards, Rares
Rares Vernica wrote:
Hi,
I have a Zope 2.5.1 on a Linux. If I rename the 'dtml' dir in 'OFS', my Zope has no problem working (after restarting or running in debug mode, of course).
I don't believe this for a "fresh" Zope. I think you have installed a Product (like ExternalEditor, AbracadabraObject, OrderedObjectManager...) which monkey-patches the main.dtml for example.
My problem started when I changed a dtml file in 'OFS/dtml' directory an the changes could not been seen.
Maybe you should start with a fresh ZOPE-installation, try your modicifations it and then identify step by step the Product which does the monkey-patch. -mj
Rares Vernica writes:
I have a Zope 2.5.1 on a Linux. If I rename the 'dtml' dir in 'OFS', my Zope has no problem working (after restarting or running in debug mode, of course). My problem started when I changed a dtml file in 'OFS/dtml' directory an the changes could not been seen. So this directory is not needed, where are those files keeped, what's happening?! Any ideea?! They are loaded and installed as class variables when Zope is loaded. When, later, Zope is unable to find them, it uses "0" as last modification time which means they appear up-to-date.
Only, when you restart, Zope will seriously miss them. Dieter
It appears that the MySQL adapter (2.0.8) assumes that the time zone of datetime records is the same as the time zone of the machine. From a quick look at the source, it appears that this is because DateTime is constructed/parsed without time zone arguments. This is problematical because we (and I assume many others, as it is good practice) keep database times in GMT. I can hack up the adapter to use GMT, but I was wondering if there was a better solution to the problem (a config setting somewhere). TIA, Sincerely, Richard Wesley Co-President, Electric Fish, Inc. <http://www.electricfish.com/> (v) +1-206-493-1690x210 (f) +1-206-493-1697
In fact I've restarted zope after renaming the directory. About the products installet, there is only "Hotfix_2002-06-14 (Installed product Hotfix_2002-06-14)" installed, in rest the Zope is a fresh one. :-( Best regards, Rares ----- Original Message ----- From: "Dieter Maurer" <dieter@handshake.de> To: "Rares Vernica" <verni0@hotmail.com> Cc: <zope@zope.org> Sent: Monday, December 09, 2002 11:46 PM Subject: Re: [Zope] 'OFS/dtml' not needed
Rares Vernica writes:
I have a Zope 2.5.1 on a Linux. If I rename the 'dtml' dir in 'OFS', my Zope has no problem working (after restarting or running in debug mode, of course). My problem started when I changed a dtml file in 'OFS/dtml' directory an the changes could not been seen. So this directory is not needed, where are those files keeped, what's happening?! Any ideea?! They are loaded and installed as class variables when Zope is loaded. When, later, Zope is unable to find them, it uses "0" as last modification time which means they appear up-to-date.
Only, when you restart, Zope will seriously miss them.
Dieter
participants (4)
-
Dieter Maurer -
Maik Jablonski -
Rares Vernica -
Richard Wesley