canard92
Forum Replies Created
-
thanks for replying ??
thanks Palier, I tried short test message to be sure. Nope :(.
I tried the diagnostic suggested by : wp-admin/options-general.php?page=NextScripts_SNAP.php&do=test
and had “….HTTPS to NXS – Problem” (others tests are ok)Replacing :
nxs_cURLTest(“https://www.nextscripts.com/”, “HTTPS to NXS”, “Social Networks”);
by the HTTPS scheme fixed the problem :
nxs_cURLTest(“https://www.nextscripts.com/”, “HTTPS to NXS”, “Social Networks”);
All tests are ok.With the php code suggested by the error :
There is a problem with cURL. You need to contact your server admin or hosting provider. Here is the PHP code to reproduce the problem:<?php $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "https://www.nextscripts.com/"); curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.73 Safari/537.36"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_TIMEOUT, 10); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 10); $response = curl_exec($ch); $errmsg = curl_error($ch); $cInfo = curl_getinfo($ch); curl_close($ch); print_r($errmsg); print_r($cInfo); print_r($response); ?>
I had :
Array ( [url] => https://www.nextscripts.com/ [content_type] => text/html; charset=UTF-8 [http_code] => 301 [header_size] => 413 [request_size] => 180 [filetime] => -1 [ssl_verify_result] => 0 [redirect_count] => 0 [total_time] => 0.886072 [namelookup_time] => 0.0001 [connect_time] => 0.136116 [pretransfer_time] => 0.136129 [size_upload] => 0 [size_download] => 0 [speed_download] => 0 [speed_upload] => 0 [download_content_length] => 0 [upload_content_length] => 0 [starttransfer_time] => 0.886033 [redirect_time] => 0 [redirect_url] => https://www.nextscripts.com/ [primary_ip] => 107.178.106.136 [certinfo] => Array ( ) )
UnfortunatlyReplacing in HTTPS ( curl_setopt($ch, CURLOPT_URL, “https://www.nextscripts.com/”); ) is ok : [http_code] => 200 etc…
Maybe a not activated HTTPS scheme in the plugin call ?