Oops, me again, sorry Or what you also could write in routes.rb, to cover most (if not all?) cases is \
map.connect 'user/:action/:id', :controller => 'user' Won't bother again ;-) Bart James Adam wrote: >Things to do when you 'upgrade' from the login engine to the user engine: > >1. make SURE that you read the README properly. In particular, the >before_filter will change. >2. make sure that you've run the engine_migrate and bootstrap rake >tasks, so that you get the new tables and more importantly the >guest/default user permissions! >3. bear in mind that any users you have created will NOT automatically >be given roles, so they essentially will have no permissions at all. >You'll want to get creative solving that issue. A patch for the >UserEngine rakefile which 'upgrades' existing users by assigning them >all a particular Role will guarantee you a seat in Valhalla! >4. remove all sessions, just to be really clean about things. > >In general, if you are finding that you get constantly redirected to >the login page in an infinite loop, it means that you don't have >permission to get to it. This is either because: > >a) the Guest role that the UserEngine assumes for all non-logged-in >users doesn't exist or doesn't have the right permissions (there's a >handy UserEngine.check_system_roles method that can help you there) >b) the user that you are logged in as doesn't have any role which has >permission for the login action. > >Either way, it basically means your Roles setup is s-k-rewed and you >need to check that you've followed all the steps. Again, a simple rake >task (rake upgrade_to_user_engine ??) might easily be written to take >care of all these issues. The Norse Gods will welcome anyone brave >enough to write this (or even create the Trac ticket such that I might >get around to it). > >james > >On 2/7/06, Rajesh GS <[EMAIL PROTECTED]> wrote: > > >>Hi >> >> >> >>I also experienced the same issue yesterday. is it has anything to do with >>store_location ? >> >> >> >>Thanks >> >> >> >> >> >> ________________________________ >> >> >> >> >> >> >>>Date: Mon, 6 Feb 2006 03:46:48 +0100 >>>From: Scott Walter >>>Subject: [Engine-users] UserEngine Infinite Loop >>>To: [email protected] >>>Message-ID: >>>Content-Type: text/plain; charset=utf-8 >>> >>>I have had LoginEngine working like a champ. So I decided to install >>>UserEngine. When I go to http://localhost:3000/user/login >>> >>> >>it keeps on >> >> >>>trying to redirect to /user/login until Firefox decides to stop trying. >>>Here is my log: >>> >>>127.0.0.1 - - [05/Feb/2006:20:34:17 Central Standard Time] "GET >>>/user/login HTTP/1.1" 302 98 >>>- -> /user/login >>>127.0.0.1 - - [05/Feb/2006:20:34:17 Central Standard Time] "GET >>>/user/login HTTP/1.1" 302 98 >>>- -> /user/login >>>127.0.0.1 - - [05/Feb/2006:20:34:17 Central Standard Time] "GET >>>/user/login HTTP/1.1" 302 98 >>>- -> /user/login >>> >>>Any ideas? If I comment out references to the UserEngine in >>>application.rb and environment.rb then things work like they did before >>>I installed LoginEngine. >>> >>>THanks, scott. >>> >>> >>> >>________________________________ >>Express yourself instantly with MSN Messenger! MSN Messenger >>_______________________________________________ >>engine-users mailing list >>[email protected] >>http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org >> >> >> >> >> > > >-- >* J * > ~ >_______________________________________________ >engine-users mailing list >[email protected] >http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org > > > > > _______________________________________________ engine-users mailing list [email protected] http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org
