Why can't I view vote comments?

  • Posts: 76
  • Thank you received: 2
11 years 11 months ago #80677

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.

  • Posts: 13201
  • Thank you received: 2322
11 years 11 months ago #80704

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.

  • Posts: 76
  • Thank you received: 2
11 years 11 months ago #80979

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.

  • Posts: 82818
  • Thank you received: 13360
  • MODERATOR
11 years 11 months ago #81108

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.

  • Posts: 76
  • Thank you received: 2
11 years 11 months ago #81180

Ok, it's attached.

Thanks so much for your help.

Jonathan

Attachments:

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

  • Posts: 13201
  • Thank you received: 2322
11 years 11 months ago #81185

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.

  • Posts: 76
  • Thank you received: 2
11 years 11 months ago #81207

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.

  • Posts: 13201
  • Thank you received: 2322
11 years 11 months ago #81221

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.

  • Posts: 76
  • Thank you received: 2
11 years 11 months ago #81251

Oh, I see, sorry! With you...

The screen shot is attached.

Jonathan

Attachments:

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

  • Posts: 13201
  • Thank you received: 2322
11 years 11 months ago #81322

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.

  • Posts: 76
  • Thank you received: 2
11 years 11 months ago #81386

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.

  • Posts: 13201
  • Thank you received: 2322
11 years 11 months ago #81398

In the file "/home/claycell/public_html/components/com_hikashop/views/vote/view.html.php" try to replace:

			if(!empty($this->params)){
				$hikashop_vote_product_id = $this->params->get('product_id');
			}
By:
			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.

  • Posts: 76
  • Thank you received: 2
11 years 11 months ago #81403

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.

  • Posts: 13201
  • Thank you received: 2322
11 years 11 months ago #81404

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.091 seconds
Powered by Kunena Forum