Support » Plugin: Simply Poll » [Plugin: Simply Poll] Server error when submitting votes

  • Resolved mczinger

    (@mczinger)


    Hi, I love this plugin because it’s so simple yet elegant. But I can’t figure out what’s wrong with submit.php. Everytime I submit vote, I get this error:

    The website encountered an error while retrieving http://localhost/wp-content/plugins/simply-poll/lib/submit.php. It may be down for maintenance or configured incorrectly.
    Here are some suggestions:
    Reload this webpage later.
    HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.

    Can you help me? Im very eager to know the solution becuse I want to use your plugin for its simplicity and elegance. Thanks!

    http://wordpress.org/extend/plugins/simply-poll/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author WolfieZero

    (@wolfiezero)

    Hi mczinger,

    To best solve this you will need to go into your simply-poll plugin folder that can be found from the root of your WordPress install wp-content/plugins/simply-poll and edit a file called config.php.

    On line 6 where it says define('SP_DEBUG', false); can you change the value false to true so it reads define('SP_DEBUG', true);.

    Run the plugin a few times so you get the error message appear a few times. Then go back to the simply-poll folder and open the log file (with any text editor) and copy and paste the contents to the forum and I should be able to see where your issue possible occurred.

    Thanks!

    I tried doing it but when I checked the log file, it has no contents. Is it possible that the problem is my submit.php? When I encounter this error

    The website encountered an error while retrieving http://localhost/wp-content/plugins/simply-poll/lib/submit.php. It may be down for maintenance or configured incorrectly.
    Here are some suggestions:
    Reload this webpage later.
    HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.

    and I try to reload the page by clicking the reload link in the error message, it will display SP_DIRECT_ACCESS

    Plugin Author WolfieZero

    (@wolfiezero)

    Ah, I think I know exactly what your issue is.

    It seems as if the simplypoll.js file isn’t being loaded; this normally happens due to the theme not having the wp_footer() function (normally located in the footer.php file of your theme. If it’s not there then add it in just above the closing </body> tag.

    Really, any WordPress theme requires this function to keep plugins working (as the best time to call Javascript is at the end of a page load)

    Let me know if that works 🙂

    Awesome! Yes, it works. Thank you so much for your help and time! Finally I can use this wonderful plugin 🙂

    Plugin Author WolfieZero

    (@wolfiezero)

    Awesome! Nice simple fix too 🙂

    Hope you enjoy the plugin and if you get any more issues or have any suggestions then feel free to contact me.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Simply Poll] Server error when submitting votes’ is closed to new replies.