[Skip to main content](#vessel-content)

#   les votes ne marchent pas

##

- **[erickb](/forum/user/4069-erickb "View erickb's Profile")**
- [![erickb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4069-erickb "View erickb's Profile") Topic Author
- [ Offline](/forum/user/4069-erickb)

Less More

- Posts: 2697
- Thank you received: 74
-
-

12 years 5 months ago -  12 years 5 months ago [\#155108](#155108) by [erickb](/forum/user/4069-erickb "View erickb's Profile")  *[les votes ne marchent pas](/forum/5-support-en-francais-french-support-/868015-les-votes-ne-marchent-pas#155108 "- HikaShop version -- : 23 -- Joomla version -- : 33 ma config  dans vote/form.php il y a  et en ce cas le select ne s'affiche jamais, j'ai supprime le display:none; et impossible d'avoir aucun vote ( Pas de votes) il n'y a pas de bouton pour envoyer le vote ?")* was created by *[erickb](/forum/user/4069-erickb "View erickb's Profile")*

- HikaShop version -- : 23
-- Joomla version -- : 33
ma config
[ ![h5c7a6e8.png](/forum/attachment/17124) ](/forum/attachment/17124 "h5c7a6e8.png")

dans vote/form.php il y a Code:

if ($vote_enabled == 1) { echo '&lt;select name="hikashop_vote_rating" class="chzn-done" style="display: none;" id="hikashop_vote_rating_id"&gt;';

et en ce cas le select ne s'affiche jamais, j'ai supprime le display:none; et impossible d'avoir aucun vote ( Pas de votes)
il n'y a pas de bouton pour envoyer le vote ?

- [ ![h5c7a6e8.png](/forum/attachment/17124) ](/forum/attachment/17124 "h5c7a6e8.png") [ ](/forum/attachment/17124?download=1 "h5c7a6e8.png")

Last edit: 12 years 5 months ago by [erickb](/forum/user/4069-erickb "View erickb's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODY4MDE1LWxlcy12b3Rlcy1uZS1tYXJjaGVudC1wYXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 5 months ago [\#155117](#155117) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[les votes ne marchent pas](/forum/5-support-en-francais-french-support-/868015-les-votes-ne-marchent-pas#155117 "- HikaShop version -- : 23 -- Joomla version -- : 33 ma config  dans vote/form.php il y a  et en ce cas le select ne s'affiche jamais, j'ai supprime le display:none; et impossible d'avoir aucun vote ( Pas de votes) il n'y a pas de bouton pour envoyer le vote ?")*

Bonjour,

Avez-vous modifié quelconque vue liée aux votes ?
Ce select ne doit pas s'afficher, il sert juste pour initialiser les votes qui sont générés par le biais de javascript.
Si ces votes ne sont pas affichés, c'est certainement ue:
- il manque un morceau de code
- vous avez une erreur javascript en amont

Donc il faut réinitialiser la vue pour qu'elle n'ai pas de changement, et corriger les erreurs javascripts qui peuvent être repérées grâce à votre console de navigateur. (F12 généralement)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODY4MDE1LWxlcy12b3Rlcy1uZS1tYXJjaGVudC1wYXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[erickb](/forum/user/4069-erickb "View erickb's Profile")**
- [![erickb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4069-erickb "View erickb's Profile") Topic Author
- [ Offline](/forum/user/4069-erickb)

Less More

- Posts: 2697
- Thank you received: 74
-
-

12 years 5 months ago [\#155190](#155190) by [erickb](/forum/user/4069-erickb "View erickb's Profile")  Replied by *[erickb](/forum/user/4069-erickb "View erickb's Profile")* on topic *[les votes ne marchent pas](/forum/5-support-en-francais-french-support-/868015-les-votes-ne-marchent-pas#155190 "- HikaShop version -- : 23 -- Joomla version -- : 33 ma config  dans vote/form.php il y a  et en ce cas le select ne s'affiche jamais, j'ai supprime le display:none; et impossible d'avoir aucun vote ( Pas de votes) il n'y a pas de bouton pour envoyer le vote ?")*

non justement je n'ai pas touche aux vues ni form.php ni mini.php pour tester et je n'ai aucune erreur javascript
est ce que vous utilisez encore mootools ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODY4MDE1LWxlcy12b3Rlcy1uZS1tYXJjaGVudC1wYXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

12 years 5 months ago [\#155213](#155213) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[les votes ne marchent pas](/forum/5-support-en-francais-french-support-/868015-les-votes-ne-marchent-pas#155213 "- HikaShop version -- : 23 -- Joomla version -- : 33 ma config  dans vote/form.php il y a  et en ce cas le select ne s'affiche jamais, j'ai supprime le display:none; et impossible d'avoir aucun vote ( Pas de votes) il n'y a pas de bouton pour envoyer le vote ?")*

Pouvez-vous fournir un lien vers la page ?
HikaShop utilise encore mootools a certains endroits. Nous enlevons les dépendences, petit à petit.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODY4MDE1LWxlcy12b3Rlcy1uZS1tYXJjaGVudC1wYXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[lenfanta](/forum/user/38350-lenfanta "View lenfanta's Profile")**
- [![lenfanta's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar38350.jpg)](/forum/user/38350-lenfanta "View lenfanta's Profile")
- [ Offline](/forum/user/38350-lenfanta)

Less More

- Posts: 32
- Thank you received: 0
-

6 years 4 months ago [\#320196](#320196) by [lenfanta](/forum/user/38350-lenfanta "View lenfanta's Profile")  Replied by *[lenfanta](/forum/user/38350-lenfanta "View lenfanta's Profile")* on topic *[les votes ne marchent pas](/forum/5-support-en-francais-french-support-/868015-les-votes-ne-marchent-pas#320196 "- HikaShop version -- : 23 -- Joomla version -- : 33 ma config  dans vote/form.php il y a  et en ce cas le select ne s'affiche jamais, j'ai supprime le display:none; et impossible d'avoir aucun vote ( Pas de votes) il n'y a pas de bouton pour envoyer le vote ?")*

Bonjour Nicolas
J'ai la version HikaShop Business: 4.3.0

![:(](/media/kunena/emoticons/5.png ":(") Je ne sait pas si c'est exactement un problème similaire, mais je n'arrive plus à cliquer sur les étoiles de vote.

Si tu le veut je peux te donner un identifiant de connexion en privé

- [ ![Capturedecran2020-06-03a13.53.054.png](/forum/attachment/49603) ](/forum/attachment/49603 "...a13.53.054.png") [ ](/forum/attachment/49603?download=1 "...a13.53.054.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODY4MDE1LWxlcy12b3Rlcy1uZS1tYXJjaGVudC1wYXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

6 years 4 months ago [\#320217](#320217) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[les votes ne marchent pas](/forum/5-support-en-francais-french-support-/868015-les-votes-ne-marchent-pas#320217 "- HikaShop version -- : 23 -- Joomla version -- : 33 ma config  dans vote/form.php il y a  et en ce cas le select ne s'affiche jamais, j'ai supprime le display:none; et impossible d'avoir aucun vote ( Pas de votes) il n'y a pas de bouton pour envoyer le vote ?")*

Bonjour,

Il nous faudrait en effet un lien vers la page en question pour étudier le soucis.
C'est surement un conflit javascript sur la page qui crée une erreur.

Vous pouvez envoyer cela avec un lien vers ce sujet via notre formulaire de contact:
[ www.hikashop.com/support/contact-us.html](https://www.hikashop.com/support/contact-us.html)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODY4MDE1LWxlcy12b3Rlcy1uZS1tYXJjaGVudC1wYXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

6 years 4 months ago [\#320445](#320445) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[les votes ne marchent pas](/forum/5-support-en-francais-french-support-/868015-les-votes-ne-marchent-pas#320445 "- HikaShop version -- : 23 -- Joomla version -- : 33 ma config  dans vote/form.php il y a  et en ce cas le select ne s'affiche jamais, j'ai supprime le display:none; et impossible d'avoir aucun vote ( Pas de votes) il n'y a pas de bouton pour envoyer le vote ?")*

Bonjour,

J'ai eu les accès et après vérification, ce n'est pas un soucis de javascript.
Il semble que le soucis soit du coté du PHP car les données sont biens envoyées au serveur quand on clique sur le bouton "envoyer un commentaire" sur votre lien, mais la réponse du serveur indique que le vote a été ajouté/mis à jour mais le total indique toujours 0:
[ monosnap.com/file/Cs1yJUOjiIZ7s5z7AOxVWGmGpBUyaJ](https://monosnap.com/file/Cs1yJUOjiIZ7s5z7AOxVWGmGpBUyaJ)
Donc cela ressemble à un soucis lors de la prise en compte du vote/commentaire, ou peut être à la sauvegarde.
Il nous faudrait un accès FTP pour regarder plus en détails le problème.
Pourriez-vous aussi fournir cela via notre formulaire de contact ?
[ www.hikashop.com/support/contact-us.html](https://www.hikashop.com/support/contact-us.html)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODY4MDE1LWxlcy12b3Rlcy1uZS1tYXJjaGVudC1wYXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

6 years 4 months ago [\#320665](#320665) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[les votes ne marchent pas](/forum/5-support-en-francais-french-support-/868015-les-votes-ne-marchent-pas#320665 "- HikaShop version -- : 23 -- Joomla version -- : 33 ma config  dans vote/form.php il y a  et en ce cas le select ne s'affiche jamais, j'ai supprime le display:none; et impossible d'avoir aucun vote ( Pas de votes) il n'y a pas de bouton pour envoyer le vote ?")*

Bonjour,

Merci pour les accès. J'ai trouvé le soucis. En effet le soucis, c'est qu'il n'y pas de message retourné indiquant que le vote est en attente de publication.
Vous devez surement (votre accès backend ne donne pas accès à la configuration HikaShop, donc je n'ai pas pu confirmer) avoir l'option "Auto publish new comments" désactivée dans la configuration HikaShop.
J'ai modifié le code pour changer le message affiché à l'utilisateur lorsque cette option est activée pour que ce soit plus clair.
De votre coté, vous voudrez peut être désactiver cette option.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODY4MDE1LWxlcy12b3Rlcy1uZS1tYXJjaGVudC1wYXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[lenfanta](/forum/user/38350-lenfanta "View lenfanta's Profile")**
- [![lenfanta's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar38350.jpg)](/forum/user/38350-lenfanta "View lenfanta's Profile")
- [ Offline](/forum/user/38350-lenfanta)

Less More

- Posts: 32
- Thank you received: 0
-

6 years 4 months ago [\#320669](#320669) by [lenfanta](/forum/user/38350-lenfanta "View lenfanta's Profile")  Replied by *[lenfanta](/forum/user/38350-lenfanta "View lenfanta's Profile")* on topic *[les votes ne marchent pas](/forum/5-support-en-francais-french-support-/868015-les-votes-ne-marchent-pas#320669 "- HikaShop version -- : 23 -- Joomla version -- : 33 ma config  dans vote/form.php il y a  et en ce cas le select ne s'affiche jamais, j'ai supprime le display:none; et impossible d'avoir aucun vote ( Pas de votes) il n'y a pas de bouton pour envoyer le vote ?")*

Bonjour
merci pour vos conseils
En faite dans la configuration VOTE &amp; COMMENTAIRE :

Avant :
Choisissez le module que vous souhaitez activer &gt; Vote &amp; commentaires liès
problème

Maintenant :
Choisissez le module que vous souhaitez activer &gt; Vote &amp; commentaires
ça fonctionne

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODY4MDE1LWxlcy12b3Rlcy1uZS1tYXJjaGVudC1wYXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[lenfanta](/forum/user/38350-lenfanta "View lenfanta's Profile")**
- [![lenfanta's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar38350.jpg)](/forum/user/38350-lenfanta "View lenfanta's Profile")
- [ Offline](/forum/user/38350-lenfanta)

Less More

- Posts: 32
- Thank you received: 0
-

6 years 4 months ago -  6 years 4 months ago [\#320670](#320670) by [lenfanta](/forum/user/38350-lenfanta "View lenfanta's Profile")  Replied by *[lenfanta](/forum/user/38350-lenfanta "View lenfanta's Profile")* on topic *[les votes ne marchent pas](/forum/5-support-en-francais-french-support-/868015-les-votes-ne-marchent-pas#320670 "- HikaShop version -- : 23 -- Joomla version -- : 33 ma config  dans vote/form.php il y a  et en ce cas le select ne s'affiche jamais, j'ai supprime le display:none; et impossible d'avoir aucun vote ( Pas de votes) il n'y a pas de bouton pour envoyer le vote ?")*

Pouvez-vous me faire un dernier rapport sur ce "problème" avant le statut Résolu svp ?

Last edit: 6 years 4 months ago by [lenfanta](/forum/user/38350-lenfanta "View lenfanta's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODY4MDE1LWxlcy12b3Rlcy1uZS1tYXJjaGVudC1wYXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

6 years 4 months ago [\#320672](#320672) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[les votes ne marchent pas](/forum/5-support-en-francais-french-support-/868015-les-votes-ne-marchent-pas#320672 "- HikaShop version -- : 23 -- Joomla version -- : 33 ma config  dans vote/form.php il y a  et en ce cas le select ne s'affiche jamais, j'ai supprime le display:none; et impossible d'avoir aucun vote ( Pas de votes) il n'y a pas de bouton pour envoyer le vote ?")*

Bonjour,

Je ne vous suis pas.
Le soucis n'est pas sur l'option "Choisissez le module que vous souhaitez activer" mais sur l'option "auto publier les nouveaux commentaires". C'est cette option que vous voulez désactiver.
Le choix "Vote &amp; commentaires liès" ou "Vote &amp; commentaires" permet de choisir entre:
- voter uniquement et commenter uniquement
- voter et commenter ensemble

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODY4MDE1LWxlcy12b3Rlcy1uZS1tYXJjaGVudC1wYXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.292 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
