Dusmall Posted August 16, 2014 Share Posted August 16, 2014 (edited) Bonjour à tous, Je rencontre actuellement un problème avec mon catalogue produit. Lorsque que j’accède à la première page d’une de mes catégories l’ensemble des produits s’affiche normalement (paramétré sur 12 produits par page). Par contre lorsque je souhaite accéder à la deuxième page, aucun produit ne s’affiche. J’ai simplement droit au message : « Il n’y a pas de produit ». Pourtant j’ai plus de cinquante produits rentrés en BO. Je suis actuellement sur prestashop 1.6.0.9. D’avance merci pour votre aide. Edited August 22, 2014 by Dusmall (see edit history) Link to comment Share on other sites More sharing options...
Szed Posted August 17, 2014 Share Posted August 17, 2014 Un lien vers votre site permettrait au personnes qui passent par la de voir tout cela de façon concrète ! Ce qui pourrait aider 1 Link to comment Share on other sites More sharing options...
Dusmall Posted August 20, 2014 Author Share Posted August 20, 2014 Bonjour, Autant pour moi : http://delalleau.fr/PrestaShop/ Merci d'avavance Link to comment Share on other sites More sharing options...
2FR3 Posted August 20, 2014 Share Posted August 20, 2014 Bonjour, Il y a en effet un probleme sur la page appelé : Lien actuel pour la page 2 de collection/gateaux : http://delalleau.fr/PrestaShop/5-gateaux# Lien corrigé qui fonctionne : http://delalleau.fr/PrestaShop/5-gateaux?p=2 Par contre , je ne l'explique pas, a part le htacces qui merdouillerait. Pouvez vous désactiver la réecriture pour voir si le probleme perciste ? Link to comment Share on other sites More sharing options...
Dusmall Posted August 20, 2014 Author Share Posted August 20, 2014 Merci pour le retour. Parle-t-on biend de la même chose pour "désactiver la réecriture" ? > Préférences > SEO & URL > Configuration des URL Voilà ce que j'ai URL simplifiée : oui URL accentuées : non Désactiver l'option MultiViews d'Apache : non Désactiver le module mod_security d'Apache : non Link to comment Share on other sites More sharing options...
2FR3 Posted August 20, 2014 Share Posted August 20, 2014 URL Simplifiées => non (juste pour voir) Link to comment Share on other sites More sharing options...
Dusmall Posted August 20, 2014 Author Share Posted August 20, 2014 Paramétrage effectué Link to comment Share on other sites More sharing options...
2FR3 Posted August 20, 2014 Share Posted August 20, 2014 (edited) Hum ... Toujours pareil ... Z'avez installé des modules non natifs ? D'ou sort le # dans l'url ? Edited August 20, 2014 by 2FR3 (see edit history) Link to comment Share on other sites More sharing options...
Szed Posted August 20, 2014 Share Posted August 20, 2014 Chez moi c'est bon la. La pagination m'emmene sur : http://delalleau.fr/PrestaShop/index.php?id_category=4&controller=category&p=2 Et j'ai bien douze produit. Link to comment Share on other sites More sharing options...
2FR3 Posted August 20, 2014 Share Posted August 20, 2014 Chez moi c'est bon la. La pagination m'emmene sur : http://delalleau.fr/PrestaShop/index.php?id_category=4&controller=category&p=2 Et j'ai bien douze produit. T'as trouver la seule categorie qui fonctionne lol ! Si tu prends la categorie collection/gateaux, y'a un # dans l'url (pour la page 2) Link to comment Share on other sites More sharing options...
Dusmall Posted August 20, 2014 Author Share Posted August 20, 2014 Merci pour votre implication. Non tous les modules sont natifs, je n'en ai installé aucun autre. Link to comment Share on other sites More sharing options...
Dusmall Posted August 20, 2014 Author Share Posted August 20, 2014 Pour le #, celui ci a été généré automatiquement. Link to comment Share on other sites More sharing options...
Szed Posted August 20, 2014 Share Posted August 20, 2014 T'as trouver la seule categorie qui fonctionne lol ! Si tu prends la categorie collection/gateaux, y'a un # dans l'url (pour la page 2) Bien vu x) Bizarre comme souci. J'ai pas trop d'idée la. En général, si la pagination déconne, la navigation à facette est pas loin, mais elle ne semble pas activé la :/ Aucune modification n'a été faite sur le pagination.tpl de votre thème ? Link to comment Share on other sites More sharing options...
Dusmall Posted August 20, 2014 Author Share Posted August 20, 2014 Malheureusement non Link to comment Share on other sites More sharing options...
Dusmall Posted August 20, 2014 Author Share Posted August 20, 2014 (edited) Pour revenir sur le post de Szed "Chez moi c'est bon la. La pagination m'emmene sur : http://delalleau.fr/...er=category&p=2 Et j'ai bien douze produit." En fait la pagination sur les liens de deuxième niveau de l'arbo Collections > Pâtisserie fonctionnent: http://delalleau.fr/PrestaShop/index.php?id_category=4&controller=category&p=2 Mais dès que l'on descend d'un niveau, là, la pagination en deuxième page ne fonctionne plus : http://delalleau.fr/PrestaShop/index.php?id_category=5&controller=category Edited August 20, 2014 by Dusmall (see edit history) Link to comment Share on other sites More sharing options...
2FR3 Posted August 20, 2014 Share Posted August 20, 2014 Vous pouvez nous mettre le contenu du .htaccess ici SVP ? Link to comment Share on other sites More sharing options...
Dusmall Posted August 21, 2014 Author Share Posted August 21, 2014 Voici : <IfModule mod_rewrite.c> <IfModule mod_env.c> SetEnv HTTP_MOD_REWRITE On </IfModule> RewriteEngine on RewriteRule . - [E=REWRITEBASE:/PrestaShop/] RewriteRule ^api/?(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L] RewriteRule ^([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$1$2$3.jpg [L] RewriteRule ^([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$1$2$3$4.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$1$2$3$4$5.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$1$2$3$4$5$6.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6$7.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7$8.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8$9.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$8/$1$2$3$4$5$6$7$8$9$10.jpg [L] RewriteRule ^c/([0-9]+)(\-[\.*_a-zA-Z0-9-]*)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2$3.jpg [L] RewriteRule ^c/([a-zA-Z_-]+)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2.jpg [L] RewriteRule ^images_ie/?([^/]+)\.(jpe?g|png|gif)$ js/jquery/plugins/fancybox/images/$1.$2 [L] RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.*$ - [NC,L] RewriteRule ^.*$ %{ENV:REWRITEBASE}index.php [NC,L] </IfModule> AddType application/vnd.ms-fontobject .eot AddType font/ttf .ttf AddType font/otf .otf AddType application/x-font-woff .woff ErrorDocument 404 /PrestaShop/index.php?controller=404 # ~~start~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again # .htaccess automaticaly generated by PrestaShop e-commerce open-source solution # http://www.prestashop.com - http://www.prestashop.com/forums <IfModule mod_rewrite.c> <IfModule mod_env.c> SetEnv HTTP_MOD_REWRITE On </IfModule> RewriteEngine on RewriteRule . - [E=REWRITEBASE:/PrestaShop/] RewriteRule ^api/?(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L] # AlphaImageLoader for IE and fancybox RewriteRule ^images_ie/?([^/]+)\.(jpe?g|png|gif)$ js/jquery/plugins/fancybox/images/$1.$2 [L] </IfModule> AddType application/vnd.ms-fontobject .eot AddType font/ttf .ttf AddType font/otf .otf AddType application/x-font-woff .woff #If rewrite mod isn't enabled ErrorDocument 404 /PrestaShop/index.php?controller=404 # ~~end~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again Link to comment Share on other sites More sharing options...
Dusmall Posted August 22, 2014 Author Share Posted August 22, 2014 Bonjour, Mon problème est résolu.J'ai en fait reconstruit tout mon catalogue et là, la pagination est réapparu. Merci à Szed et 2FR3 Link to comment Share on other sites More sharing options...
Szed Posted August 22, 2014 Share Posted August 22, 2014 Tant mieux, même si le souci était bizarre ^^ Vous pouvez passez votre topic en Résolu (en modifiant le titre de votre premier post) Link to comment Share on other sites More sharing options...
Dusmall Posted August 22, 2014 Author Share Posted August 22, 2014 Szed, Je ne vois pas où je peux changer le titre de mon premier post ? 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