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

#   Strange issue with Votes

##

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

Less More

- Posts: 131
- Thank you received: 7
-
-

13 years 1 month ago [\#128024](#128024) by [bonzomedia](/forum/user/1859-bonzomedia "View bonzomedia's Profile")  *[Strange issue with Votes](/forum/42-vote/862829-strange-issue-with-votes#128024 "I staged a new website and voting was working perfectly. After packaging it up with Akeeba and installing onto the live server the Voting function is no longer working. Clicking on the voting stars...")* was created by *[bonzomedia](/forum/user/1859-bonzomedia "View bonzomedia's Profile")*

I staged a new website and voting was working perfectly. After packaging it up with Akeeba and installing onto the live server the Voting function is no longer working. Clicking on the voting stars does not display the "To validate your vote, complete a comment below... " message to appear and entering the email address and a comment and then clicking the Send a comment button does nothing.

I'm mystified as to why it worked on the staging server and not on the live server. I have tried installing the JQuery Easy plug-in but this makes no difference (currrently disabled).

Staging site product URL : [ staging1.bonzomedia.co.uk/index.php?opti...=penguins&amp;Itemid=112](http://staging1.bonzomedia.co.uk/index.php?option=com_hikashop&ctrl=product&task=show&cid=1&name=penguins&Itemid=112)

Live site product URL : [ www.penguinpacks.com/index.php?option=co...=penguins&amp;Itemid=112](http://www.penguinpacks.com/index.php?option=com_hikashop&ctrl=product&task=show&cid=1&name=penguins&Itemid=112)

Any ideas please?

Thanks

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

13 years 1 month ago [\#128035](#128035) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Strange issue with Votes](/forum/42-vote/862829-strange-issue-with-votes#128035 "I staged a new website and voting was working perfectly. After packaging it up with Akeeba and installing onto the live server the Voting function is no longer working. Clicking on the voting stars...")*

Hi,

First, I will recommend you to update HikaShop to the latest version : 2.2.2
[ www.hikashop.com/support/documentation/5...ashop-changelog.html](http://www.hikashop.com/support/documentation/56-hikashop-changelog.html)

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 131
- Thank you received: 7
-
-

13 years 1 month ago [\#128046](#128046) by [bonzomedia](/forum/user/1859-bonzomedia "View bonzomedia's Profile")  Replied by *[bonzomedia](/forum/user/1859-bonzomedia "View bonzomedia's Profile")* on topic *[Strange issue with Votes](/forum/42-vote/862829-strange-issue-with-votes#128046 "I staged a new website and voting was working perfectly. After packaging it up with Akeeba and installing onto the live server the Voting function is no longer working. Clicking on the voting stars...")*

No, that's not the issue - as stated before, it was working perfectly on the staging server (not a localhost) and stopped working when unpacked and installed onto another webhost.

I've upgraded to 2.2.2 and see no difference - it's still broken...

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

13 years 1 month ago [\#128088](#128088) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Strange issue with Votes](/forum/42-vote/862829-strange-issue-with-votes#128088 "I staged a new website and voting was working perfectly. After packaging it up with Akeeba and installing onto the live server the Voting function is no longer working. Clicking on the voting stars...")*

Hi,

It seems that you don't have the latest version of the view "vote / mini".
Thanks to check in that view through the menu Display &gt; Views if you have the following code inside: Code:

&lt;input type="hidden" id="hikashop_vote_ok_&lt;?php echo $hikashop_vote_ref_id;?&gt;" value="0"/&gt; &lt;input type="hidden" id="vote_type_&lt;?php echo $hikashop_vote_ref_id;?&gt;" value="&lt;?php echo $type_item; ?&gt;"/&gt; &lt;input type="hidden" id="hikashop_vote_user_id_&lt;?php echo $hikashop_vote_ref_id;?&gt;" value="&lt;?php echo $hikashop_vote_user_id;?&gt;"/&gt;

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

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

Less More

- Posts: 131
- Thank you received: 7
-
-

13 years 1 month ago -  13 years 1 month ago [\#128126](#128126) by [bonzomedia](/forum/user/1859-bonzomedia "View bonzomedia's Profile")  Replied by *[bonzomedia](/forum/user/1859-bonzomedia "View bonzomedia's Profile")* on topic *[Strange issue with Votes](/forum/42-vote/862829-strange-issue-with-votes#128126 "I staged a new website and voting was working perfectly. After packaging it up with Akeeba and installing onto the live server the Voting function is no longer working. Clicking on the voting stars...")*

Xavier,

I've just checked vote / mini.php and the header indicates version 2.2.0
Code:

&lt;?php /** * @package HikaShop for Joomla! * @version 2.2.0 * @author hikashop.com * @copyright (C) 2010-2013 HIKARI SOFTWARE. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ defined('_JEXEC') or die('Restricted access'); ?&gt;&lt;?php JHTML::_('behavior.tooltip'); $row = &amp; $this-&gt;rows; $vote_enabled = $row-&gt;vote_enabled; if ($vote_enabled == 1) { $hikashop_vote_average_score = $row-&gt;hikashop_vote_average_score; $hikashop_vote_average_score_rounded = $row-&gt;hikashop_vote_average_score_rounded; JRequest::setVar("rate_rounded",$hikashop_vote_average_score_rounded); $hikashop_vote_total_vote = $row-&gt;hikashop_vote_total_vote; $hikashop_vote_nb_star = $row-&gt;hikashop_vote_nb_star; JRequest::setVar("nb_max_star",$hikashop_vote_nb_star); $type_item = $row-&gt;type_item; $hikashop_vote_ref_id = $row-&gt;vote_ref_id; $main_div_name = $row-&gt;main_div_name; $hikashop_vote_user_id = hikashop_loadUser(); $listing_true = $row-&gt;listing_true; $select_id = "select_id_".$hikashop_vote_ref_id; if($main_div_name != '' ){ $select_id .= "_".$main_div_name; }else{ $select_id .= "_hikashop_main_div_name"; } ?&gt; &lt;input type="hidden" id="hikashop_vote_ok" value="0"/&gt; &lt;input type="hidden" id="vote_type" value="&lt;?php echo $type_item; ?&gt;"/&gt; &lt;input type="hidden" id="hikashop_vote_ref_id" value="&lt;?php echo $hikashop_vote_ref_id;?&gt;"/&gt; &lt;input type="hidden" id="hikashop_vote_user_id" value="&lt;?php echo $hikashop_vote_user_id;?&gt;"/&gt; &lt;div class="hikashop_vote_stars"&gt; &lt;select name="hikashop_vote_rating" style="display: none;" class="chzn-done" id="&lt;?php echo $select_id;?&gt;"&gt; &lt;?php for ($i = 1; $i &lt;= $hikashop_vote_nb_star; $i++) { echo '&lt;option value="' . $i . '"&gt;' . $i . '&lt;/option&gt;'; } ?&gt; &lt;/select&gt; &lt;script type='text/javascript'&gt; window.addEvent('domready', function() { var rating = new hikashop_ratings(document.getElementById('&lt;?php echo $select_id;?&gt;'), { id : 'hikashop_vote_rating_&lt;?php echo $type_item; ?&gt;_&lt;?php echo $hikashop_vote_ref_id;?&gt;_', showSelectBox : false, container : null, defaultRating : &lt;?php echo $hikashop_vote_average_score_rounded; ?&gt; }); }); &lt;/script&gt; &lt;span class="hikashop_total_vote" &gt; &lt;?php echo JHTML::tooltip($hikashop_vote_average_score.'/'.$hikashop_vote_nb_star, JText::_('VOTE_AVERAGE'), '', ' '.$hikashop_vote_total_vote.' '); if ($hikashop_vote_total_vote &gt; 1) {echo " Reviews";} else echo " Review"; ?&gt; &lt;/span&gt; &lt;span id="hikashop_vote_status_&lt;?php echo $hikashop_vote_ref_id;?&gt;" class="hikashop_vote_notification_mini"&gt;&lt;/span&gt; &lt;/div&gt; &lt;div class="clear_both"&gt;&lt;/div&gt; &lt;br/&gt; &lt;?php } ?&gt;

Last edit: 13 years 1 month ago by [bonzomedia](/forum/user/1859-bonzomedia "View bonzomedia's Profile"). Reason: correction

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

13 years 1 month ago [\#128128](#128128) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Strange issue with Votes](/forum/42-vote/862829-strange-issue-with-votes#128128 "I staged a new website and voting was working perfectly. After packaging it up with Akeeba and installing onto the live server the Voting function is no longer working. Clicking on the voting stars...")*

The latest version is 2.2.2 and some changes have been made in that view.
Thanks to update that view by saving your changes in an external file, then click on the dustbin in the views listing.

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

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

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

Less More

- Posts: 131
- Thank you received: 7
-
-

13 years 1 month ago [\#128130](#128130) by [bonzomedia](/forum/user/1859-bonzomedia "View bonzomedia's Profile")  Replied by *[bonzomedia](/forum/user/1859-bonzomedia "View bonzomedia's Profile")* on topic *[Strange issue with Votes](/forum/42-vote/862829-strange-issue-with-votes#128130 "I staged a new website and voting was working perfectly. After packaging it up with Akeeba and installing onto the live server the Voting function is no longer working. Clicking on the voting stars...")*

Xavier,

That's great, it's fixed that issue, thank you.

Still puzzled why it worked on the staging site and not the live site as I'm sure that I did not make any customisations to mini.php!

Anyway, thanks again!

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

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