This is a known bug in master, fixed in edge, please search lighthouse to find the relevant tickets. Thanks, Bruno
On Sat, Nov 28, 2009 at 5:44 PM, Colm <[email protected]> wrote: > 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]<communityengine%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/communityengine?hl=en. > > > -- 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.
