thinhbuzz / laravel-google-captcha

Google captcha for Laravel 5, Laravel 6, Laravel 7, Laravel 8, Laravel 9 and Laravel 10, support multiple captcha on page
MIT License
200 stars 32 forks source link

file_get_contents() error not fixed at all? #37

Closed Rishats closed 10 months ago

Rishats commented 5 years ago

Laravel: 5.6 PHP: 7.2 "name": "buzz/laravel-google-captcha", "version": "v2.1.10",

file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0

[2019-01-23 10:05:41] production.ERROR: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 {"exception":"[object] (ErrorException(code: 0): file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 at /var/www/example.com/releases/6/vendor/google/recaptcha/src/ReCaptcha/RequestMethod/Post.php:72)

thinhbuzz commented 5 years ago

this is issue of google recapcha package. You must enable allow_url_fopen in php.ini