So in my new refinery app after signing up the first user,
http://localhost:3000 returns a 404 error page and even when on the back end and I click on "Switch to your website", I still get the same 404 error page
Details
- Went to my database.yml file and added my superuser username and password for my postgres database
- Ran a rake db:create and a rake db:migrate
- Clicked on "Switch to your website" and I get the 404 error.
- Checked logs and this was there:
Started GET "/" for ::1 at 2015-07-04 20:05:43 +0100
Processing by Refinery::PagesController#home as HTML
Parameters: {"locale"=>:en}
Refinery::Page Load (1.0ms) SELECT "refinery_pages".* FROM "refinery_pages"
WHERE "refinery_pages"."link_url" = $1 ORDER BY "refinery_pages"."id" ASC LIMIT
1 [["link_url", "/"]]
Refinery::Page Load (0.0ms) SELECT "refinery_pages".* FROM "refinery_pages"
WHERE "refinery_pages"."menu_match" = $1 ORDER BY "refinery_pages"."id" ASC LIM
IT 1 [["menu_match", "^/404$"]]
Rendered public/404.html (0.0ms)
Filter chain halted as :find_page rendered or redirected
Completed 404 Not Found in 22ms (Views: 15.0ms | ActiveRecord: 1.0ms)
Also I noticed that the default pages "Home" and "About" were missing at the page backend.
Rails version = 4.2.0
Help?