WordPress.org

Ready to get started?Download WordPress

Forums

WP-Polls
Compatible with version 3.3?? (10 posts)

  1. eozdag
    Member
    Posted 2 years ago #

    I don't think this is compatible with version 3.3, is it?

    When I try to vote, it says "Your last request is still being processed. Please wait a while ..." but a while never comes. I can't vote or view results. Thoughts/advice?

    http://wordpress.org/extend/plugins/wp-polls/

  2. Lester Chan
    Member
    Plugin Author

    Posted 2 years ago #

    Your theme is missing <?php wp_head(); ?> or <?php wp_footer(); ?> or both

  3. marklindhout
    Member
    Posted 2 years ago #

    Nope, this has absolutely nothing to do with wp_head() or wp_footer().

    My self-built theme runs on WordPress 3.3.1 on Apache and it most definitely has these functions on each page. I double checked just now to make sure, and both functions are there. Yet every time someone tries to vote there is a Javascript alert box proclaiming: "Your last request is still being processed. Please wait a while ..."

    I will dig into this a little further, since strangely enough this problem does not seems to occur on Lighttpd 1.4, will update as soon as I know something.

  4. marklindhout
    Member
    Posted 2 years ago #

    Hmm, interesting. Tracking this, I found that when the Javascript function poll_vote() is invoked (by clicking the vote-button) the following error is shown in the Firebug console:
    NetworkError: 404 Not Found - http://www.domain.tld/wp-content/plugins/wp-polls/wp-polls.php

    Calling it a second time —either by clicking the button or directly using the console— throws the message claiming the request is being processed. Which is of course untrue since there's a 404 being returned.

    The strange thing is, the file is physically there. I checked it, it's there, it's not empty. So my suspicions is that there's some server re-write rule, or a file/folder permission that's causing this.

  5. marklindhout
    Member
    Posted 2 years ago #

    Even stranger, I double-checked, and this issue is non-existant on Lighttpd.

    When I turn of permalink URL rewriting (selecting the topmost option under Settings > Permalinks) i get the following:

    NetworkError: 500 Internal Server Error - http://www.logistiektotaal.nl/wp-content/plugins/wp-polls/wp-polls.php

    So I suspect this has something to do with server settings. I will call the web hosting company and report back with findings.

  6. marklindhout
    Member
    Posted 2 years ago #

    And indeed, after contact with the server administrator he pointed out there was a security rule in effect that prevented files with 777 (or world writable) permissions to be accessed by AJAX calls. My solution was to set the entire wp-content/plugins/wp-polls folder to permission 755.

    If you're wondering, the command is called chmod, and you can apply it using using your ftp client or the command line.

  7. eozdag
    Member
    Posted 2 years ago #

    This is great, very thorough, thank you!

  8. metalrecusants
    Member
    Posted 1 year ago #

    I have my permissions on 755 and I still have these problems... anyone could help out? Here's the poll: http://metalrecusants.com/2012/05/26/the-big-four-of-us-death-metal/#ViewPollResults

  9. Lester Chan
    Member
    Plugin Author

    Posted 1 year ago #

    Whats wrong with it? I can vote and view results just fine

  10. metalrecusants
    Member
    Posted 1 year ago #

    Hey,

    Yeah, I managed to fix it. I just "restored settings" in the Poll Options page and it worked.

    Thanks and apologies for forgetting to report here!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags