That might be different if you are not using an INSTANCE_HOME
Problem solved
Posted byAnonymous Userat
2004-03-11 10:54 AM
It was a problem with the permissions. Zope was not allowed to write in the var directory except for data.fs and the such. mxmCounter now works just fine. Any idea how to prevent counting access from robots?
On our server there's no "counters.dict" created. So after every restart, the counters are lost. We use the following configuration:
Zope Version
(Zope 2.6.4 (source release, python 2.1, linux2), python 2.2.3, linux2)
Python Version
2.2.3+ (#1, Jan 16 2004, 08:08:58) [GCC 3.3.3 20040110 (prerelease) (Debian)]
I installed mxmCounter in the zope root.
On a system with the same database but under W2k it works fine.
I get the path to the counters.dict from:
file_name = str(Globals.data_dir) + os.sep + 'counters.dict'
That might be different if you are not using an INSTANCE_HOME
Replies to this comment