Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Lester Chan

    (@gamerz)

    I have to asked this, does it work with the default theme with no other plugins activated? I can’t seem to find any problem with your site or the AJAX request.

    Got the same problem. It doesnt matter if i use the shortcode or remove the “//” before the “add_action(‘the_content’, ‘add_ratings_to_content’);” to show everything.

    My site is: http://www.oxize.nl

    http://www.oxize.nl/macro-insects/distelvlinder/

    Even with the standard Twente Eleven Theme (wordpress standaard theme)it doesnt work. Still get the same error.

    Deactivated all plugins. Still the same.

    If i disable the Verify Refferer in your wp-postratings.php it does work, but that isnt the normal way. Let me know if you can fix this, otherwise i am forced to disable the verify reffer code.

    Thread Starter Alain07

    (@alain07)

    Hi Oxize2
    I tried on your website, it works!
    How did you solved the problem ?
    Thank’s

    i guess you postrated on the frontpage in the lower corner?

    Did you rate my post through this link?
    http://www.oxize.nl/macro-insects/distelvlinder/

    I still get the same error.

    If you cant get it working you can disable the verify refferer in the wp-postratings.php file, by adding // before the lines
    “_e(‘Failed To Verify Referrer’, ‘wp-postratings’);”
    and
    “exit();”

    But i would do this until Lester has no other solution for you.

    At this moment i didnt changed anything. It works at your side, but not at my side. Wierd things going on here, lol 🙂

    Edit: It works on my phone also. But not on my 2 computers. 😐

    Plugin Author Lester Chan

    (@gamerz)

    Disabling referrer for ratings has not much effect. The reason I put that in is for added security that will prevent users from rating outside your side.

    To be honest, I have no idea why some of you guys are getting it. From Alain07’s site, it seems that the nonce get sends correctly, but WordPress is telling me it is not.

    Because of themes and plugins, it might make debugging hard. If you can get me a fresh install of WP with the WP-PostRatings and with that problem it will help.

    Plugin Author Lester Chan

    (@gamerz)

    Disabling referrer for ratings has not much effect. The reason I put that in is for added security that will prevent users from rating outside your side.

    To be honest, I have no idea why some of you guys are getting it. From Alain07’s site, it seems that the nonce get sends correctly, but WordPress is telling me it is not.

    Because of themes and plugins, it might make debugging hard. If you can get me a fresh install of WP with the WP-PostRatings and with that problem it will help.

    Thread Starter Alain07

    (@alain07)

    Hi Oxize2
    Did you find a solution ?

    Well after i putted “<?php if(function_exists(‘the_ratings’)) { the_ratings(); } ?>” into my post.php, its working. With the shortcode which i dont use anyway, it gives me that failed to verify error.

    Usage
    
        Open wp-content/themes/<YOUR THEME NAME>/index.php
        You may place it in archive.php, single.php, post.php or page.php also.
        Find: <?php while (have_posts()) : the_post(); ?>
        Add Anywhere Below It (The Place You Want The Ratings To Show): <?php if(function_exists('the_ratings')) { the_ratings(); } ?>
    Plugin Author Lester Chan

    (@gamerz)

    @oxize2: Thanks, I will check it next week

    I have same problem.

    When rated, the message “Failed To Verify Referrer” appears

    Thread Starter Alain07

    (@alain07)

    Also, still the same error for me :((

    Plugin Author Lester Chan

    (@gamerz)

    You might want to read this lesterchan.net/wordpress/2012/06/05/ajax-not-working-for-wp-email-wp-polls-wp-postratings-or-wp-postviews/

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘[Plugin: WP-PostRatings] Failed To Verify Referrer’ is closed to new replies.