WordPress.org

Ready to get started?Download WordPress

Forums

WP-PostRatings
[resolved] Endless loading when access to wp-admin folder is blocked in .htaccess (5 posts)

  1. baster-sc
    Member
    Posted 1 year ago #

    Hi,
    I noticed that when I blocked wp-admin folder with .htaccess, users started to see endless loading when trying to rate the post.
    Is there any way to solve this except permitting wp-admin? (otherwise brute-force => higher loading)

    http://wordpress.org/plugins/wp-postratings/

  2. RonStrilaeff
    Member
    Posted 10 months ago #

    I just installed this plugin and get this forever loading gif after I rate a post.

    But i do not see any reference to wp-admin in my .htaccess file. However, that file is huge and complicated because of wpsupercache.

    Any ideas to resolve this?

  3. Lester Chan
    Member
    Plugin Author

    Posted 10 months ago #

  4. RonStrilaeff
    Member
    Posted 10 months ago #

    Thanks Lester,

    I read that just now...
    1. I have wpsupercache and disabled it.
    2. Not using .htpasswd
    3. Not using https / ssl

    It looks like some kind of js conflict but I get no errors in my firebug console. The only line in the All tab is this:

    GET http://testyng.com/wp-admin/admin-ajax.php?actio...tratings_101841_nonce=1004565e55&_=1381933578038

    ... and this is the response (looks normal to me (one line per star the description after))

    <img src="http://testyng.com/wp-content/plugins/wp-postratings/images/stars_crystal/rating_on.gif" alt="17 votes, average: 2.88 out of 5" title="17 votes, average: 2.88 out of 5" class="post-ratings-image" />
    <img src="http://testyng.com/wp-content/plugins/wp-postratings/images/stars_crystal/rating_on.gif" alt="17 votes, average: 2.88 out of 5" title="17 votes, average: 2.88 out of 5" class="post-ratings-image" />
    <img src="http://testyng.com/wp-content/plugins/wp-postratings/images/stars_crystal/rating_half.gif" alt="17 votes, average: 2.88 out of 5" title="17 votes, average: 2.88 out of 5" class="post-ratings-image" />
    <img src="http://testyng.com/wp-content/plugins/wp-postratings/images/stars_crystal/rating_off.gif" alt="17 votes, average: 2.88 out of 5" title="17 votes, average: 2.88 out of 5" class="post-ratings-image" />
    <img src="http://testyng.com/wp-content/plugins/wp-postratings/images/stars_crystal/rating_off.gif" alt="17 votes, average: 2.88 out of 5" title="17 votes, average: 2.88 out of 5" class="post-ratings-image" />
    (<em><strong>17</strong> votes, average: <strong>2.88</strong> out of 5, <strong>rated</strong></em>)
  5. RonStrilaeff
    Member
    Posted 10 months ago #

    Ok, progress! This seems to work (not loading gif forever) on a simpler site.

    So I'll have to do the drill to find out what plugin/childtheme/code is conflicting. grrrr...

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.