royalpresta Posted May 2, 2019 Share Posted May 2, 2019 (edited) Bonjour à tous, J'ai un problème étrange sur mon site, dans 1 catégorie, le fil d'ariane affiche n'importe quoi Avez-vous une idée d'ou cela peut venir? Edited May 2, 2019 by royalpresta (see edit history) Link to comment Share on other sites More sharing options...
doekia Posted May 2, 2019 Share Posted May 2, 2019 Incohérence dans l'arbre des catégories. Probablement que sans intervention dans la bdd cela n'est pas solvable Link to comment Share on other sites More sharing options...
royalpresta Posted May 2, 2019 Author Share Posted May 2, 2019 Dans quel table je peux voir cela ? Link to comment Share on other sites More sharing options...
doekia Posted May 2, 2019 Share Posted May 2, 2019 ps_category Link to comment Share on other sites More sharing options...
royalpresta Posted May 2, 2019 Author Share Posted May 2, 2019 comment résoudre ce problème dans la vdd, j'ai cela : Quel colonne je dois modifier ? Link to comment Share on other sites More sharing options...
doekia Posted May 2, 2019 Share Posted May 2, 2019 Si un seul enregistrement suffisait je te répondrai mais ce n'est pas possible En gros ton id_parent, nleft, nright et level depth sont mauvais par rapport avec l'arbre (donc tous les autres enregistrements) Link to comment Share on other sites More sharing options...
royalpresta Posted May 2, 2019 Author Share Posted May 2, 2019 ok merci pour la réponse L'id parent et le level_depth sont bons A quoi correspond nleft et nright ? Cela peut venir de la? Car j'ai ce problème que dans les catégories qui n'ont pas de produits. Link to comment Share on other sites More sharing options...
doekia Posted May 2, 2019 Share Posted May 2, 2019 id_parent c'est historique mais en soit n'a aucune valeur, les nleft et nright sont des valeurs calculées représentant l'arbre justement Tente, sans conviction: Créé un fichier dans ton espace admin (disons recat.php) <?php require_once(__DIR__.'/../config/config.inc.php'); Category::regenerateEntireNtree(); Puis execute-le https://domain.tld/<dossier-admin>/recat.php Link to comment Share on other sites More sharing options...
royalpresta Posted May 2, 2019 Author Share Posted May 2, 2019 merci mais cela ne pas fonctionné malheureusement Link to comment Share on other sites More sharing options...
doekia Posted May 2, 2019 Share Posted May 2, 2019 alors il faut aller voir sous le capot ... PM moi si tu veux que je vienne voir ça Link to comment Share on other sites More sharing options...
royalpresta Posted May 2, 2019 Author Share Posted May 2, 2019 je viens de vous envoyer un message merci Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now