Vous êtes ici : Accueil » Comunidade » Erro no login

Erro no login



Post  Erro no login
Auteur: Tiago Murakami  Send Email
Date: 18/01/2005 00:01


Toda vez que qualquer um se loga, aparece o seguinte erro:

  • Module Products.CMFCore.MemberDataTool, line 293, in getProperty

TypeError: getattr(): attribute name must be string (Also, an error occurred while attempting to render the standard error message.)

Como resolver??

(biblioteconomia.objectis.net)




Réponses: Trié par [Date] [Auteur] [Sujet]

  Re:Erro no login (zyon - 18/01/2005 09:01)

Too many errors on your plone site, i don't have the time to fix all.

First you customized "portlet_recent", and it was one of your problems.

Inside "portlet_recent", i replaced :

tal:define="last_login_time python:member.getProperty(DateTime());

by

tal:define="last_login_time python:member.getProperty(last_login_time, DateTime());

and added inside the catalog request

modified={'query': last_login_time, range : 'min'},

There is one other bug but it is better if you find a solution yourself. Go to http://biblioteconomia.objectis.net/manage_emergency to access ZMI