Skip to main content

Why can't I view vote comments?

13 years 11 months ago #80677 by jberry210490
The vote form is there, and appears to be working fine until you submit a comment. You get a little message saying thankyou for your comment, the star rating updates (because I have set the option for the two to be connected), but the "comments" section remains empty with a "No Comments have been posted yet" message.

Seems very odd... Any advice would be very helpful.

Here are the details:

Site: claycellar.org/index.php/books/product/3...pottery-robin-hopper
Username: troubleshooter
Passsword: test321

Jonathan

Please Log in or Create an account to join the conversation.

13 years 11 months ago #80704 by Xavier
Hi,

Don't you have disable the option "Auto publish new comments" ?
The following user(s) said Thank You: jberry210490

Please Log in or Create an account to join the conversation.

13 years 11 months ago #80979 by jberry210490
Maybe - I didn't know that you had to do this. I have just set "Auto publish new comments" in the configuration "vote" tab to "No". Problem remains.

I go to the vote page under "customers" in the back end and get an empty frame with no information in it (the heading above hikashop menu system says vote, but below there is nothing).

Any other ideas?

Jonathan

Please Log in or Create an account to join the conversation.

13 years 11 months ago #81108 by nicolas
Can you please do a screenshot of the Vote tab of the configuration so that we can see all your vote related settings ?

Please Log in or Create an account to join the conversation.

13 years 11 months ago #81180 by jberry210490
Ok, it's attached.

Thanks so much for your help.

Jonathan

Please Log in or Create an account to join the conversation.

13 years 11 months ago #81185 by Xavier
Hi,

You vote configuration seems to be correct.

Do you have the latest version of HikaShop ?
Can you give us a screenshot of you problem ?

Please Log in or Create an account to join the conversation.

13 years 11 months ago #81207 by jberry210490
Hi,
Yes I downloaded the latest version. It's only since the download I've been having the problem. But I hadn't checked it for a while before I updated, so I don't for sure that's the cause.

You should be able to use the above login details to experience the problem yourself.

Login, navigate to "Books" in top menu bar, then click on any book and try to submit a review/rating. The rating will be updated, but the review won't be.

It's not really an error you can capture with a screen shot.

Jonathan

Please Log in or Create an account to join the conversation.

13 years 11 months ago #81221 by Xavier
Yes I see that the review is not displayed, that's normal because the option to auto publish is not set to "Yes".
I was asking for a screenshot of your backend, in the menu customers > vote, to see what happen in backend.

Please Log in or Create an account to join the conversation.

13 years 11 months ago #81251 by jberry210490
Oh, I see, sorry! With you...

The screen shot is attached.

Jonathan

Please Log in or Create an account to join the conversation.

13 years 11 months ago #81322 by Xavier
Hi,

No problem :) Can you enable the Joomla Debug mode and give us the error returned (if an error is returned). Else can you give us a backend access, and a FTP access ?

Please Log in or Create an account to join the conversation.

13 years 11 months ago #81386 by jberry210490
Here it is:

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


I had fiddled the views, but upon realising it wasn't working I thought I had reverted all relavent views back to the original settings. Which view file is this? I can't find a straightforward "view" file for vote.

Many thanks,

Jonathan

Please Log in or Create an account to join the conversation.

13 years 11 months ago #81398 by Xavier
In the file "/home/claycell/public_html/components/com_hikashop/views/vote/view.html.php" try to replace:
Code:
if(!empty($this->params)){ $hikashop_vote_product_id = $this->params->get('product_id'); }
By:
Code:
if(!empty($this->params)){ $hikashop_vote_product_id = $this->params->get('product_id'); }else{ $hikashop_vote_product_id = hikashop_getCID(); }
in the function "listing()" near the line 52.

PS: it's not in the views, you can access this file by ftp.
The following user(s) said Thank You: jberry210490

Please Log in or Create an account to join the conversation.

13 years 11 months ago #81403 by jberry210490
Thanks so much! That did the trick.

I don't ever remember editing this file, so I don't know whether it's a bug?

Anyway, simple fix in the end, so thanks.

Jonathan

Please Log in or Create an account to join the conversation.

13 years 11 months ago #81404 by Xavier
Yes it was a bug, I corrected it on my end and it will be in the next release. Thanks.

Please Log in or Create an account to join the conversation.

Time to create page: 0.095 seconds
Powered by Kunena Forum