Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    May 2009
    Thanked 0 Times in 0 Posts

    Angry Unobtrusive AJAX Star Rating Bar Hanging on Vote

    I am using the Unobtrusive AJAX Star Rating Bar script, and whenever I click a start to give a rating, the "working" gif image keeps looping and the rating never gets recorded in the database. A new row is added and the ID is placed in there, but the values are set to 0 and the IP is not recorded.

    For an example, click any of the "gold" circles where it says "Rate this character" on the following page: http://www.elderstats.com/character/S1/9

    This problem has been pointed out here as well:

    Does anyone know what could be causing this problem. It has been reported at the main website, as well, in the first comment: http://masugadesign.com/the-lab/scri...ting-bar/P270/

    Any ideas would be very much appreciated. This script used to work on my site, and I had customized some of the code and it still worked. However, I don't know what happened but it stopped working properly at some point in the past and has never been the same since. I've spent 4 hours trying to fix it to no avail, so if anyone can help me here I would appreciate it immensely.

    Thank you in advance.

  2. AdSlot6
  3. #2
    New to the CF scene
    Join Date
    Dec 2011
    Thanked 0 Times in 0 Posts
    place _drawrating.php, rpc.php, db.php, _CONFIG-rating.php at the same place
    try to change the code in rating.js
    xmlhttp.open ('get', 'rpc.php? j =' + votes + '& q =' + id_num + '& t =' + ip_num + '& c =' + units);
    xmlhttp.open ('get', '(the location rpc.php)/ rpc.php? j =' + votes + '& q =' + id_num + '& t =' + ip_num + '& c =' + units);
    Last edited by wildanteak; 12-28-2011 at 04:41 AM.


Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts