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

#   Error on view vote form.php - Hikashop 1.5.8

##

- **[fdesanto](/forum/user/4029-fdesanto "View fdesanto's Profile")**
- [![fdesanto's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4029.jpg)](/forum/user/4029-fdesanto "View fdesanto's Profile") Topic Author
- [ Offline](/forum/user/4029-fdesanto)

Less More

- Posts: 25
- Thank you received: 1
-
-

14 years 5 months ago -  14 years 5 months ago [\#51899](#51899) by [fdesanto](/forum/user/4029-fdesanto "View fdesanto's Profile")  *[Error on view vote form.php - Hikashop 1.5.8](/forum/3-bug-report/51899-error-on-view-vote-form-php-hikashop-1-5-8#51899 "In Hikashop 1.5.8 File: component/com&#95;hikashop/view/vote/tmpl/form.php  1) In the line 36 you open the div () but if the if statement at line 38 is false the div don't close.  2) There is an language error at line 39 (echo JText::&#95;('RATE').&quot;: &quot;;) In Italian (and beyond) &quot;rate&quot; is not &quot;vote&quot;.  Thanks")* was created by *[fdesanto](/forum/user/4029-fdesanto "View fdesanto's Profile")*

In Hikashop 1.5.8
File: component/com_hikashop/view/vote/tmpl/form.php

1) In the line 36 you open the div (&lt;div class="hikashop_vote_stars"&gt;)
but if the if statement at line 38 is false the div don't close.

2) There is an language error at line 39 (echo JText::_('RATE').": "![;)](/media/kunena/emoticons/24.png ";)")
In Italian (and beyond) "rate" is not "vote".

Thanks

Last edit: 14 years 5 months ago by [fdesanto](/forum/user/4029-fdesanto "View fdesanto's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC81MTg5OS1lcnJvci1vbi12aWV3LXZvdGUtZm9ybS1waHAtaGlrYXNob3AtMS01LTg/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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)
-

14 years 5 months ago -  14 years 5 months ago [\#51903](#51903) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Re: Error on view vote form.php - Hikashop 1.5.8](/forum/3-bug-report/51899-error-on-view-vote-form-php-hikashop-1-5-8#51903 "In Hikashop 1.5.8 File: component/com&#95;hikashop/view/vote/tmpl/form.php  1) In the line 36 you open the div () but if the if statement at line 38 is false the div don't close.  2) There is an language error at line 39 (echo JText::&#95;('RATE').&quot;: &quot;;) In Italian (and beyond) &quot;rate&quot; is not &quot;vote&quot;.  Thanks")*

Hi fdesanto,

Thank you for reporting it.
It has been corrected.

This line must be removed: Code:

&lt;div class="hikashop_vote_stars"&gt;

And add this line just after the if, like that: Code:

if ($vote_enabled == 1) { echo '&lt;div class="hikashop_vote_stars"&gt;';

For the JText::_('RATE'), you can replace it to: JText::_('VOTE').

Last edit: 14 years 5 months ago by [Xavier](/forum/user/4105-xavier "View Xavier's Profile").

The following user(s) said Thank You: [fdesanto](/forum/user/4029-fdesanto "View fdesanto's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC81MTg5OS1lcnJvci1vbi12aWV3LXZvdGUtZm9ybS1waHAtaGlrYXNob3AtMS01LTg/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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.074 seconds

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