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

#   After updating 1.6.0 starter, vote/comments not wo

##

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

Less More

- Posts: 22
- Thank you received: 0
-
-

14 years 1 month ago -  14 years 1 month ago [\#63405](#63405) by [s21rc](/forum/user/4438-s21rc "View s21rc's Profile")  *[After updating 1.6.0 starter, vote/comments not wo](/forum/3-bug-report/63405-after-updating-1-6-0-starter-vote-comments-not-wo#63405 "Hi following are the problem I am facing after updating the hikashop starter to latest version yesterday:  1. All old comments/vote disaperared from the product page. Though the input box for comments are there but new comments also not showing in the product page. I can see the comments in dashboard but not in frontend.  2. There is no &quot;Add to Cart&quot; button in the product front page.  Thanks. Fazlay   www.peak69.com")* was created by *[s21rc](/forum/user/4438-s21rc "View s21rc's Profile")*

Hi following are the problem I am facing after updating the hikashop starter to latest version yesterday:

1. All old comments/vote disaperared from the product page. Though the input box for comments are there but new comments also not showing in the product page. I can see the comments in dashboard but not in frontend.

2. There is no "Add to Cart" button in the product front page.

Thanks.
Fazlay
[ www.peak69.com](http://www.peak69.com)

Last edit: 14 years 1 month ago by [s21rc](/forum/user/4438-s21rc "View s21rc's Profile"). Reason: more bug report added

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

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

Less More

- Posts: 22
- Thank you received: 0
-
-

14 years 1 month ago [\#63408](#63408) by [s21rc](/forum/user/4438-s21rc "View s21rc's Profile")  Replied by *[s21rc](/forum/user/4438-s21rc "View s21rc's Profile")* on topic *[Re: After updating 1.6.0 starter, vote/comments not wo](/forum/3-bug-report/63405-after-updating-1-6-0-starter-vote-comments-not-wo#63408 "Hi following are the problem I am facing after updating the hikashop starter to latest version yesterday:  1. All old comments/vote disaperared from the product page. Though the input box for comments are there but new comments also not showing in the product page. I can see the comments in dashboard but not in frontend.  2. There is no &quot;Add to Cart&quot; button in the product front page.  Thanks. Fazlay   www.peak69.com")*

here is the debug:

Notice: Undefined variable: hikashop_vote_product_id in /home/peak69/public_html/components/com_hikashop/views/vote/view.html.php on line 67

500
Oops... JDatabaseMySQLi::query: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND vote_type = 'product'' at line 1 SQL=SELECT count(vote_id) FROM &#96;jml17_hikashop_vote&#96; WHERE vote_ref_id = AND vote_type = 'product'

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC82MzQwNS1hZnRlci11cGRhdGluZy0xLTYtMC1zdGFydGVyLXZvdGUtY29tbWVudHMtbm90LXdvP3RtcGw9bWFya2Rvd24=) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

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

14 years 1 month ago [\#63560](#63560) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: After updating 1.6.0 starter, vote/comments not wo](/forum/3-bug-report/63405-after-updating-1-6-0-starter-vote-comments-not-wo#63560 "Hi following are the problem I am facing after updating the hikashop starter to latest version yesterday:  1. All old comments/vote disaperared from the product page. Though the input box for comments are there but new comments also not showing in the product page. I can see the comments in dashboard but not in frontend.  2. There is no &quot;Add to Cart&quot; button in the product front page.  Thanks. Fazlay   www.peak69.com")*

Hi,

1. edit the file components/com_hikashop/views/vote/view.html.php and change the line:
$query = 'SELECT count(vote_id) FROM &#96;#__hikashop_vote&#96; WHERE vote_ref_id = '.$hikashop_vote_product_id.' AND vote_type = '.$db-&gt;quote('product').'';
to:
$query = 'SELECT count(vote_id) FROM &#96;#__hikashop_vote&#96; WHERE vote_ref_id = '.(int)$hikashop_vote_product_id.' AND vote_type = '.$db-&gt;quote('product').'';

and that will fix the problem.

2. For the add to cart button, in the Display tab of the configuration, turn on the option "display add to cart button".

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

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

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

Less More

- Posts: 22
- Thank you received: 0
-
-

14 years 1 month ago [\#63672](#63672) by [s21rc](/forum/user/4438-s21rc "View s21rc's Profile")  Replied by *[s21rc](/forum/user/4438-s21rc "View s21rc's Profile")* on topic *[Re: After updating 1.6.0 starter, vote/comments not wo](/forum/3-bug-report/63405-after-updating-1-6-0-starter-vote-comments-not-wo#63672 "Hi following are the problem I am facing after updating the hikashop starter to latest version yesterday:  1. All old comments/vote disaperared from the product page. Though the input box for comments are there but new comments also not showing in the product page. I can see the comments in dashboard but not in frontend.  2. There is no &quot;Add to Cart&quot; button in the product front page.  Thanks. Fazlay   www.peak69.com")*

Hi Nicolas,
Thanks, The add to cart came back. The stars showing properly on product. Still comments is not showing (both old and new).

Here is the bug report:

Notice: Undefined variable: hikashop_vote_product_id in /home/peak69/public_html/components/com_hikashop/views/vote/view.html.php on line 67
Notice: Undefined variable: hikashop_vote_product_id in /home/peak69/public_html/components/com_hikashop/views/vote/view.html.php on line 157

Notice: Undefined variable: hikashop_vote_product_id in /home/peak69/public_html/components/com_hikashop/views/vote/view.html.php on line 169

Notice: Trying to get property of non-object in /home/peak69/public_html/components/com_hikashop/views/vote/view.html.php on line 172

Notice: Trying to get property of non-object in /home/peak69/public_html/components/com_hikashop/views/vote/view.html.php on line 173

Notice: Undefined variable: hikashop_vote_product_id in /home/peak69/public_html/components/com_hikashop/views/vote/view.html.php on line 200

Tried to remove the space between the . (int) $hikashop_vote_product_id but no luck. Thanks for your support in advance.

Fazlay

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC82MzQwNS1hZnRlci11cGRhdGluZy0xLTYtMC1zdGFydGVyLXZvdGUtY29tbWVudHMtbm90LXdvP3RtcGw9bWFya2Rvd24=) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

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

14 years 1 month ago [\#63858](#63858) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: After updating 1.6.0 starter, vote/comments not wo](/forum/3-bug-report/63405-after-updating-1-6-0-starter-vote-comments-not-wo#63858 "Hi following are the problem I am facing after updating the hikashop starter to latest version yesterday:  1. All old comments/vote disaperared from the product page. Though the input box for comments are there but new comments also not showing in the product page. I can see the comments in dashboard but not in frontend.  2. There is no &quot;Add to Cart&quot; button in the product front page.  Thanks. Fazlay   www.peak69.com")*

Are you able to post new comments ?
These messages are not relevant to the fact that the comments don't show.
You can easily hide them by changing the "error reporting" option of the joomla configuration to "production".

Could you provide a back end access to your website so that we could check your settings ?

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

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

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

Less More

- Posts: 22
- Thank you received: 0
-
-

14 years 1 month ago [\#63897](#63897) by [s21rc](/forum/user/4438-s21rc "View s21rc's Profile")  Replied by *[s21rc](/forum/user/4438-s21rc "View s21rc's Profile")* on topic *[Re: After updating 1.6.0 starter, vote/comments not wo](/forum/3-bug-report/63405-after-updating-1-6-0-starter-vote-comments-not-wo#63897 "Hi following are the problem I am facing after updating the hikashop starter to latest version yesterday:  1. All old comments/vote disaperared from the product page. Though the input box for comments are there but new comments also not showing in the product page. I can see the comments in dashboard but not in frontend.  2. There is no &quot;Add to Cart&quot; button in the product front page.  Thanks. Fazlay   www.peak69.com")*

Hi Nicolas,
1. Old comments disapered
2. New comments doesnt show up, but can be seen in backend

Login credential sent to you in private message.
Thanks a lot
Fazlay

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC82MzQwNS1hZnRlci11cGRhdGluZy0xLTYtMC1zdGFydGVyLXZvdGUtY29tbWVudHMtbm90LXdvP3RtcGw9bWFya2Rvd24=) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

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

14 years 1 month ago [\#64072](#64072) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: After updating 1.6.0 starter, vote/comments not wo](/forum/3-bug-report/63405-after-updating-1-6-0-starter-vote-comments-not-wo#64072 "Hi following are the problem I am facing after updating the hikashop starter to latest version yesterday:  1. All old comments/vote disaperared from the product page. Though the input box for comments are there but new comments also not showing in the product page. I can see the comments in dashboard but not in frontend.  2. There is no &quot;Add to Cart&quot; button in the product front page.  Thanks. Fazlay   www.peak69.com")*

Hi,

I didn't get your private message.

Instead, could you use our contact form to send that?

[ www.hikashop.com/en/contact-us.html](http://www.hikashop.com/en/contact-us.html)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC82MzQwNS1hZnRlci11cGRhdGluZy0xLTYtMC1zdGFydGVyLXZvdGUtY29tbWVudHMtbm90LXdvP3RtcGw9bWFya2Rvd24=) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

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

14 years 1 month ago [\#64258](#64258) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: After updating 1.6.0 starter, vote/comments not wo](/forum/3-bug-report/63405-after-updating-1-6-0-starter-vote-comments-not-wo#64258 "Hi following are the problem I am facing after updating the hikashop starter to latest version yesterday:  1. All old comments/vote disaperared from the product page. Though the input box for comments are there but new comments also not showing in the product page. I can see the comments in dashboard but not in frontend.  2. There is no &quot;Add to Cart&quot; button in the product front page.  Thanks. Fazlay   www.peak69.com")*

The back end access your provided doesn't allow us to access the joomla configuration. We would need that in order to be able to activate the debug mode option. Would it be possible to grant our user such access or turn on that option until we can check your website ?

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

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

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

Less More

- Posts: 22
- Thank you received: 0
-
-

14 years 1 month ago [\#64326](#64326) by [s21rc](/forum/user/4438-s21rc "View s21rc's Profile")  Replied by *[s21rc](/forum/user/4438-s21rc "View s21rc's Profile")* on topic *[Re: After updating 1.6.0 starter, vote/comments not wo](/forum/3-bug-report/63405-after-updating-1-6-0-starter-vote-comments-not-wo#64326 "Hi following are the problem I am facing after updating the hikashop starter to latest version yesterday:  1. All old comments/vote disaperared from the product page. Though the input box for comments are there but new comments also not showing in the product page. I can see the comments in dashboard but not in frontend.  2. There is no &quot;Add to Cart&quot; button in the product front page.  Thanks. Fazlay   www.peak69.com")*

Hi Nicolas,
Manager access been provided in addition to Admin rights. cpanel also been provided for easy access.
thanks for wonderfull support.

Thanks, Fazlay

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC82MzQwNS1hZnRlci11cGRhdGluZy0xLTYtMC1zdGFydGVyLXZvdGUtY29tbWVudHMtbm90LXdvP3RtcGw9bWFya2Rvd24=) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

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

14 years 1 month ago [\#64512](#64512) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: After updating 1.6.0 starter, vote/comments not wo](/forum/3-bug-report/63405-after-updating-1-6-0-starter-vote-comments-not-wo#64512 "Hi following are the problem I am facing after updating the hikashop starter to latest version yesterday:  1. All old comments/vote disaperared from the product page. Though the input box for comments are there but new comments also not showing in the product page. I can see the comments in dashboard but not in frontend.  2. There is no &quot;Add to Cart&quot; button in the product front page.  Thanks. Fazlay   www.peak69.com")*

Hi,

I checked your website and the problem was coming from the customization you had done in the file "show" of the view "product". The $params of the hikashop_getLayout was missing the product_id and thus the vote layout didn't know for which product to load the votes/comments.

I've added the missing bits and it's working now.

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

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

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

Less More

- Posts: 22
- Thank you received: 0
-
-

14 years 1 month ago [\#64526](#64526) by [s21rc](/forum/user/4438-s21rc "View s21rc's Profile")  Replied by *[s21rc](/forum/user/4438-s21rc "View s21rc's Profile")* on topic *[Re: After updating 1.6.0 starter, vote/comments not wo](/forum/3-bug-report/63405-after-updating-1-6-0-starter-vote-comments-not-wo#64526 "Hi following are the problem I am facing after updating the hikashop starter to latest version yesterday:  1. All old comments/vote disaperared from the product page. Though the input box for comments are there but new comments also not showing in the product page. I can see the comments in dashboard but not in frontend.  2. There is no &quot;Add to Cart&quot; button in the product front page.  Thanks. Fazlay   www.peak69.com")*

Thanks a lot Nicolas, much appreciated. The vote and comments are working perfectly now.

Another bug report though not important for me but I think you should be aware: after this update the backend dashboard shows all old entries/orders in the last 7 order portion.

Sorry for still using the starter version, hopefully we will migrate soon.

Fazlay
peak69.com

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC82MzQwNS1hZnRlci11cGRhdGluZy0xLTYtMC1zdGFydGVyLXZvdGUtY29tbWVudHMtbm90LXdvP3RtcGw9bWFya2Rvd24=) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

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

14 years 1 month ago [\#64611](#64611) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: After updating 1.6.0 starter, vote/comments not wo](/forum/3-bug-report/63405-after-updating-1-6-0-starter-vote-comments-not-wo#64611 "Hi following are the problem I am facing after updating the hikashop starter to latest version yesterday:  1. All old comments/vote disaperared from the product page. Though the input box for comments are there but new comments also not showing in the product page. I can see the comments in dashboard but not in frontend.  2. There is no &quot;Add to Cart&quot; button in the product front page.  Thanks. Fazlay   www.peak69.com")*

Thank you for your report. If you update, you'll be able to configure the widgets the way you want.

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