Celso Fernandes
asked 10 years ago

I am getting the following error when posting a new question

For security reasons, you must pass the remote ip to reCAPTCHA

Can anybody shed some light into this? The plugin has been installed here:

Batatolandia Forum Alemanha

Thank you very much.

1 Answers
DominicStaff
answered 10 years ago

Hi,
I checked and ask a question in your site and found that it worked well. I think you have solved this issue.
Regards,

thephphero
replied 10 years ago

Hello Dominic,

Thanks for getting back to me. I saw your test question, however I am still seeing the same error. I’m not sure if this is coming from Google or is it a WordPress error. After doing some googling, I found that others who had experienced this issue did so because they mispelled the server array key. Like so: $_SERVER[‘REMOTEADDR’] instead of $_SERVER[‘REMOTE_ADDR’] . Could this be the issue here? If so, do you know where in the code I should look?

Cheers,

Celso

dominic Staff
replied 10 years ago

You can check it in the following 2 file:
\wp-content\plugins\dw-question-answer\inc\actions.php file - line 1544
\wp-content\plugins\dw-question-answer\inc\lib\recaptcha-php\example-captcha.php file
Hope this helps !

thephphero
replied 10 years ago

Thanks. Everything seems ok in the code, but it still didn’t work out for me.

dominic Staff
replied 10 years ago

CAPTCHA keys generated are associated with a domain, so if you are in local mode you may have changed the IP since you got the key and not recognize. I do not know, I think it would be best to consult with reCAPTCHA.

Powered by DW Question & Answer Pro