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

#   Error in the product vote section

##

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

Less More

- Posts: 7
- Thank you received: 0
-
-

14 years 3 months ago [\#58371](#58371) by [mattsee4d](/forum/user/7832-mattsee4d "View mattsee4d's Profile")  *[Error in the product vote section](/forum/2-general-talk-about-hikashop/58371-error-in-the-product-vote-section#58371 "Selecting &quot;Vote only&quot; in Vote configuration section I get the error under the product(see attached image). Selecting any other value the eg. vote and comment works OK. Any suggestions?  Thank you and br. Matt")* was created by *[mattsee4d](/forum/user/7832-mattsee4d "View mattsee4d's Profile")*

Selecting "Vote only" in Vote configuration section I get the error under the product(see attached image). Selecting any other value the eg. vote and comment works OK. Any suggestions?

Thank you and br.
Matt

- [ ![Clipboard01copy.jpg](/forum/attachment/4907) ](/forum/attachment/4907 "...oard01copy.jpg") [ ](/forum/attachment/4907?download=1 "...oard01copy.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzU4MzcxLWVycm9yLWluLXRoZS1wcm9kdWN0LXZvdGUtc2VjdGlvbj90bXBsPW1hcmtkb3du) 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 3 months ago [\#58455](#58455) 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 in the product vote section](/forum/2-general-talk-about-hikashop/58371-error-in-the-product-vote-section#58455 "Selecting &quot;Vote only&quot; in Vote configuration section I get the error under the product(see attached image). Selecting any other value the eg. vote and comment works OK. Any suggestions?  Thank you and br. Matt")*

Hi mattsee4d,

To correct this error, you can edit this file and put: Code:

$row-&gt;comment_to_show = $i;

Before the "{" which precedes.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzU4MzcxLWVycm9yLWluLXRoZS1wcm9kdWN0LXZvdGUtc2VjdGlvbj90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 7
- Thank you received: 0
-
-

14 years 3 months ago [\#58530](#58530) by [mattsee4d](/forum/user/7832-mattsee4d "View mattsee4d's Profile")  Replied by *[mattsee4d](/forum/user/7832-mattsee4d "View mattsee4d's Profile")* on topic *[Re: Error in the product vote section](/forum/2-general-talk-about-hikashop/58371-error-in-the-product-vote-section#58530 "Selecting &quot;Vote only&quot; in Vote configuration section I get the error under the product(see attached image). Selecting any other value the eg. vote and comment works OK. Any suggestions?  Thank you and br. Matt")*

Hello,

In the file in the 130th row there is already this line of code:
"$row-&gt;comment_to_show = $i;"

I am not a coder, developer. I have basics skills to know what to look and where to look in case of errors, but I can not code. The code your gave me is already there. As mentioned below, the error shows only if the vote only value "Nothing" and "Vote only" is selected in "Vote" configuration section under "Choose which module you want to enable".

Secondly I don't want to modify much code manually since this can cause problems at upgrade, right?

Please advise further.

Thank you and Best regards
Matt

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzU4MzcxLWVycm9yLWluLXRoZS1wcm9kdWN0LXZvdGUtc2VjdGlvbj90bXBsPW1hcmtkb3du) 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 3 months ago [\#58582](#58582) 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 in the product vote section](/forum/2-general-talk-about-hikashop/58371-error-in-the-product-vote-section#58582 "Selecting &quot;Vote only&quot; in Vote configuration section I get the error under the product(see attached image). Selecting any other value the eg. vote and comment works OK. Any suggestions?  Thank you and br. Matt")*

Hi mattsee4d,

This line of code don't need to be added, but moved like on this screenshot:
[ ![tmp&#95;2012-07-24.png](/forum/attachment/4930) ](/forum/attachment/4930 "...2012-07-24.png")

This edition will be in the next release, so you can do it now if you want.
Or wait the next release.

- [ ![tmp&#95;2012-07-24.png](/forum/attachment/4930) ](/forum/attachment/4930 "...2012-07-24.png") [ ](/forum/attachment/4930?download=1 "...2012-07-24.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzU4MzcxLWVycm9yLWluLXRoZS1wcm9kdWN0LXZvdGUtc2VjdGlvbj90bXBsPW1hcmtkb3du) 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.062 seconds

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