Hi, I've a Zope's site 2.4.3 on a Sun/Solaris/Unix. I've have to translate this one on a Win2000/XP Zope: 2.5.1 So, I have installed Zope+CMF (the latest version). I have tranferred my Data.fs Everything looks fine but a strange problem with the login of my members appears. They can't login, I have a look under the DTML Method, or anything else of the CMF (login_form,logged_in,...) and compare with my 2 Zope site. Nothing is different. I have also a look on the .py file. Nothing have changed. Where is the problem ??? -------------------------------------------------------------------- Type de l'erreur : Unauthorized Valeur de l'erreur : You are not allowed to access setProperties in this context -------------------------------------------------------------------- Traceback (innermost last): File C:\Zope\ZopeSite\lib\python\ZPublisher\Publish.py, line 150, in publish_module File C:\Zope\ZopeSite\lib\python\ZPublisher\Publish.py, line 114, in publish File C:\Zope\ZopeSite\lib\python\Zope\__init__.py, line 159, in zpublisher_exception_hook (Object: control_cerf) File C:\Zope\ZopeSite\lib\python\ZPublisher\Publish.py, line 98, in publish File C:\Zope\ZopeSite\lib\python\ZPublisher\mapply.py, line 88, in mapply (Object: logged_in) File C:\Zope\ZopeSite\lib\python\ZPublisher\Publish.py, line 39, in call_object (Object: logged_in) File C:\Zope\ZopeSite\lib\python\OFS\DTMLMethod.py, line 127, in __call__ (Object: logged_in) File C:\Zope\ZopeSite\lib\python\DocumentTemplate\DT_String.py, line 473, in __call__ (Object: logged_in) File C:\Zope\ZopeSite\lib\python\DocumentTemplate\DT_With.py, line 76, in render (Object: portal_properties) File C:\Zope\ZopeSite\lib\python\DocumentTemplate\DT_Let.py, line 76, in render (Object: member="portal_membership.getAuthenticatedMember()") File C:\Zope\ZopeSite\lib\python\DocumentTemplate\DT_Util.py, line 159, in eval (Object: portal_registration.setProperties(last_login_time=member.login_time)) (Info: member) File <string>, line 2, in f File C:\Zope\ZopeSite\lib\python\AccessControl\DTML.py, line 29, in guarded_getattr (Object: logged_in) File C:\Zope\ZopeSite\lib\python\AccessControl\ZopeGuards.py, line 58, in guarded_getattr (Object: portal_registration) File C:\Zope\ZopeSite\lib\python\AccessControl\ZopeGuards.py, line 40, in aq_validate (Object: portal_registration) File C:\Zope\ZopeSite\lib\python\AccessControl\SecurityManager.py, line 83, in validate File C:\Zope\ZopeSite\lib\python\AccessControl\ZopeSecurityPolicy.py, line 177, in validate Unauthorized: (see above) Sincerily PS -------------------------------------------------- Oreka ! Nous sommes l'internet moins cher ! Surfez 25% moins cher avec http://www.oreka.com
Pascal Samuzeau writes:
I've a Zope's site 2.4.3 on a Sun/Solaris/Unix. I've have to translate this one on a Win2000/XP Zope: 2.5.1 ....
I have also a look on the .py file. Nothing have changed.
Where is the problem ???
-------------------------------------------------------------------- Type de l'erreur : Unauthorized Valeur de l'erreur : You are not allowed to access setProperties in this context Check the portal's Security tab, especially the "Change own properties". They sometimes are magically reset. I do not yet know why or when precisely.
Dieter
Hi Dieter, I have a look, this morning, but nothing chnages !!! My "Set own porperties" is true on my portal. I also look after the prior version on Sun/Solaris, and the tabs are the same. Something strange, I can't find out. Sincerily PS -------------------
Pascal Samuzeau writes:
I've a Zope's site 2.4.3 on a Sun/Solaris/Unix.
I've have to translate this one on a Win2000/XP Zope: 2.5.1
....
I have also a look on the .py file. Nothing have changed.
Where is the problem ???
Type de l'erreur : Unauthorized
Valeur de l'erreur : You are not allowed to access setProperties in this context
Check the portal's Security tab, especially the "Change own properties". They sometimes are magically reset. I do not yet know why or when precisely.
Dieter
Cordialement PS -------------------------------------------------- Oreka ! Nous sommes l'internet moins cher ! Surfez 25% moins cher avec http://www.oreka.com
Hi Dieter, As you wrote me I have checked ALL my "Set own properties". ALL of them were OK, I mean no change between the two versions. I have solved my problem by this way : First I have created a new CMFSite on my new server. Second I have integrated ONE BY ONE the zexp files/folders/... I did this because, I have tried once more before to integrated my CMFSite in one part with a CMFSite.zexp, but It was failing on the same error. Sincerily PS -------------------
Pascal Samuzeau writes:
I've a Zope's site 2.4.3 on a Sun/Solaris/Unix.
I've have to translate this one on a Win2000/XP Zope: 2.5.1
....
I have also a look on the .py file. Nothing have changed.
Where is the problem ???
Type de l'erreur : Unauthorized
Valeur de l'erreur : You are not allowed to access setProperties in this context
Check the portal's Security tab, especially the "Change own properties". They sometimes are magically reset. I do not yet know why or when precisely.
Dieter
Cordialement PS -------------------------------------------------- Oreka ! Nous sommes l'internet moins cher ! Surfez 25% moins cher avec http://www.oreka.com
Hi, I have to connect Zope with a 4D database. Anyone has had this problem , Anyone has written a such DA ? If I have to do it, what is the way to start ? Sincerily PS -------------------------------------------------- Oreka ! Nous sommes l'internet moins cher ! Surfez 25% moins cher avec http://www.oreka.com
participants (2)
-
Dieter Maurer -
Pascal Samuzeau