• Resolved V.E.L

    (@vezraimanuel)


    Hello,

    I encountered this problem lately: “Correct captcha required”, so i did some digging, and i found out that your reCAPTCHA v2 method is using “curl_exec”, which is blocked by my hosting company, can you update it somehow? I tried CF7, WPforms, advanced-nocaptcha-recaptcha and some other plugins that has reCAPTCHA v2 feature, and none of those using this method to process reCAPTCHA v2, hence, they all works.

    Having this issue, is that mean i can no longer use your plugin?

    this is the log:
    curl_exec() has been disabled for security reasons in /home/mysite/public_html/wp-content/plugins/user-submitted-posts/recaptcha/ReCaptcha/RequestMethod/Curl.php on line 63

    thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jeff Starr

    (@specialk)

    Glad to help. To accommodate the widest possible user base, the plugin uses cURL as a fallback for cases where allow_url_fopen is disabled. So if cURL is getting called on your server, it is because allow_url_fopen also is disabled. One of these methods is required in order for Google reCaptcha to work.

    Thread Starter V.E.L

    (@vezraimanuel)

    Hello,

    unfortunatelly “allow_url_fopen” and “curl_exec” are both disabled specifically (security related based on hosting info). I use WPForms with reCAPTHA v2 and it works just fine though, on same site, in same server. And from what i saw it’s not using “curl_exec” method to process reCAPTCHA.

    You can examine it yourself if you want, this is the exact site I install USP (temporarily disabled), and this is the page where I using WPForms with reCAPTHA v2:

    https://polkam.go.id/kontak/

    (if recpatcha doesn’t show try refreshing, it happens sometimes due to caching plugin)

    many thanks ??

    Plugin Author Jeff Starr

    (@specialk)

    Thanks I will look into this and see if there is a way to add further fallback support for sites without cURL or allow_url_fopen. Please let me know if any further related infos or questions, glad to help anytime ??

    Thread Starter V.E.L

    (@vezraimanuel)

    @specialk

    Thank you so much! I hope you can update USP reCAPTCHA so it can function fully without the need of curl_exec and allow_url_fopen, just like Advanced nocaptcha-recaptcha, Forminator, WPForms, CF7, etc. Some servers did really have strict configurations related to security.

    many thanks! looking forward to try the updates ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘curl_exec() has been disabled for security reasons’ is closed to new replies.