• hello, I meet the same problem when I try to import blogger-beta to wordpress that:

    Could not connect to https://www.google.com
    There was a problem opening a secure connection to Google.

    and I asked my webhosting provider Godaddy about SSL support, they replied like this:

    Our Linux based hosting plans have SSL support compiled into the install of PHP.

    Any outgoing connections will take place via a proxy server, which will be completely transparent for anyone making only http (port 80) connections. Applications that need to make https connections (port 443) will need to be made “proxy aware”. This will require additional coding to varying degrees, depending on the application. The address of the proxy server is proxy.shr.secureserver.net and connections will be made on port 3128. “

    So how can I modified the plugin to edit the proxy?
    Or anyone could help me with that for I got no sense of plugin editing.Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter billrain

    (@billrain)

    hi?

    I am on the same boat and been trying to make head or tails of this.

    Need to edit the blogger.php file inside wordpress to allow it to go through this proxy server.

    There is a sampel on godaddy for paypal method, but can’t seem to figure out how to work it…maybe someone with more PHP skill could help

    http://help.godaddy.com/article/289

    Below is a PHP script that uses CURL to connect securely to a remote system (http://www.paypal.com), obtain data from that system and then creates a Web page based on that data.

    Note: On our shared hosting, any CURL applications that make secure HTTP connections (HTTPS over port 443) need to pass through a proxy server. The address for this proxy server is proxy.shr.secureserver.net and connections must specify the use of port 3128. The code below already includes this information

    <?
    
    $URL="https://www.paypal.com";
    if (isset($_GET["site"])) { $URL = $_GET["site"]; }
    $ch = curl_init();
    echo "URL = $URL <br />n";
    curl_setopt($ch, CURLOPT_VERBOSE, 1);
    curl_setopt ($ch, CURLOPT_HTTPPROXYTUNNEL, TRUE);
    curl_setopt ($ch, CURLOPT_PROXYTYPE, CURLPROXY_HTTP);
    curl_setopt ($ch, CURLOPT_PROXY,"http://proxy.shr.secureserver.net:3128");
    curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
    curl_setopt ($ch, CURLOPT_URL, $URL);
    curl_setopt ($ch, CURLOPT_TIMEOUT, 120);
    $result = curl_exec ($ch);
    echo "<hr><br />n";
    echo 'Errors: ' . curl_errno($ch) . ' ' . curl_error($ch) . '<br /><br />';
    echo "<hr><br />n";
    curl_close ($ch);
    print "result - $result";
    echo "<hr><br />n";
    
    ?>
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Import blogger to wordpress at Godaddy’ is closed to new replies.