[Zope] Members Not Allowed

Pascal Samuzeau samuzeau@oreka.com
Fri, 21 Jun 2002 12:21:04 +0100


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