Rate not recording

12 years 4 months ago #182445 by AlanJones
Rate not recording was created by AlanJones
Hi I'm using the rate fiels on a few sites. It's working well, except on one of them.

On the problem site when a user adds a rating they click on the yellow star (1.png) and the system immediately says "Click on a star to rate" and turns the stars red.
But nothing is recorded, and there is no "Thank you for rating"

Any ideas?

Own Your Own Community!
Attachments:

Please Log in to join the conversation.

12 years 4 months ago #182456 by AlanJones
Replied by AlanJones on topic Re: Rate not recording
Looks like I'm getting a 404 error:
"NetworkError: 404 Not Found - MYURL/index2.php?option=com_comprofiler&task=fieldclass&field=cb_ratethisuser&function=savevalue&user=43&no_html=1&format=raw&reason=profile"

Any ideas?

Own Your Own Community!

Please Log in to join the conversation.

12 years 4 months ago #182457 by AlanJones
Replied by AlanJones on topic Re: Rate not recording
Solved it by changing line 214 in ratingfield.php
$ajaxUrl = $live_site . '/index2.php';
to:
$ajaxUrl = $live_site . '/index.php';

Must be because of J1.7 - curious though... it's working fine on other J1.7 sites?

Own Your Own Community!

Please Log in to join the conversation.

11 years 10 months ago - 11 years 10 months ago #199467 by mutantvw
Replied by mutantvw on topic Re: Rate not recording
Alan,
Nicely done, that simple edit solved 2 hours of head scratching


Solved it by changing line 214 in ratingfield.php
$ajaxUrl = $live_site . '/index2.php';
to:
$ajaxUrl = $live_site . '/index.php';

Please Log in to join the conversation.

11 years 10 months ago #199490 by krileon
Replied by krileon on topic Re: Rate not recording
Known issue for some time on J1.6+. Please see below bug ticket.

forge.joomlapolis.com/issues/3016


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: AndyGolo

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.211 seconds

Facebook Twitter LinkedIn