PHP Warning: file_get_contents(): https:// wrapper is disabled
-
Hello,
I found that completed sales are not marked as such because of this:
[04-Oct-2016 12:57:57 UTC] PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /path/public_html/wp-content/plugins/carthook-for-easy-digital-downloads/edd-carthook.php on line 76
[04-Oct-2016 12:57:57 UTC] PHP Warning: file_get_contents(https://api.carthook.com/api/v1/rest/track/complete): failed to open stream: no suitable wrapper could be found in /path/public_html/wp-content/plugins/carthook-for-easy-digital-downloads/edd-carthook.php on line 76
My server has allow_url_fopen disabled. It’s a security precaution present on many servers. Can you please switch to using CURL or something else that is more widely supported? I think I’d probably stop using CartHook before enabling allow_url_fopen.
- The topic ‘PHP Warning: file_get_contents(): https:// wrapper is disabled’ is closed to new replies.