Redirect to Login page after super admin is created
78 views
Skip to first unread message
nest...@gmail.com
unread,
Dec 10, 2012, 9:51:42 AM12/10/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ror_ec...@googlegroups.com
After setup, ran rails s and once I was brought to the admin overviews page with the super admin account created it would not allow opening any other page on the site.
The log shows as follows:
Started GET "/assets/sprite.css?body=1" for 127.0.0.1 at 2012-12-10 09:17:02 -0500 Served asset /sprite.css - 304 Not Modified (43ms) [2012-12-10 09:17:02] WARN Could not determine content-length of response body. Set content-length of the response or set Response#chunked = true
Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-12-10 09:17:02 -0500 Served asset /main.css - 304 Not Modified (38ms) [2012-12-10 09:17:03] WARN Could not determine content-length of response body. Set content-length of the response or set Response#chunked = true
Started GET "/assets/jquery/jquery-1.7.1.js?body=1" for 127.0.0.1 at 2012-12-10 09:17:03 -0500 Served asset /jquery/jquery-1.7.1.js - 304 Not Modified (25ms) [2012-12-10 09:17:03] WARN Could not determine content-length of response body. Set content-length of the response or set Response#chunked = true
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-12-10 09:17:03 -0500 Served asset /application.css - 304 Not Modified (48ms) [2012-12-10 09:17:03] WARN Could not determine content-length of response body. Set content-length of the response or set Response#chunked = true
Started GET "/assets/print.css?body=1" for 127.0.0.1 at 2012-12-10 09:17:03 -0500 Served asset /print.css - 304 Not Modified (29ms) [2012-12-10 09:17:03] WARN Could not determine content-length of response body. Set content-length of the response or set Response#chunked = true
Started GET "/assets/screen.css?body=1" for 127.0.0.1 at 2012-12-10 09:17:03 -0500 Served asset /screen.css - 304 Not Modified (43ms) [2012-12-10 09:17:03] WARN Could not determine content-length of response body. Set content-length of the response or set Response#chunked = true
Started GET "/assets/jquery/jquery-ui-1.8.17.custom.min.js?body=1" for 127.0.0.1 at 2012-12-10 09:17:03 -0500 Served asset /jquery/jquery-ui-1.8.17.custom.min.js - 304 Not Modified (16ms) [2012-12-10 09:17:04] WARN Could not determine content-length of response body. Set content-length of the response or set Response#chunked = true
Started GET "/assets/layout/application.js?body=1" for 127.0.0.1 at 2012-12-10 09:17:04 -0500 Served asset /layout/application.js - 304 Not Modified (20ms) [2012-12-10 09:17:04] WARN Could not determine content-length of response body. Set content-length of the response or set Response#chunked = true
Started GET "/assets/layout/rails.js?body=1" for 127.0.0.1 at 2012-12-10 09:17:04 -0500 Served asset /layout/rails.js - 304 Not Modified (18ms) [2012-12-10 09:17:04] WARN Could not determine content-length of response body. Set content-length of the response or set Response#chunked = true
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-12-10 09:17:04 -0500 Served asset /application.js - 304 Not Modified (43ms) [2012-12-10 09:17:04] WARN Could not determine content-length of response body. Set content-length of the response or set Response#chunked = true
Started GET "/assets/login.css?body=1" for 127.0.0.1 at 2012-12-10 09:17:04 -0500 Served asset /login.css - 304 Not Modified (7ms) [2012-12-10 09:17:04] WARN Could not determine content-length of response body. Set content-length of the response or set Response#chunked = true
Started GET "/assets/cupertino/jquery-ui-1.8.12.custom.css?body=1" for 127.0.0.1 at 2012-12-10 09:17:04 -0500 Served asset /cupertino/jquery-ui-1.8.12.custom.css - 304 Not Modified (2ms) [2012-12-10 09:17:04] WARN Could not determine content-length of response body. Set content-length of the response or set Response#chunked = true
Started GET "/assets/jquery.datePicker-2.1.2.js?body=1" for 127.0.0.1 at 2012-12-10 09:17:04 -0500 Served asset /jquery.datePicker-2.1.2.js - 304 Not Modified (4ms) [2012-12-10 09:17:05] WARN Could not determine content-length of response body. Set content-length of the response or set Response#chunked = true
Started GET "/assets/datePickerInitialize.js?body=1" for 127.0.0.1 at 2012-12-10 09:17:05 -0500 Served asset /datePickerInitialize.js - 304 Not Modified (6ms) [2012-12-10 09:17:05] WARN Could not determine content-length of response body. Set content-length of the response or set Response#chunked = true
Started GET "/assets/logos/logo.png" for 127.0.0.1 at 2012-12-10 09:17:06 -0500 Served asset /logos/logo.png - 304 Not Modified (22ms) [2012-12-10 09:17:06] WARN Could not determine content-length of response body. Set content-length of the response or set Response#chunked = true
Started GET "/assets/header/bg-header-wrap.png" for 127.0.0.1 at 2012-12-10 09:17:06 -0500 Served asset /header/bg-header-wrap.png - 304 Not Modified (0ms) [2012-12-10 09:17:06] WARN Could not determine content-length of response body. Set content-length of the response or set Response#chunked = true
Started GET "/assets/icons/calendar_sm.png" for 127.0.0.1 at 2012-12-10 09:17:06 -0500 Served asset /icons/calendar_sm.png - 304 Not Modified (1ms) [2012-12-10 09:17:06] WARN Could not determine content-length of response body. Set content-length of the response or set Response#chunked = true
Any help would be greatly appreciated.
David Henner
unread,
Dec 10, 2012, 10:35:25 AM12/10/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ror_ec...@googlegroups.com
You need to login as the super admin and then create active product. Without active product every user is redirected to the login. Without product the customer facing site doesn't work.
So:
Login as an admin
Then go to localhost:3000/admin
Create Product
Activate the product
If you forgot your login info go into "rails console".
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ror_ec...@googlegroups.com
Dave, I am able to get to the admin/overviews page and have the super admin and password created, but as soon as I try to go into the admin panel and click on any of the tabs I am redirected to the login page.