WordPress.org

Ready to get started?Download WordPress

Forums

Captcha Code
Bug - No Characters on image (3 posts)

  1. alatui
    Member
    Posted 11 months ago #

    I'am using W3 Total Cache with page basic, object, mysql and browser cache on.
    When I clean all the cache on the browser and go to the post page no character is shown in the image(comment form), but when I submit the form(comment form) for the first time the characters appear.
    I changed the file captcha_code_file.php, and added the following lines after line 10:

    if(is_null($characters_on_image)) {
    $characters_on_image = 4;
    }

    http://wordpress.org/plugins/captcha-code-authentication/

  2. tosaha
    Member
    Posted 9 months ago #

    This worked for me. Thanks!

  3. Ash Durham
    Member
    Posted 8 months ago #

    It would appear that is is due to sessions not being initialised. Even with this code, you can't actually submit the form as there is no value to check the captcha against.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.