Hello,
I can't login to Plone since a migration from webfaction to a2hosting.
I'm using Plone 3.0.3 (Zope 2.10)
I can access the ZMI and change the password in acl_users/source_users
But when I'm trying logging in (in a different browser instance), Plone redirects me to the login_form without any error. Nothing in the log files.
When I'm trying to use the already logged user (in the ZMI) in Plone, I get an error if I have already tried to connect with the Plone user:
Request URL |http://xxx.xxx.xxx.xxx:xxxx/my_plone/index_html
Exception Type |AttributeError
Exception Value |portal_groups
...
URL: file:/home/xxx/webapps/zope/Zope/Products/CMFPlone/skins/plone_templates/global_defines.pt
Line 8, Column 0
Expression: <PathExpr standard:u'plone_view/globalize'>
{'container': <PloneSite at /my_plone>,
'context': <PloneSite at /my_plone>,
'default': <object object at 0x7f1c962d0200>,
'here': <PloneSite at /my_plone>,
'loop': {},
'nothing': None,
'options': {'args': ()},
'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x7f1c87871cf8>,
'request': <HTTPRequest, URL=http://xxx.xxx.xxx.xxx:xxxx/my_plone/index_html>,
'root': ,
'template': <ZopePageTemplate at /my_plone/index_html>,
'traverse_subpath': ,
'user': <UnrestrictedUser 'plone_user_xxx'>}
If I've not tried to connect using the Plone user before, I can log into Plone using the Zope user.
So, it seems I'm kind of logged in even if Plone tells me I'm not.
example 1:
logged in the ZMI as zope_user_xxx
never tried to log into Plone
-> I can administrate Plone using the zope_user_xxx (defined in the root acl_users)
example 2:
logged in the ZMI as zope_user_xxx
tried to log into Plone at least once using plone_user_xxx
-> I can't get into Plone (error)
On my local installation, which is an exact copy (not 100% sure though) of the production one, I don't have the same behavior. I can log into Plone without any problem.
I know this version of Plone is quite old now (I had to use python 2.4 ) and I don't have the time to try to upgrade it it would be great if someone could help me on this issue.
Thank you.
Regards,