Issue with categories : forums won't display the homepage anymore.


  • {
            "_id" : ObjectId("547e1db2f303ddd981c99acf"),
            "_imported_cid" : 1,
            "_imported_description" : "No decsciption available",
            "_imported_name" : "WotW Lounge",
            "_imported_parentCid" : "",
            "_imported_path" : "",
            "_imported_slug" : "",
            "_key" : "category:2",
            "bgColor" : "#004c66",
            "cid" : 2,
            "class" : "col-md-3 col-xs-6",
            "color" : "#FFFFFF",
            "description" : "Soirées de l'ambassadeur, Ferro Rocher fournis",
            "disabled" : 0,
            "icon" : "fa-comment",
            "imageClass" : "cover",
            "link" : "",
            "name" : "Da Lounge",
            "numRecentReplies" : 1,
            "order" : "1",
            "parentCid" : 0,
            "post_count" : 53261,
            "slug" : "2/da-lounge",
            "topic_count" : 23
    }
    {
            "_id" : ObjectId("54902fe6e0b2fdca2defe7f6"),
            "_key" : "category:3",
            "order" : "4"
    }
    {
            "_id" : ObjectId("548ec825e0b2fdca2def493a"),
            "_key" : "category:11",
            "cid" : 11,
            "name" : "Da Jeux Vidéos",
            "description" : "Là où Mario rencontre Sally",
            "icon" : "fa-gamepad",
            "bgColor" : "#0059b2",
            "color" : "#fff",
            "slug" : "11/da-jeux-vidéos",
            "parentCid" : 0,
            "topic_count" : 27,
            "post_count" : 17845,
            "disabled" : 0,
            "order" : "4",
            "link" : "",
            "numRecentReplies" : 1,
            "class" : "col-md-3 col-xs-6",
            "imageClass" : "cover"
    }
    {
            "_id" : ObjectId("548ecae1e0b2fdca2def493d"),
            "_key" : "category:12",
            "cid" : 12,
            "name" : "Les News",
            "description" : "L'information décryptée puis recryptée en pire",
            "icon" : "fa-area-chart",
            "bgColor" : "#0059b2",
            "color" : "#fff",
            "slug" : "12/les-news",
            "parentCid" : 0,
            "topic_count" : 33,
            "post_count" : 1121,
            "disabled" : 0,
            "order" : "3",
            "link" : "",
            "numRecentReplies" : 1,
            "class" : "col-md-3 col-xs-6",
            "imageClass" : "auto"
    }
    

    A part from the first two, the others are normal like category 11 and 12, here above. And thanks for your help!

  • Gamers Admin

    Looks like category 3 is the problem.

    Make a backup of your database and remove it with

    db.objects.remove({_key:"category:3"});
    db.objects.remove({_key:"categories:cid", value: "3"});
    

  • It worked like a charm!
    Thanks so much for your help. I could hug you!

    Here's a little Christmas gift (an Advent calendar): http://www.legrugru.com/avent/

  • Gamers Admin

    Lol that should have a NSFW tag 🙂


  • Thanks again, mate!

Suggested Topics

| |