Viewing 15 replies - 1 through 15 (of 20 total)
  • The same goes for me, when using Firefox. With Internet Exploter 8 or 9 it works fine and displays the votes so far after clicking the stars.

    The votes are saved anyways, even with the “An error occured” msg.

    In addendum, I noticed that when this “An error occured” happens – the IP restriction doesn’t seem to work. AKA the person can change their vote afterwards, but apparently can’t vote multiple times which would be much worse.

    Can developer comment on this issue in any way?

    Plugin Contributor Kamal Khan

    (@bhittani)

    May I know if this issue is on a specific browser or across all browsers?

    Thank you

    After some debugging with Firebug – I tracked down that the problem was in the additional php file that the javascript calls in the Ajax functions: kk-ratings-ajax.php. This file is served (at least in my server) in ISO 8859-1 charset – instead of UTF-8. This probably happens because of the way it is called from a js file instead of normal browser request. If UTF-8 isn’t forced in the server-side, the file is (at least in Firefox or some of it’s versions) handled as ISO 8859-1. If ISO is embedded in UTF-8, it causes the output of the ISO-formatted file to start with few extra characters that seemed to mess up the javascript handling – causing the problems mentions above:
    ???SUCCESS|||54|||2.7/5(54%) 24 votes|||no
    instead of the error free version:
    SUCCESS|||54|||2.7/5(54%) 24 votes|||no

    UTF-8 force-fed can be enabled from the .htaccess in the root of the www-site, by adding this line:
    AddDefaultCharset UTF-8

    That’s a way to go around it, but I’d love to see a proper fix into the issue. BTW this also fixes WP Stats plugin’s dashboard box which has the same characters appearing inside the box!

    Plugin Contributor Kamal Khan

    (@bhittani)

    Thanks for this research.

    Highly appreciated.

    I will try and fix this now

    Plugin Contributor Kamal Khan

    (@bhittani)

    I have fixed this. Update to version 1.5

    Thanks

    Thanks for reacting fast! Just the way open-source community should work ??

    I have the same problem with the last version. Firefox IE.

    Plugin Contributor Kamal Khan

    (@bhittani)

    This error has been resolved. Please use the latest version of the plugin.

    Hi Kamal, i have the last version. 1.7

    Plugin Contributor Kamal Khan

    (@bhittani)

    Well, the ajax request being received is from an older version as I just checked. Doesn’t seem to have been updated properly.

    And this is strange because it was working berfore

    Ok ill try to download it from your site and note from WP.org

    Plugin Contributor Kamal Khan

    (@bhittani)

    Hmm, it is only available at the wordpress repository for download. try to delete the plugin and install again.

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘[Plugin: kk Star Ratings] An error occured’ is closed to new replies.