Hello,
I've seen a problem when a user has gone through the first part of the
sign-up but has not yet read the activation e-mail that is sent. In
that case any attempt to view the homepage gives a 404. Having looked
at it a bit I see that in base_controller.rb we have
def get_additional_homepage_data
.......
@active_users = User.active.find_by_activity({:limit =>
5, :require_avatar => false})
and in user.rb we have
named_scope :active, :conditions => ["users.activated_at IS NOT
NULL"]
so the user exists but has user.activated = NULL and this seems to
cause the problem, at least I can say that when I manually set the
activated field to some value the error disappears and the homepage is
displayed normally.
I'm using the master version of CE not edge.
Thanks / Colm
--
You received this message because you are subscribed to the Google Groups
"CommunityEngine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/communityengine?hl=en.