Warning: An unexpected error occurred. Something may be wrong with www.ads-software.com or this server’s configuration. If you continue to have problems, please try the support forums. (WordPress could not establish a secure connection to www.ads-software.com. Please contact your server administrator.) in /var/www/html/wp-admin/includes/plugin-install.php on line 183 Warning: Cannot modify header information – headers already sent by (output started at /var/www/html/wp-admin/includes/plugin-install.php:183) in /var/www/html/wp-admin/admin-header.php on line 9
]]>Hi,
In the file SaFly-Curl-Patch.php there is a deprecated function on define(‘SCP_INC’, ‘safly’, TRUE); on future versions of PHP.
]]>Hi! Found your plugin through the WordPress Support forum post “Error: WordPress could not establish a secure connection to www.ads-software.com“.
I noticed you disable CURLOPT_SSL_VERIFYPEER, on line 63 of Safly-Curl-Patch.php. Please *do not do this* but fix your PHP configuration! I have a blog post explaining why: https://www.saotn.org/dont-turn-off-curlopt_ssl_verifypeer-fix-php-configuration/.
]]>The plugin works (thanks very much) and enabled me to run the updates (including to WP 4.9.8) successfully, but I get this message when I visit any admin page or public page whilst the plugin is enabled (I’ve disabled the plugin on the site in question, hence no web link to it:
Warning: mkdir(): Permission denied in /home/thiswebsiteshomedirectory/public_html/wp-content/plugins/safly-curl-patch/SaFly-Curl-Patch.php on line 84 Warning: mkdir(): No such file or directory in /home/thiswebsiteshomedirectory/public_html/wp-content/plugins/safly-curl-patch/SaFly-Curl-Patch.php on line 84 Warning: mkdir(): No such file or directory in /home/thiswebsiteshomedirectory/public_html/wp-content/plugins/safly-curl-patch/SaFly-Curl-Patch.php on line 84 Warning: file_put_contents(/home/thiswebsiteshomedirectory/public_html/wp-content/cache/safly/safly-curl-patch/2018-08-11.txt): failed to open stream: No such file or directory in /home/thiswebsiteshomedirectory/public_html/wp-content/plugins/safly-curl-patch/SaFly-Curl-Patch.php on line 43
I guess that it might be a PHP version issue as this server is still on 5.4.45.
]]>