After upgrading the Fast Secure Contact Form plugin for WordPress you should definitely test to make sure things are working properly because you likely will receive an error when submitting the contact form if you are using the built in captcha. The error which is explained in more detail complains of not being able to read a token file. Below we describe how to quickly resolve the Fast Secure Contact Form captcha error.
Fast Secure Contact Form Captcha Error:
Error Text: Could not read CAPTCHA token file. Try again.
The error above can be resolved by adding a folder named captcha-temp to the Fast Secure Contact Form’s root directory as shown in the below example shell output. Make sure to set the permissions to 777 using chmod to make it world readable/writable.
Fix Could Not Read CAPTCHA Token File Error:
- root@centos-dev:~#
- root@centos-dev:~# cd /WORDPRESS-ROOT-DIR/wp-content/plugins/si-contact-form/captcha
- root@centos-dev:/WORDPRESS-ROOT-DIR/wp-content/plugins/si-contact-form/captcha#
- root@centos-dev:/WORDPRESS-ROOT-DIR/wp-content/plugins/si-contact-form/captcha# mkdir captcha-temp
- root@dentos-dev:/WORDPRESS-ROOT-DIR/wp-content/plugins/si-contact-form/captcha#
- root@centos-dev:/WORDPRESS-ROOT-DIR/wp-content/plugins/si-contact-form/captcha# chmod 777 captcha-temp/
- root@centos-dev:/WORDPRESS-ROOT-DIR/wp-content/plugins/si-contact-form/captcha#
Now refresh the contact form page on your WordPress site and attempt to submit again. The issue should now be resolved.
testing the code
Hello Brian,
How did the test go?
Thanks.
alex
x