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

  1. alatui
    Posted 2 years 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;


  2. tosaha
    Posted 2 years ago #

    This worked for me. Thanks!

  3. Ash Durham
    Posted 2 years 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

  • Captcha Code
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.