WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Comments form error

[Resolved] Comments form error

  • I have been working on this blog:
    http://theaverageconsumer.com/

    When you go to leave a comment on a blog post, after clicking submit you get an error message:
    Error 1: Click back and type in the password.

    Does anyone know why this is and how to fix it?

    Thanks,
    Tabitha

Viewing 15 replies - 1 through 15 (of 26 total)
  • esmi

    @esmi

    Forum Moderator

    Have you tried:

    – deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    – switching to the Twenty Ten theme to rule out any theme-specific problems.

    resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.

    thank you, after some testing i found it was an old plugin, which had worked fine on the old theme but was causing issues on the new theme.
    The plugin was called ‘spam free wordpress’ if anyone else ever has this issue.

    Hi Tabitha,

    I would have helped you with this problem 2 weeks ago, but it wasn’t tagged for Spam Free WordPress support so I didn’t know your question existed until finding it accidently in a Google search.

    The message:

    “Error 1: Click back and type in the password”

    is generated by Spam Free WordPress when no password or an incorrect password is entered into the comment form when leaving a comment. This message can also occur if the password field is not showing on the comment form due to improper installation.

    If you can see the password field on the comment form then the plugin is installed correctly. Your new theme probably required you to copy and paste the following line of code to properly generate the password field on the comment form:

    <?php if(function_exists ('tl_spam_free_wordpress_comments_form')) { tl_spam_free_wordpress_comments_form(); } ?>

    Please see http://wordpress.org/extend/plugins/spam-free-wordpress/installation/ for more detailed directions.

    @todd

    There is no password requirements for commenting on my site, therefor no password field. I was still having the same issue with Spam Free. I deactivated the plug-in without deleting it and commenting is now available on my site. It was a quick fix and I can still hang on to the plug in and wait for an update that fixes this issue.

    I really don’t think it’s an issue with the password field in this case unless spam frees code requires a password to work with WordPress 3.2.1.

    I would also think that MOST people don’t require passwords or registration to leave comments as I am only a member of one blog and comment on hundreds.

    If Spam Free WordPress is installed corrected there will be a password field on the comment form. Some themes add it automatically, and others require the line of code I mentioned above. This is how your comment field should look:

    http://wordpress.org/extend/plugins/spam-free-wordpress/screenshots/

    Please read http://wordpress.org/extend/plugins/spam-free-wordpress/, and the other information on the tabs to gain a full understanding of how the plugin works.

    Thanks guys for the help!
    I had the same problem, and it was fixed by simply deactivating the Spam Free WordPress plug in.

    ellajran,

    The problem you had could have been fixed if only you had asked for help.

    FYI, the only time Spam Free WordPress doesn’t work as expected is when the WordPress version is older than that which is required by Spam Free WordPress, or if the password field is not visible on the comment form. Both of these items can be fixed easily.

    this worked for me…same error…and removing the spam-free plugin WORKED…saved me tons of time…thanks for the post…

    Hi

    I’m from french-Switzerland and my english is bad. But I install the plugin Free Spam for WordPress and I have some adress IP spam to give you. Where can I give this adress easly?
    Gene

    geneghis,

    Blocking IP addresses is done for your blog or blogs only. There is no spam database of IP addresses that would be useful for others, since that would only cause false positive issues.

    Hi Todd

    Ok. I understand.
    Thanks for all

    Gene

    I had this problem too – until I de-activated the plug-in. Shouldn’t need to do that should we?

    Todd Lahman

    @toddlahman

    Goosey,

    The message: “Error 1: Click back and type in the password.” means the plugin is working, but the password field is not visible on the comment form, so when a comment is submitted the plugin blocks it because no password was submitted along with the comment.

    The fix is easy. Either follow the installation directions here:

    http://wordpress.org/extend/plugins/spam-free-wordpress/installation/

    or copy and paste the entire code from the comments.php file to http://pastebin.com/, providing a link to the code here in the support forum for me, and I will provide another link for you to replace the code in your comments.php file so the plugin will work as expected.

    Spam Free WordPress has no conflicts with other plugins.

    Hi Todd,
    can you help me replace the code so that your plugin will work with my theme?

    http://pastebin.com/neme6b0w

    thank you.

    Todd Lahman

    @toddlahman

    1. Make a backup copy of your comments.php file
    2. Go to this link, http://pastebin.com/FKnqFkan, and use the code in the “RAW Paste Data” section to replace all the code in the comments.php file.

    Anyone reading this in the future, please open a new support ticket for assistance rather than appending requests onto closed or resolved tickets such as this one.

Viewing 15 replies - 1 through 15 (of 26 total)
  • The topic ‘[Resolved] Comments form error’ is closed to new replies.
Skip to toolbar