small medium large xlarge

Generic-user-small
20 May 2010, 02:59
Roger Miranda (1 post)

I have been working on this for the past two days.

When I goto: http://127.0.0.1:3000/products/ I get: The page isn’t redirecting properly. Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

In my server window I see the following (AdminController#login just keeps looping):

Processing ProductsController#index (for 127.0.0.1 at 2010-05-19 21:53:44) [GET] User Columns (1.0ms) SHOW FIELDS FROM users User Load (0.2ms) SELECT * FROM users WHERE (users.id IS NULL) LIMIT 1 Redirected to http://127.0.0.1:3000/admin/login Filter chain halted as [:authorize] rendered_or_redirected. Completed in 19ms (DB: 1) | 302 Found [http://127.0.0.1/products/] SQL (0.2ms) SET NAMES ‘utf8’ SQL (0.1ms) SET SQL_AUTO_IS_NULL=0

Processing AdminController#login (for 127.0.0.1 at 2010-05-19 21:53:44) [GET] User Columns (1.0ms) SHOW FIELDS FROM users User Load (0.2ms) SELECT * FROM users WHERE (users.id IS NULL) LIMIT 1 Redirected to http://127.0.0.1:3000/admin/login Filter chain halted as [:authorize] rendered_or_redirected. Completed in 19ms (DB: 1) | 302 Found [http://127.0.0.1/admin/login] SQL (0.2ms) SET NAMES ‘utf8’ SQL (0.1ms) SET SQL_AUTO_IS_NULL=0

Processing AdminController#login (for 127.0.0.1 at 2010-05-19 21:53:44) [GET] User Columns (1.0ms) SHOW FIELDS FROM users User Load (0.2ms) SELECT * FROM users WHERE (users.id IS NULL) LIMIT 1 Redirected to http://127.0.0.1:3000/admin/login Filter chain halted as [:authorize] rendered_or_redirected. Completed in 19ms (DB: 1) | 302 Found [http://127.0.0.1/admin/login] SQL (0.2ms) SET NAMES ‘utf8’ SQL (0.1ms) SET SQL_AUTO_IS_NULL=0

I am running Rails 2.3.5

Help!

You must be logged in to comment