WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. alatui
    Member
    Posted 1 year 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 1 year ago #

    This worked for me. Thanks!

  3. Ash Durham
    Member
    Posted 1 year 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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.