WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Fast and Secure SI Contact Form - Cookies (8 posts)

  1. riversatile
    Member
    Posted 4 years ago #

    Hi,

    I have an issue with my contact form '(Fast and Secure SI Contact Form), Even if I write the good Captcha code, my form always returns this error message :

    "Could not read CAPTCHA cookie. Make sure you have cookies enabled and not blocking in your web browser settings. Or another plugin is conflicting. See plugin FAQ."

    I've tested it with 5 internet browsers ! It's always the same !
    It's not a cookies issue, I've un-installed plugin "Fast and Secure SI Contact Form" + "Wp-Re-captcha" (I use it for comments), but it's always the same !

  2. riversatile
    Member
    Posted 4 years ago #

  3. Mike Challis
    Member
    Posted 4 years ago #

    Please reply with a URL to your site so I can look, or I can only guess the server has a problem with broken sessions.

  4. riversatile
    Member
    Posted 4 years ago #

  5. riversatile
    Member
    Posted 4 years ago #

    Hi Mike,

    I've found the trouble ! It's the plugin "BAD BEHAVIOR" that blocks the Fast and Secure Contact Form captcha Cookies !!! Once I've disabled it, the form's 'captcha' feature working fine.

    It's a very big mess ! Because without "BAD BEHAVIOR", my site is under a great danger from BOT/SPAM/HARVEST !

    Here's the LOG of "BAD BEHAVIOR" :
    http://www.monsterup.com/upload/1279472310433.jpg

    Could you try from your home ? With "BAD BEHAVIOR" active, is it work for you ???

  6. riversatile
    Member
    Posted 4 years ago #

    OK... The cookies issue is now solved !

    For 5 days, I has installed the BAD BEHAVIOR 2.1.4 which is not a working version ! Working version is still BAD BEHAVIOR 2.0.38. I've deleted all files from BAD BEHAVIOR 2.1.4 and restored all files from BAD BEHAVIOR 2.0.38. FAST AND SECURE CONTACT FORM is working fine, CAPTCHA Cookies are accepted in all the web browsers !

    Bye Bye
    Cheers

  7. Mike Challis
    Member
    Posted 4 years ago #

    My plugin uses the PHP session_start() function.
    http://php.net/manual/en/function.session-start.php
    The session_start is required for the captcha-image to function.
    In PHP coding rules, session_start() must be processed before any HTML
    output or you might get a warning "Warning: session_start()
    [function.session-start]: Cannot send session
    cookie - headers already sent". The error may or may not be displayed
    because sometimes PHP error warnings are turned off.

    Some plugins will output some HTML or even whitespace prematurely before the HTML doctype.
    This can be the direct cause of the captcha cookie session not working.

    It can even be something in the plugin code like this
    ?>

    <?php

    In the example above, there is a line of whitespace. If this code is
    anywhere before header output, then session cookies are broken.

    Maybe you can contact the author with this helpful information, I looked at his 2.1.4 and many of his files have whitespace after the closing
    ?>
    although I do not have time to fully debug other plugins.

  8. kala1
    Member
    Posted 3 years ago #

    Hi Mike,
    I have the same problem:
    "Could not read CAPTCHA cookie. Make sure you have cookies enabled and not blocking in your web browser settings. Or another plugin is conflicting. See plugin FAQ."
    I try everything but nothing work.
    Cookies and plugins are not the problem.
    http://globaldogclub.com/
    Thanks

Topic Closed

This topic has been closed to new replies.

About this Topic