Support » Plugin: HMS Testimonials » Error Could not open socket

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jeff K

    (@kreitje)

    Hi,

    Add the following to your stylesheet to hide the website field.

    .hms-testimonials-form .website { display:none; }

    Does the error give you anything else besides “could not open socket”? Also, are you using reCaptcha to help stop spam for that form?

    Thread Starter Essentials Hair Beauty

    (@essentials-hair-beauty)

    Hi

    Nothing else is written – yes I am using reCaptcha

    Plugin Author Jeff K

    (@kreitje)

    Hi,

    It looks like your website is having trouble connecting to reCaptcha when submitting the form. I tested the reCaptcha functionality on a few sites and they are working for me.

    Can you ask your webhost to make sure the server you are on can use fsockopen and can access: http://www.google.com and in particular http://www.google.com/recaptcha/api/verify

    Lines 80 and 81 inside wp-content/plugins/hms-testimonials/recaptchalib.php are causing your problem.

    If at all possible, can you modify line 81 of that file and change it to:

    die ('Could not open socket ' .$errstr);

    so it puts the error message in the output.

    If you don’t feel comfortable doing that, Save this text and overwrite the recaptchalib.php file with it. Then let me know if the error message changed at all.

    Jeff

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error Could not open socket’ is closed to new replies.