can't open any page. always load 404 page template
  • I have a problem with a site on the locomotive cms.
    Instead, the page gives a 404 error.
    When I create a page with any template, it is not displayed.
    Instead it shows a page 404.

    in log file

    Started GET "/information" for 95.26.13.188 at 2011-12-07 16:54:08 +0000
    Processing by Admin::RenderingController#show as HTML
    Parameters: {"path"=>"information"}
    [LocomotiveCMS] [fetch site] host = school.oiro.net / school.oiro.net
    MONGODB locomotive_dev['sites'].find({:domains=>{"$in"=>["school.oiro.net"]}})
    MONGODB locomotive_dev['pages'].find({"site_id"=>BSON::ObjectId('4e6090a9850592075d00008f'), :fullpath=>{"$in"=>["information", "content_type_template"]}})
    MONGODB locomotive_dev['content_types'].find({:_id=>BSON::ObjectId('4ec7b4ce8505922d0f000073')})
    MONGODB locomotive_dev['pages'].find({"site_id"=>BSON::ObjectId('4e6090a9850592075d00008f'), :slug=>"404", :depth=>0, :published=>true})
    MONGODB locomotive_dev['pages'].find({"site_id"=>BSON::ObjectId('4e6090a9850592075d00008f'), :fullpath=>"index"}, {"title"=>1, "slug"=>1, "fullpath"=>1, "position"=>1, "depth"=>1, "published"=>1, "templatized"=>1, "redirect"=>1, "listed"=>1, "parent_id"=>1, "created_at"=>1, "updated_at"=>1, :_type=>1})
    MONGODB locomotive_dev['pages'].find({"parent_id"=>BSON::ObjectId('4e6090a9850592075d000091')}, {"title"=>1, "slug"=>1, "fullpath"=>1, "position"=>1, "depth"=>1, "published"=>1, "templatized"=>1, "redirect"=>1, "listed"=>1, "parent_id"=>1, "created_at"=>1, "updated_at"=>1, :_type=>1}).sort(["position", "asc"])
    Rendered text template (0.0ms)
    Completed 404 Not Found in 90ms (Views: 0.6ms)

    Some pages are displayed correctly

    Started GET "/information/rezhim_raboty" for 95.26.13.188 at 2011-12-07 16:59:23 +0000
    Processing by Admin::RenderingController#show as HTML
    Parameters: {"path"=>"information/rezhim_raboty"}
    [LocomotiveCMS] [fetch site] host = school.oiro.net / school.oiro.net
    MONGODB locomotive_dev['sites'].find({:domains=>{"$in"=>["school.oiro.net"]}})
    MONGODB locomotive_dev['pages'].find({"site_id"=>BSON::ObjectId('4e6090a9850592075d00008f'), :fullpath=>{"$in"=>["information/rezhim_raboty", "information/content_type_template"]}})
    MONGODB locomotive_dev['pages'].find({"site_id"=>BSON::ObjectId('4e6090a9850592075d00008f'), :fullpath=>"index"}, {"title"=>1, "slug"=>1, "fullpath"=>1, "position"=>1, "depth"=>1, "published"=>1, "templatized"=>1, "redirect"=>1, "listed"=>1, "parent_id"=>1, "created_at"=>1, "updated_at"=>1, :_type=>1})
    MONGODB locomotive_dev['pages'].find({"parent_id"=>BSON::ObjectId('4e6090a9850592075d000091')}, {"title"=>1, "slug"=>1, "fullpath"=>1, "position"=>1, "depth"=>1, "published"=>1, "templatized"=>1, "redirect"=>1, "listed"=>1, "parent_id"=>1, "created_at"=>1, "updated_at"=>1, :_type=>1}).sort(["position", "asc"])
    MONGODB locomotive_dev['pages'].find({"site_id"=>BSON::ObjectId('4e6090a9850592075d00008f'), :fullpath=>"education"}, {"title"=>1, "slug"=>1, "fullpath"=>1, "position"=>1, "depth"=>1, "published"=>1, "templatized"=>1, "redirect"=>1, "listed"=>1, "parent_id"=>1, "created_at"=>1, "updated_at"=>1, :_type=>1})
    MONGODB locomotive_dev['pages'].find({"parent_id"=>BSON::ObjectId('4e609a8e85059209ef000057')}, {"title"=>1, "slug"=>1, "fullpath"=>1, "position"=>1, "depth"=>1, "published"=>1, "templatized"=>1, "redirect"=>1, "listed"=>1, "parent_id"=>1, "created_at"=>1, "updated_at"=>1, :_type=>1}).sort(["position", "asc"])
    Rendered text template (0.0ms)
    Completed 200 OK in 27ms (Views: 0.6ms)


  • I'm having the same problem. Every page I try to create cannot be found. This is happening on both my live site (on Heroku) and on my local installation. Please help!
  • Hey guys

    Is this still an issue, or has the problem already been resolved?

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!