Thread: cURL problem

Results 1 to 2 of 2
  1. #1
    ace8881 Guest

    red flag cURL problem

    Hi, I am new to zencart. I was trying to install zencart with godaddy host, It gave me an error. cURL requires SSL and recieve error code 403. Godaddy support gave me this script but I don't know what to do with it. Can anyone help? Thanks in advance!!

    <?
    $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";

    ?>

  2. #2
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: cURL problem

    Is there a particular reason why you've selected GoDaddy for hosting?
    You're going to run into various challenges, as discussed in numerous places in other forum discussions.

    Nevertheless, if you choose to stay with them, you'll need to at least follow this step, and forget the code GoDaddy gave you:
    http://www.zen-cart.com/forum/showthread.php?t=61528
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. v139a curl SSL problem
    By michael169 in forum General Questions
    Replies: 13
    Last Post: 15 May 2015, 03:32 PM
  2. v151 using easyphp getting CURL and CURL SSL support error
    By lepitite in forum Installing on a Windows Server
    Replies: 2
    Last Post: 6 Jan 2014, 02:48 PM
  3. Curl error during 1.3.9 install. we have curl installed tho
    By bangsters in forum General Questions
    Replies: 1
    Last Post: 16 May 2010, 08:55 AM
  4. CURL Problem
    By softball18 in forum Basic Configuration
    Replies: 1
    Last Post: 17 Jul 2008, 09:25 AM
  5. Problem with cURL
    By Macbos in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 9 Nov 2006, 05:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg