Results 1 to 9 of 9
  1. #1
    Join Date
    Jan 2008
    Location
    Ft. Campbell KY
    Posts
    10
    Plugin Contributions
    0

    Have a Drink cURL, Where does one begin?

    Every other shop I see online is using Zencart, even Paypal recomends it, and who am I to argue with such lofty reccomedations? ^_^

    I am 100% new to e-commerce period, so speak to me in the simplest terms possible please...

    I am trying to install the latest release of Zencart on my hosting. I am on a Linux server, and have all my ZC files in the right places, or so I thought. My installation has proceeded to step 3 (Prerequisites) at which point it presents the following errors:

    cURL requires SSL Support. Please notify webmaster or hosting company. 7

    and

    cURL problems detected : 56 => Received error code 403 from proxy

    I have notified my hosting company, and they assure me that they do support cURL, but they do not offer any support or advice on it, beyond recomending the following script:

    <?

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

    ?>
    My question is, what on earth do I do with this? Can I save it as a .php file and place it in a specified folder, and thus make the few remaining connections needed to proceed to the next step? Or is there a file already in place that I need to edit to include this information? If so, which one?

    I promise I am not completely stupid, just in a bit over my head at present.

    Kudos for reading!

    ~F. Johns

  2. #2
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: cURL, Where does one begin?

    They have compile cURL, but have not completely compiled it,
    there are to with statements that they need to use.....

    curl has to be compiled with and without SSL Support

  3. #3
    Join Date
    Jan 2008
    Location
    Ft. Campbell KY
    Posts
    10
    Plugin Contributions
    0

    Have a Drink Re: cURL, Where does one begin?

    Thank you!

    However, I'm not quite sure what you're getting at...

    Is there anyone or anyplace that can render a more detailed explaination of the steps I need to take to make abovementioned script complete and to place it properly to ensure my ability to proceed to the next step of installation?

    My Rep I spoke with at the hosting company said this was a very basic script, so it would make sense that it's not entirely 100% ready to roll...but the fact remains that I have it, and don't know how to fix it, or what to do with it if I did...
    The Only Thing That Stays The Same Is Everything Changes

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

    Default Re: cURL, Where does one begin?

    They told you to use this:
    Quote Originally Posted by Alastrina View Post
    "http://proxy.shr.secureserver.net:3128"
    That means you're hosted with GoDaddy, right?

    In that case, if you're married to GoDaddy's hosting services, carry on with installation, and when you're doing, turn on the CURL Proxy settings as described in this post:
    http://www.zen-cart.com/forum/showthread.php?t=61528

    If you're not married to GoDaddy and would rather not have some of the headaches associated with their hosting services, you might try out one of the recommended hosting providers listed on the "hosting" page (see link at top of this page). (For more info on the "headaches" I mention, feel free to search around the forum for the term "GoDaddy". Be prepared with a coffee in hand.)
    .

    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.

  5. #5
    Join Date
    Jan 2008
    Location
    Ft. Campbell KY
    Posts
    10
    Plugin Contributions
    0

    Default Re: cURL, Where does one begin?

    Actually, I don't use GoDaddy at all, I am very happily (till this point anyway) using SaskTech servers...

    Though if the process of going in and setting everything up will be relatively the same due to the way the providers are set up, I will go have a look at the topic you've linked to and see if I can solve my issue!

    And just to clarify, I can proceed with the installation from the pahse I'm in (Prerequisites) and go back and take care of my little buddy cURL upon completion, or should I read the topic and take care of cURL before going on to the next step?
    The Only Thing That Stays The Same Is Everything Changes

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

    Default Re: cURL, Where does one begin?

    Quote Originally Posted by Alastrina View Post
    Actually, I don't use GoDaddy at all, I am very happily (till this point anyway) using SaskTech servers...
    Yes, and they are a GoDaddy reseller.
    You're using GoDaddy but don't know it. SaskTech doesn't have their own servers. They simply resell the service for profit.
    Quote Originally Posted by Alastrina View Post
    And just to clarify, I can proceed with the installation from the pahse I'm in (Prerequisites) and go back and take care of my little buddy cURL upon completion, or should I read the topic and take care of cURL before going on to the next step?
    You can finish the install. Then go back and set the CURL settings as per the article I mentioned.
    .

    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.

  7. #7
    Join Date
    Jan 2008
    Location
    Ft. Campbell KY
    Posts
    10
    Plugin Contributions
    0

    Default Re: cURL, Where does one begin?

    Quote Originally Posted by DrByte View Post
    Yes, and they are a GoDaddy reseller.
    You're using GoDaddy but don't know it. SaskTech doesn't have their own servers. They simply resell the service for profit.

    Well isn't that lovely?
    Thank you for the insight, I wish I hadn't just made my renewal last month...>_<

    I will follow the instructions in the topic you linked to earlier, and post my results either way!
    The Only Thing That Stays The Same Is Everything Changes

  8. #8
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: cURL, Where does one begin?

    Since this is a godaddy server, even though you set the cURL by proxy you will still be limited on at least not being able to use linkpoint and canadapost

  9. #9
    Join Date
    Jan 2008
    Location
    Ft. Campbell KY
    Posts
    10
    Plugin Contributions
    0

    Default Re: cURL, Where does one begin?

    Alright, I have completed the install and have taken care of the setting changes as outlined in your "Setting up cURL on GoDaddy" topic...

    Hopefully this has taken care of this particular issue...I really don't have the money to purchase a different account anywhere else, at least not right now!

    Thank you both for your help!
    The Only Thing That Stays The Same Is Everything Changes

 

 

Similar Threads

  1. not sure where to begin...
    By fontaholic in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 12 Nov 2010, 05:15 AM
  2. atribututes where to begin?
    By stitchnkitty in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 10 Jan 2010, 12:05 AM
  3. I'm new here, and not sure where to begin!
    By JasGot in forum General Questions
    Replies: 12
    Last Post: 23 Apr 2008, 11:56 PM
  4. Where to begin when starting a custom module
    By bobio in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 28 Dec 2007, 06:46 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